Name: libx86emu Version: 1.11 Release: 0%{?dist}.1 Summary: A small x86 emulation library License: BSD URL: https://github.com/wfeldt/libx86emu Source0: %{name}-%{version}.tar.xz #BuildRequires: #Requires: %description Small x86 emulation library with focus of easy usage and extended execution logging functions. %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 %make_build LIBDIR=%{_libdir} %install mkdir -p %{buildroot}%{_libdir} %make_install LIBDIR=%{_libdir} find %{buildroot} -name '*.la' -exec rm -f {} ';' %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license LICENSE %doc README.md %{_libdir}/*.so.* %files devel %{_includedir}/* %{_libdir}/*.so %changelog * Tue May 23 2017 Neal Gompa - 1.11-0.1 - Initial packaging