1 Summary: Library implementing the jitter entropy source
5 License: BSD or GPL v2+
7 Source0: http://www.chronox.de/jent/%{name}-library-%{version}.tar.xz
8 # Source0-md5: f09160fa89953444bdb73a071abf8484
9 URL: http://www.chronox.de/jent.html
10 BuildRequires: tar >= 1:1.22
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 The Jitter RNG provides a noise source using the CPU execution timing
16 jitter. It does not depend on any system resource other than a
17 high-resolution time stamp. It is a small-scale, yet fast entropy
18 source that is viable in almost all environments and on a lot of CPU
22 Summary: Header files for jitterentropy library
23 Group: Development/Libraries
24 Requires: %{name} = %{version}-%{release}
27 Header files for jitterentropy library.
30 Summary: Static jitterentropy library
31 Group: Development/Libraries
32 Requires: %{name}-devel = %{version}-%{release}
35 Static jitterentropy library.
38 %setup -q -n %{name}-library-%{version}
41 export LDFLAGS="%{rpmldflags} -lpthread"
44 CFLAGS="%{rpmcppflags} %{rpmcflags} -fPIC -O0"
47 rm -rf $RPM_BUILD_ROOT
49 %{__make} install install-static \
50 DESTDIR=$RPM_BUILD_ROOT \
56 rm -rf $RPM_BUILD_ROOT
58 %post -p /sbin/ldconfig
59 %postun -p /sbin/ldconfig
62 %defattr(644,root,root,755)
63 %doc CHANGES.md COPYING COPYING.bsd COPYING.gplv2 README.md
64 %attr(755,root,root) %{_libdir}/libjitterentropy.so.*.*.*
65 %attr(755,root,root) %ghost %{_libdir}/libjitterentropy.so.3
68 %defattr(644,root,root,755)
69 %attr(755,root,root) %{_libdir}/libjitterentropy.so
70 %{_includedir}/jitterentropy.h
71 %{_includedir}/jitterentropy-base-user.h
72 %{_mandir}/man3/jitterentropy.3*
75 %defattr(644,root,root,755)
76 %{_libdir}/libjitterentropy.a