Compare commits
10 Commits
fe6ba66261
...
003c69642f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
003c69642f | ||
|
|
7d5c0082f8 | ||
|
|
b1e0c10cb0 | ||
|
|
88b3c2cead | ||
|
|
cb67ddaeea | ||
|
|
3001abe1d1 | ||
|
|
41bb91315e | ||
|
|
c911af8938 | ||
|
|
137b0c5312 | ||
|
|
2b32811206 |
Binary file not shown.
BIN
libx86emu-3.5.tar.gz
Normal file
BIN
libx86emu-3.5.tar.gz
Normal file
Binary file not shown.
@ -7,23 +7,22 @@
|
||||
LDFLAGS="-fPIC %{__global_ldflags}"
|
||||
|
||||
Name: libx86emu
|
||||
Version: 3.1
|
||||
Release: 1
|
||||
Version: 3.5
|
||||
Release: 2
|
||||
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
|
||||
BuildRequires: gcc nasm perl
|
||||
|
||||
%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.
|
||||
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.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains development files for %{name}.
|
||||
@ -34,11 +33,16 @@ The %{name}-devel package contains development files for %{name}.
|
||||
%build
|
||||
%make_build %{make_flags} shared
|
||||
|
||||
%ldconfig_scriptlets
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%install
|
||||
%make_install %{make_flags}
|
||||
cp %{_libdir}/libx86emu.so.1* %{buildroot}%{_libdir}/
|
||||
|
||||
%check
|
||||
%ifarch x86_64
|
||||
make -C test
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -52,6 +56,17 @@ cp %{_libdir}/libx86emu.so.1* %{buildroot}%{_libdir}/
|
||||
%{_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
|
||||
|
||||
4
libx86emu.yaml
Normal file
4
libx86emu.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: wfeldt/libx86emu
|
||||
tag_prefix:
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user