jitterentropy-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Name: jitterentropy
  2. Version: 2.2.0
  3. Release: 3%{?_dist_release}
  4. Summary: Library implementing the jitter entropy source
  5. Vendor: Project Vine
  6. Distribution: Vine Linux
  7. License: BSD or GPLv2
  8. URL: https://github.com/smuellerDD/jitterentropy-library
  9. Source0: %url/archive/%{name}-library-%{version}.tar.gz
  10. BuildRequires: gcc
  11. # Disable Upstream Makefiles debuginfo strip on install
  12. Patch0: jitterentropy-rh-makefile.patch
  13. %description
  14. Library implementing the CPU jitter entropy source
  15. %package devel
  16. Summary: Development headers for jitterentropy library
  17. Requires: %{name}%{?_isa} = %{version}-%{release}
  18. %description devel
  19. Development headers and libraries for jitterentropy
  20. %prep
  21. %autosetup -n %{name}-library-%{version}
  22. %build
  23. export CFLAGS="%{optflags}"
  24. %make_build
  25. %install
  26. mkdir -p %{buildroot}/usr/include/
  27. %make_install PREFIX=/usr LIBDIR=%{_lib}
  28. %post -p /sbin/ldconfig
  29. %postun -p /sbin/ldconfig
  30. %files
  31. %doc README.md
  32. %license COPYING COPYING.bsd COPYING.gplv2
  33. %{_libdir}/libjitterentropy.so.2*
  34. %files devel
  35. %{_includedir}/*
  36. %{_libdir}/libjitterentropy.so
  37. %{_mandir}/man3/*
  38. %changelog
  39. * Thu Apr 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.2.0-3
  40. - initial build for Vine Linux.
  41. * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
  42. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  43. * Thu Sep 26 2019 Neil Horman <nhorman@redhat.com> - 2.2.0-1
  44. - Update to latest upstream
  45. * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-5
  46. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  47. * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-4
  48. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  49. * Fri Sep 21 2018 Neil Horman <nhorman@tuxdriver.com> - 2.1.2-3
  50. - Drop static library
  51. - Fix up naming
  52. - Add gcc buildrequires
  53. - Fix files glob
  54. * Thu Sep 13 2018 Neil Horman <nhorman@tuxdriver.com> - 2.1.2-2
  55. - Fixed license
  56. - Fixed up some macro usage in spec file
  57. - Documented patches
  58. - Modified makefile to use $(INSTALL) macro
  59. * Thu Sep 06 2018 Neil Horman <nhorman@tuxdriver.com> - 2.1.2-1
  60. - Initial import