|
1 Name: wipe |
|
2 Version: 0.21 |
|
3 Release: 5%{?dist} |
|
4 Summary: Secure file erasing tool |
|
5 |
|
6 Group: Development/Tools |
|
7 License: GPL+ |
|
8 URL: http://abaababa.ouvaton.org/wipe/ |
|
9 Source0: http://abaababa.ouvaton.org/wipe/wipe-%{version}.tar.gz |
|
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
|
11 |
|
12 %description |
|
13 Wipe is a little command for securely erasing files from magnetic media. |
|
14 |
|
15 %prep |
|
16 %setup -q |
|
17 |
|
18 %build |
|
19 chmod +x trtur |
|
20 export CFLAGS=$RPM_OPT_FLAGS |
|
21 make %{?_smp_mflags} linux |
|
22 iconv -f ISO8859-9 -t UTF8 <README > README.utf8 |
|
23 mv README.utf8 README |
|
24 iconv -f ISO8859-9 -t UTF8 <wipe.tr.1 > wipe.tr.1.utf8 |
|
25 mv wipe.tr.1.utf8 wipe.tr.1 |
|
26 chmod a-x examples/wipefd0 examples/wswap.pl |
|
27 |
|
28 |
|
29 %install |
|
30 rm -rf $RPM_BUILD_ROOT |
|
31 # There is no make install. |
|
32 # So, we do the install ourselves due to so few files to install. |
|
33 mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_mandir}/man1,%{_mandir}/tr/man1} |
|
34 install -p wipe $RPM_BUILD_ROOT/%{_bindir} |
|
35 install -p -m644 wipe.1 $RPM_BUILD_ROOT/%{_mandir}/man1 |
|
36 mv wipe.tr.1 wipe.1 && \ |
|
37 install -p -m644 wipe.1 $RPM_BUILD_ROOT/%{_mandir}/tr/man1/ |
|
38 |
|
39 %clean |
|
40 rm -rf $RPM_BUILD_ROOT |
|
41 |
|
42 %files |
|
43 %defattr(-,root,root,-) |
|
44 %doc BUGS CHANGES GPL README examples/wipefd0 examples/wswap.pl |
|
45 %{_bindir}/wipe |
|
46 %{_mandir}/man1/wipe.1.gz |
|
47 %{_mandir}/tr/man1/wipe.1.gz |
|
48 |
|
49 %changelog |
|
50 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-5 |
|
51 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
|
52 |
|
53 * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-4 |
|
54 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
|
55 |
|
56 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-3 |
|
57 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|
58 |
|
59 * Mon Mar 24 2008 Scott Henson <shenson@redhat.com> - 0.21-2 |
|
60 - Make trtur executable |
|
61 - remove secure-deletion.html |
|
62 |
|
63 * Mon Mar 24 2008 Scott Henson <shenson@redhat.com> - 0.21-1 |
|
64 - New upstream version |
|
65 - use RPM_OPT_FLAGS |
|
66 |
|
67 |
|
68 * Wed Jan 16 2008 Scott Henson <shenson@redhat.com> - 0.20-4 |
|
69 - Remove executable permissions on example scripts |
|
70 |
|
71 * Mon Dec 31 2007 Scott Henson <shenson@redhat.com> - 0.20-3 |
|
72 - Change License to GPL+ |
|
73 - Convert wipe.tr.1 UTF8 and install it |
|
74 - Identify a few more files as docs |
|
75 - Switch to using -p instead of -c for install |
|
76 - Fixed typo in previous changelog entry |
|
77 |
|
78 * Thu Dec 20 2007 Scott Henson <shenson@redhat.com> - 0.20-2 |
|
79 - Fix the encoding of the doc files |
|
80 - Capitalize the description and summary |
|
81 |
|
82 * Mon Dec 17 2007 Scott Henson <shenson@redhat.com> - 0.20-1 |
|
83 - Initial packaged version |