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}"
Name: libx86emu
Version: 3.5
Release: 2
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 nasm perl
BuildRequires: gcc
BuildRequires: libx86emu
%description
Small x86 emulation library with focus of easy usage and extended execution
logging functions. The library features an API to create emulation objects
for x86 architecture.
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}%{?_isa} = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains development files for %{name}.
@ -33,16 +34,11 @@ The %{name}-devel package contains development files for %{name}.
%build
%make_build %{make_flags} shared
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%install
%make_install %{make_flags}
%check
%ifarch x86_64
make -C test
%endif
cp %{_libdir}/libx86emu.so.1* %{buildroot}%{_libdir}/
%files
%defattr(-,root,root)
@ -56,17 +52,6 @@ make -C test
%{_libdir}/libx86emu.so
%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
- Type:enhancement
- ID:NA

View File

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