LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File rng-tools.spec of Package rng-tools (Project DISCONTINUED:openSUSE:11.1)

# spec file for package rng-tools (Version 2)
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Please submit bugfixes or comments via http://bugs.opensuse.org/

Name:           rng-tools
License:        GPL v2 or later
Group:          System/Kernel
AutoReqProv:    on
Summary:        Support daemon for hardware random device
Version:        2
Release:        78
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Url:            http://sourceforge.net/projects/gkernel/
Source:         %name-%version.tar.bz2
Source1:        %name.init
PreReq:         %fillup_prereq

This  daemon  feeds data from a random number generator to the kernel's
 random  number  entropy  pool,  after	first checking the data to
ensure that it is properly random.

    Philipp Rumpf <prumpf@mandrakesoft.com>
    Jeff Garzik <jgarzik@mandrakesoft.com>
    Matt Sottek

%setup -q

autoreconf --force --install
./configure --prefix=/usr --exec-prefix=/ --mandir=%{_mandir}

mkdir -p $RPM_BUILD_ROOT/etc/init.d
install -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/etc/init.d/%name

%{fillup_and_insserv -n rng-tools rng-tools}

echo "Stopping rng-tools ..."
%stop_on_removal rng-tools
true   # ignore errors

%restart_on_update rng-tools

test -z "$RPM_BUILD_ROOT" || rm -rf $RPM_BUILD_ROOT

* Fri Nov 09 2007 - bwalle@suse.de
- added PreReq for %%fillup_prereq
* Sun Apr 01 2007 - bwalle@suse.de
- added init script that also probes hardware if the module
  cannot be probed by PCI IDs
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Aug 25 2004 - ro@suse.de
- update to version 2
* Thu Jul 29 2004 - ro@suse.de
- update to version 1.1
* Thu Aug 21 2003 - ro@suse.de
- created package version 1.0