Compare commits
No commits in common. "rawhide" and "f43" have entirely different histories.
3 changed files with 27 additions and 28 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1 +1,3 @@
|
|||
/zydis-*.tar*
|
||||
/zydis-4.0.0.tar.gz
|
||||
/zydis-4.1.0.tar.gz
|
||||
/zydis-4.1.1.tar.gz
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (zydis-5091440c2a1f963e00c6e6aceec7c4346e656fa4.tar.gz) = 8ee8a5c53828d3652be4a2b7ce7a25e557248828b053a371844faab5cf74ae7a34f5f432c768d593defcfc051333d5d24e742c3083051f711873d2ba39af4e21
|
||||
SHA512 (zydis-4.1.1.tar.gz) = 177e84fedb3449e29ffb6c0b02a92066ba1aa8fb624facad5593902b8e08cb8ae0b20ff38c16987989c8e414d7484d09dab7917c00a8fe54aa9bab4bc90e275d
|
||||
|
|
|
|||
49
zydis.spec
49
zydis.spec
|
|
@ -1,27 +1,23 @@
|
|||
Version: 4.1.1
|
||||
%global sover %{echo %{version} | cut -d '.' -f 1,2}
|
||||
|
||||
Name: zydis
|
||||
Version: 5.0.0
|
||||
|
||||
%global forgeurl https://github.com/zyantific/zydis
|
||||
%global commit 5091440c2a1f963e00c6e6aceec7c4346e656fa4
|
||||
%forgemeta
|
||||
|
||||
Release: %autorelease
|
||||
Summary: Fast and lightweight x86/x86-64 disassembler and code generation library
|
||||
|
||||
License: MIT
|
||||
URL: %forgeurl
|
||||
Source0: %forgesource
|
||||
URL: https://github.com/zyantific/zydis
|
||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
ExcludeArch: s390x
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: meson >= 1.3
|
||||
BuildRequires: pkgconfig(zycore)
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: zycore-c-devel
|
||||
BuildRequires: doxygen
|
||||
# build man pages
|
||||
BuildRequires: rubygem-ronn-ng
|
||||
# tests
|
||||
BuildRequires: python3
|
||||
|
||||
%description
|
||||
Zydis is fast and lightweight x86/x86-64 disassembler and code generation
|
||||
|
|
@ -60,33 +56,34 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||
The %{name}-tools package contains tools about %{name}.
|
||||
|
||||
%prep
|
||||
%forgesetup
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%meson \
|
||||
-Dtools=enabled \
|
||||
-Dman=enabled \
|
||||
-Ddoc=enabled \
|
||||
-Dtests=enabled \
|
||||
%cmake \
|
||||
-GNinja \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DZYAN_SYSTEM_ZYCORE=ON \
|
||||
-DZYDIS_BUILD_SHARED_LIB=ON \
|
||||
-DZYDIS_BUILD_MAN=ON \
|
||||
-DZYDIS_BUILD_TESTS=ON \
|
||||
|
||||
%meson_build
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
%cmake_install
|
||||
|
||||
%check
|
||||
%ifnarch %{ix86}
|
||||
%meson_test
|
||||
%endif
|
||||
%ctest
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_libdir}/libZydis.so.5*
|
||||
%{_libdir}/libZydis.so.%{sover}*
|
||||
|
||||
%files devel
|
||||
%doc README.md
|
||||
%{_includedir}/Zydis/
|
||||
%{_libdir}/pkgconfig/zydis.pc
|
||||
%dir %{_libdir}/cmake/zydis
|
||||
%{_libdir}/cmake/zydis/*.cmake
|
||||
%{_libdir}/libZydis.so
|
||||
|
||||
%files doc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue