auto-import scrub-1.6-1 on branch devel from scrub-1.6-1.src.rpm

This commit is contained in:
Tom Callaway 2005-05-20 00:49:00 +00:00
parent 915d43ca2f
commit 9f164c548d
4 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1 @@
scrub-1.6-1.tgz

View File

@ -0,0 +1,11 @@
--- scrub-1.6/Makefile.BAD 2005-05-19 19:41:25.000000000 -0500
+++ scrub-1.6/Makefile 2005-05-19 19:41:33.000000000 -0500
@@ -6,7 +6,7 @@
OBJS= scrub.o md5.o genrand.o
CC= gcc
# if rand_r comes up undefined, add -DNEED_RAND_R to CFLAGS
-CFLAGS=-O -Wall -g
+CFLAGS=${RPM_OPT_FLAGS}
all: scrub pad

44
scrub.spec Normal file
View File

@ -0,0 +1,44 @@
Name: scrub
Version: 1.6
Release: 1%{?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
Patch0: scrub-1.6-rpmoptflags.patch
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
%patch0 -p1
%build
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
install -s -m 755 scrub $RPM_BUILD_ROOT%{_bindir}
gzip scrub.1
install -m 644 scrub.1.gz $RPM_BUILD_ROOT%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README ChangeLog DISCLAIMER
%{_bindir}/scrub
%{_mandir}/man1/scrub.1.gz
%changelog
* Thu May 19 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.6-1
- initial package for Fedora Extras

View File

@ -0,0 +1 @@
63b8a3d4d9c6bc1b172af5890dd8cec1 scrub-1.6-1.tgz