Name: keystone Version: 0.9.2 Release: 1%{?dist} Summary: A lightweight multi-platform, multi-architecture assembler framework License: GPL-2.0+ URL: http://www.keystone-engine.org/ Source0: keystone-0.9.2.tar.gz BuildRequires: gcc gcc-g++ cmake %description A lightweight multi-architecture assembler framework. Multi-architecture, with support for Arm, Arm64 (AArch64/Armv8), Hexagon, Mips, PowerPC, Sparc, SystemZ, & X86 (include 16/32/64bit). %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup %build mkdir build cd build %cmake -G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON .. %cmake_build %install cd build %cmake_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc README.md ChangeLog %{_libdir}/*.so.* %{_bindir}/kstool %files devel %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/* %changelog * Mon Jun 14 2021 Vad Rulezz - 0.9.2-1 - Initial package