]>
Commit | Line | Data |
---|---|---|
25b57261 | 1 | # TODO: init script |
0e0772a9 | 2 | Summary: Audio-entropyd - generating entropy-data for the /dev/random device |
aa4aae64 | 3 | Summary(pl.UTF-8): Audio-entropyd - generowanie danych entropii dla urządzenia /dev/random |
db0dfc1f | 4 | Name: audio-entropyd |
25b57261 | 5 | Version: 2.0.3 |
db0dfc1f | 6 | Release: 1 |
7 | License: GPL v2 | |
8 | Group: Applications/System | |
9 | Source0: http://www.vanheusden.com/aed/%{name}-%{version}.tgz | |
25b57261 | 10 | # Source0-md5: 44d355a0e61b6f291922fe99462d47e8 |
db0dfc1f | 11 | URL: http://www.vanheusden.com/aed/ |
25b57261 | 12 | BuildRequires: alsa-lib-devel |
db0dfc1f | 13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %description | |
16 | This is a small program to reseed the Linux kernel random number | |
17 | generator with data from soundcard. | |
18 | ||
61476cb6 JR |
19 | %description -l pl.UTF-8 |
20 | Jest to mały program karmiący generator liczb losowych w jądrze | |
21 | Linuksa danymi z karty dźwiękowej. | |
0e0772a9 | 22 | |
db0dfc1f | 23 | %prep |
24 | %setup -q | |
db0dfc1f | 25 | |
26 | %build | |
27 | %{__make} \ | |
25b57261 JB |
28 | CC="%{__cc}" \ |
29 | OPT_FLAGS="%{rpmcflags} -ffast-math" \ | |
30 | LFLAGS="%{rpmldflags} -lm -lasound" | |
db0dfc1f | 31 | |
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT%{_sbindir} | |
35 | ||
36 | install audio-entropyd $RPM_BUILD_ROOT%{_sbindir} | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
25b57261 JB |
43 | %doc README TODO |
44 | %attr(755,root,root) %{_sbindir}/audio-entropyd |