1 Star 0 Fork 13

chengguipeng_xian/libx86emu

forked from src-openEuler/libx86emu 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libx86emu.spec 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
zhangqiumiao 提交于 2020-07-28 20:25 . upgrade to version 3.1
%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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chengguipeng_xian/libx86emu.git
git@gitee.com:chengguipeng_xian/libx86emu.git
chengguipeng_xian
libx86emu
libx86emu
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385