Compare commits

..

No commits in common. "003c69642ff7fcd870ed8f78094e40ccb13cfb8f" and "fe6ba662613ca8b9f5ffb29d485350ccb3a16bae" have entirely different histories.

4 changed files with 10 additions and 29 deletions

BIN
libx86emu-3.1.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -7,22 +7,23 @@
LDFLAGS="-fPIC %{__global_ldflags}" LDFLAGS="-fPIC %{__global_ldflags}"
Name: libx86emu Name: libx86emu
Version: 3.5 Version: 3.1
Release: 2 Release: 1
Summary: x86 emulation library Summary: x86 emulation library
License: BSD License: BSD
URL: https://github.com/wfeldt/libx86emu URL: https://github.com/wfeldt/libx86emu
Source0: https://github.com/wfeldt/libx86emu/archive/%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/wfeldt/libx86emu/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc nasm perl BuildRequires: gcc
BuildRequires: libx86emu
%description %description
Small x86 emulation library with focus of easy usage and extended execution libx86emu is a small library to emulate x86 instructions.
logging functions. The library features an API to create emulation objects The focus here is not a complete emulation (go for qemu for this)
for x86 architecture. but to cover enough for typical firmware blobs.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description devel %description devel
The %{name}-devel package contains development files for %{name}. The %{name}-devel package contains development files for %{name}.
@ -33,16 +34,11 @@ The %{name}-devel package contains development files for %{name}.
%build %build
%make_build %{make_flags} shared %make_build %{make_flags} shared
%post -p /sbin/ldconfig %ldconfig_scriptlets
%postun -p /sbin/ldconfig
%install %install
%make_install %{make_flags} %make_install %{make_flags}
cp %{_libdir}/libx86emu.so.1* %{buildroot}%{_libdir}/
%check
%ifarch x86_64
make -C test
%endif
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -56,17 +52,6 @@ make -C test
%{_libdir}/libx86emu.so %{_libdir}/libx86emu.so
%changelog %changelog
* Fri Nov 17 2023 zhangpan <zhangpan103@h-partners.com> - 3.5-2
- enable make check
* Fri Mar 25 2022 liukuo <liukuo@kylinos.cn> - 3.5-1
- Update version to v3.5
* Fri Nov 5 2021 xingxing <xingxing9@huawei.com> - 3.1-2
- ID:NA
- SUG:NA
- DESC:delete low version
* Tue Jul 28 2020 zhangqiumiao <zhangqiumiao1@huawei.com> - 3.1-1 * Tue Jul 28 2020 zhangqiumiao <zhangqiumiao1@huawei.com> - 3.1-1
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA

View File

@ -1,4 +0,0 @@
version_control: github
src_repo: wfeldt/libx86emu
tag_prefix:
seperator: "."