Name: jitterentropy-library Version: 3.3.1 Release: 1 Summary: Library implementing the jitter entropy source License: BSD or GPLv2 URL: https://github.com/smuellerDD/jitterentropy-library Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: make # Disable Upstream Makefiles debuginfo strip on install Patch0: jitterentropy-rh-makefile.patch %description Library implementing the CPU jitter entropy source %package devel Summary: Development headers for jitterentropy library Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development headers and libraries for jitterentropy %prep %autosetup -p0 -n %{name}-%{version} %build %set_build_flags %make_build %install mkdir -p %{buildroot}/usr/include/ %make_install PREFIX=/usr LIBDIR=%{_lib} %files %doc README.md CHANGES.md %license LICENSE LICENSE.bsd LICENSE.gplv2 %{_libdir}/libjitterentropy.so.3* %files devel %{_includedir}/* %{_libdir}/libjitterentropy.so %{_mandir}/man3/* %changelog * Mon Dec 27 2021 yangzhuangzhuang - 3.3.1-1 - package init