Blob Blame History Raw
Name:		scrub
Version:	1.6
Release:	3%{?dist}
Summary:	Disk scrubbing program
License:	GPL
Group:		System Environment/Base
URL:		http://www.llnl.gov/linux/scrub/scrub.html	
Source0:	ftp://ftp.llnl.gov/pub/linux/scrub/%{name}-%{version}-1.tgz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
Scrub writes patterns on special files (i.e. raw disk devices) or
regular files to reduce the possibility of someone retrieving the
data. There are up to six passes, each of which fills the disk
with a particular pattern.

%prep
%setup -q

%build
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT
install -D -m 755 scrub $RPM_BUILD_ROOT%{_bindir}/scrub
install -D -m 644 scrub.1 $RPM_BUILD_ROOT%{_mandir}/man1/scrub.1

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README ChangeLog DISCLAIMER COPYING
%{_bindir}/scrub
%{_mandir}/man1/scrub.1*

%changelog
* Sat May 21 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.6-2
- cleanups

* Thu May 19 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.6-1
- initial package for Fedora Extras