scrub/scrub.spec

56 lines
1.6 KiB
RPMSpec
Raw Normal View History

Name: scrub
2007-07-09 17:38:18 +00:00
Version: 1.9
2006-02-20 20:56:24 +00:00
Release: 1%{?dist}
Summary: Disk scrubbing program
License: GPL
Group: System Environment/Base
2006-02-20 20:56:24 +00:00
URL: http://sourceforge.net/projects/diskscrub/
Source0: http://download.sourceforge.net/diskscrub/scrub-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
2006-02-20 20:56:24 +00:00
Scrub writes patterns on files or disk devices to make
retrieving the data more difficult. It operates in one of three
modes: 1) the special file corresponding to an entire disk is scrubbed
and all data on it is destroyed; 2) a regular file is scrubbed and
only the data in the file (and optionally its name in the directory
entry) is destroyed; or 3) a regular file is created, expanded until
the file system is full, then scrubbed as in 2).
%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)
2006-09-04 05:17:49 +00:00
%doc NEWS ChangeLog DISCLAIMER COPYING
%{_bindir}/scrub
%{_mandir}/man1/scrub.1*
%changelog
2007-07-09 17:38:18 +00:00
* Mon Jul 9 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.9-1
- bump to 1.9
2006-09-04 05:17:49 +00:00
* Mon Sep 4 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.8-1
- bump to 1.8
2006-02-20 20:56:24 +00:00
* Mon Feb 20 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.7-1
- bump to 1.7, update URL, Source0
- use Ben Woodard's description
* 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