diff --git a/README.md b/README.md index ef41874..d087afa 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # rng-tools +rng-tools provides a random number generator daemon. +It monitors a set of entropy sources, and supplies entropy from them to the system kernel's /dev/random machinery. + diff --git a/rng-tools.spec b/rng-tools.spec new file mode 100644 index 0000000..114a8f2 --- /dev/null +++ b/rng-tools.spec @@ -0,0 +1,58 @@ +Name: rng-tools +Version: 6.10 +Release: 1mamba +Summary: A random number generator daemon +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/nhorman/rng-tools.git +## GITSOURCE https://github.com/nhorman/rng-tools.git v6.10 +Source: https://github.com/nhorman/rng-tools.git/v%{version}/rng-tools-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libcurl-devel +BuildRequires: libjansson-devel +BuildRequires: libopenssl-devel +BuildRequires: libp11-devel +BuildRequires: librtlsdr-devel +BuildRequires: libsysfs-devel +BuildRequires: libusb-devel +BuildRequires: libxml2-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +rng-tools provides a random number generator daemon. +It monitors a set of entropy sources, and supplies entropy from them to the system kernel's /dev/random machinery. + +%debug_package + +%prep +%setup -q +./autogen.sh + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/rngtest +%{_sbindir}/rngd +%{_mandir}/man1/rngtest.1* +%{_mandir}/man8/rngd.8* +%doc AUTHORS COPYING + +%changelog +* Sun Mar 29 2020 Silvan Calarco 6.10-1mamba +- package created using the webbuild interface