-
Notifications
You must be signed in to change notification settings - Fork 22
/
scrub.spec.in
56 lines (45 loc) · 1.43 KB
/
scrub.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Summary: Disk scrubbing program
License: GPL-2.0-or-later
Group: System Environment/Base
Url: https://code.google.com/p/diskscrub/
Source0: scrub-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
%description
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.
3) a regular file is created, expanded until
the file system is full, then scrubbed as in 2).
%prep
%setup
%build
%configure --program-prefix=%{?_program_prefix:%{_program_prefix}}
make
%check
make check
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc ChangeLog NEWS DISCLAIMER COPYING INSTALL README
%{_bindir}/scrub
%{_mandir}/man1/*
%changelog
* Tue Feb 14 2006 Ben Woodard <woodard@redhat.com> 1.7-1
- Add license file to documents
- Add full path to source
- Add some braces
* Thu Feb 9 2006 Ben Woodard <woodard@redhat.com> 1.6-4
- changed build root to match fedora guidelines.
* Wed Feb 1 2006 Ben Woodard <woodard@redhat.com> 1.6-2
- fixed some problems uncovered by rpmlint