代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/libx86emu 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global make_flags \\\
LIBDIR=%{_libdir} \\\
GIT2LOG=: \\\
VERSION=%%{version} \\\
MAJOR_VERSION=%%(echo %{version} |cut -d. -f1) \\\
CFLAGS="-fPIC %{optflags}" \\\
LDFLAGS="-fPIC %{__global_ldflags}"
Name: libx86emu
Version: 3.1
Release: 1
Summary: x86 emulation library
License: BSD
URL: https://github.com/wfeldt/libx86emu
Source0: https://github.com/wfeldt/libx86emu/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: libx86emu
%description
libx86emu is a small library to emulate x86 instructions.
The focus here is not a complete emulation (go for qemu for this)
but to cover enough for typical firmware blobs.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains development files for %{name}.
%prep
%autosetup -n %{name}-%{version}
%build
%make_build %{make_flags} shared
%ldconfig_scriptlets
%install
%make_install %{make_flags}
cp %{_libdir}/libx86emu.so.1* %{buildroot}%{_libdir}/
%files
%defattr(-,root,root)
%doc README.md
%license LICENSE
%{_libdir}/libx86emu.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/x86emu.h
%{_libdir}/libx86emu.so
%changelog
* Tue Jul 28 2020 zhangqiumiao <zhangqiumiao1@huawei.com> - 3.1-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade to version 3.1
* Mon Sep 2 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.11-4
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。