summaryrefslogtreecommitdiffstats
path: root/contrib/build/nolib.spec
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-11-10 15:31:03 +0100
committerDaniel Baumann <daniel@debian.org>2024-11-10 15:31:03 +0100
commit2b16d0d8a6bead5bcc2125b890bf1a13d19602dc (patch)
treeb67952daab2d78e87c103ed10ece33ad6a9a2167 /contrib/build/nolib.spec
parentInitial commit. (diff)
downloadhaveged-2b16d0d8a6bead5bcc2125b890bf1a13d19602dc.tar.xz
haveged-2b16d0d8a6bead5bcc2125b890bf1a13d19602dc.zip
Adding upstream version 1.9.14.upstream/1.9.14
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'contrib/build/nolib.spec')
-rw-r--r--contrib/build/nolib.spec40
1 files changed, 40 insertions, 0 deletions
diff --git a/contrib/build/nolib.spec b/contrib/build/nolib.spec
new file mode 100644
index 0000000..1e08735
--- /dev/null
+++ b/contrib/build/nolib.spec
@@ -0,0 +1,40 @@
+#
+# Sample spec file for haveged
+# Copyright (c) 2013-2014
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+Name: haveged
+Version: 1.9
+Release: 1
+License: GPLv3
+Group: System Environment/Daemons
+Summary: Feed entropy into random pool
+URL: http://www.issihosts.com/haveged/
+Source0: http://www.issihosts.com/haveged/haveged-%{version}.tar.gz
+BuildRoot: %{_builddir}/%{name}-root
+
+%description
+The haveged daemon feeds the linux entropy pool with random
+numbers generated from hidden processor state.
+
+%prep
+%setup -q
+
+%build
+./configure
+make
+make check
+
+%install
+[ ${RPM_BUILD_ROOT} != "/" ] && rm -rf $RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
+
+%clean
+[ ${RPM_BUILD_ROOT} != "/" ] && rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+/usr/local/sbin/haveged
+/usr/local/share/man/man8/haveged.8
+/etc/init.d/haveged