]> git.pld-linux.org Git - packages/jitterentropy.git/blame - jitterentropy.spec
- don't package COPYING.gplv2 (generic GPL2 text, available in common-licenses)
[packages/jitterentropy.git] / jitterentropy.spec
CommitLineData
f87ec48d 1Summary: Library implementing the jitter entropy source
09e70882 2Summary(pl.UTF-8): Biblioteka implementująca źródło entropii jitter
f87ec48d
JP
3Name: jitterentropy
4Version: 3.0.2
5Release: 1
6License: BSD or GPL v2+
7Group: Libraries
8Source0: http://www.chronox.de/jent/%{name}-library-%{version}.tar.xz
9# Source0-md5: f09160fa89953444bdb73a071abf8484
10URL: http://www.chronox.de/jent.html
11BuildRequires: tar >= 1:1.22
12BuildRequires: xz
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16The Jitter RNG provides a noise source using the CPU execution timing
17jitter. It does not depend on any system resource other than a
18high-resolution time stamp. It is a small-scale, yet fast entropy
19source that is viable in almost all environments and on a lot of CPU
20architectures.
21
09e70882
JB
22%description -l pl.UTF-8
23Jitter RNG zapewnia źródło szumu wykorzystujące fluktuacje czasu
24wykonywania kodu przez CPU. Nie zależy od żadnego zasobu systemowego
25innego niż znacznik czasu wysokiej rozdzielczości. Jest to źródło
26entropii małej skali, ale szybkie, opłacalne w prawie każdym
27środowisku, przy wielu architekturach CPU.
28
f87ec48d
JP
29%package devel
30Summary: Header files for jitterentropy library
09e70882 31Summary(pl.UTF-8): Pliki nagłówkowe biblioteki jitterentropy
f87ec48d
JP
32Group: Development/Libraries
33Requires: %{name} = %{version}-%{release}
34
35%description devel
36Header files for jitterentropy library.
37
09e70882
JB
38%description devel -l pl.UTF-8
39Pliki nagłówkowe biblioteki jitterentropy.
40
f87ec48d
JP
41%package static
42Summary: Static jitterentropy library
09e70882 43Summary(pl.UTF-8): Statyczna biblioteka jitterentropy
f87ec48d
JP
44Group: Development/Libraries
45Requires: %{name}-devel = %{version}-%{release}
46
47%description static
48Static jitterentropy library.
49
09e70882
JB
50%description static -l pl.UTF-8
51Statyczna biblioteka jitterentropy.
52
f87ec48d
JP
53%prep
54%setup -q -n %{name}-library-%{version}
55
56%build
57export LDFLAGS="%{rpmldflags} -lpthread"
58%{__make} \
59 CC="%{__cc}" \
50fe370c 60 CFLAGS="%{rpmcppflags} %{rpmcflags} -fPIC -O0"
f87ec48d
JP
61
62%install
63rm -rf $RPM_BUILD_ROOT
64
65%{__make} install install-static \
66 DESTDIR=$RPM_BUILD_ROOT \
67 PREFIX="%{_prefix}" \
fa5b98f9
JP
68 LIBDIR="%{_lib}" \
69 INSTALL_STRIP=install
f87ec48d
JP
70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%post -p /sbin/ldconfig
75%postun -p /sbin/ldconfig
76
77%files
78%defattr(644,root,root,755)
5d2a5844 79%doc CHANGES.md COPYING COPYING.bsd README.md
f87ec48d
JP
80%attr(755,root,root) %{_libdir}/libjitterentropy.so.*.*.*
81%attr(755,root,root) %ghost %{_libdir}/libjitterentropy.so.3
82
83%files devel
84%defattr(644,root,root,755)
85%attr(755,root,root) %{_libdir}/libjitterentropy.so
86%{_includedir}/jitterentropy.h
87%{_includedir}/jitterentropy-base-user.h
88%{_mandir}/man3/jitterentropy.3*
89
90%files static
91%defattr(644,root,root,755)
92%{_libdir}/libjitterentropy.a
This page took 0.078453 seconds and 4 git commands to generate.