]>
Commit | Line | Data |
---|---|---|
0e0772a9 | 1 | Summary: Audio-entropyd - generating entropy-data for the /dev/random device |
61476cb6 | 2 | Summary(pl.UTF-8): Audio-entropyd - generowanie danych entropii dla urządzenia /dev/random |
db0dfc1f | 3 | Name: audio-entropyd |
4 | Version: 0.0.6 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: Applications/System | |
8 | Source0: http://www.vanheusden.com/aed/%{name}-%{version}.tgz | |
9 | # Source0-md5: ef014b233c08a0f6eb12d2a75c3041b9 | |
10 | Patch0: %{name}-ncurses.patch | |
11 | URL: http://www.vanheusden.com/aed/ | |
12 | #BuildRequires: ncurses-devel | |
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 | ||
19 | **** This is an alpha release intended for peer review. | |
20 | **** DO NOT use this on a production server. | |
21 | ||
61476cb6 JR |
22 | %description -l pl.UTF-8 |
23 | Jest to mały program karmiący generator liczb losowych w jądrze | |
24 | Linuksa danymi z karty dźwiękowej. | |
0e0772a9 | 25 | |
61476cb6 | 26 | UWAGA: jest to wersja alpha, nie należy używać jej na produkcyjnym |
0e0772a9 | 27 | serwerze. |
db0dfc1f | 28 | |
29 | %prep | |
30 | %setup -q | |
31 | %patch0 -p0 | |
32 | ||
33 | %build | |
34 | %{__make} \ | |
35 | CFLAGS="%{rpmcflags} -DVERSION=\"\$(VERSION)\"" | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | install -d $RPM_BUILD_ROOT%{_sbindir} | |
40 | ||
41 | install audio-entropyd $RPM_BUILD_ROOT%{_sbindir} | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc README* TODO | |
49 | %attr(755,root,root) %{_sbindir}/* |