diff -r 000000000000 -r 4f133201e207 wipe/wipe.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wipe/wipe.spec Fri Mar 11 21:30:26 2011 +0100 @@ -0,0 +1,83 @@ +Name: wipe +Version: 0.21 +Release: 5%{?dist} +Summary: Secure file erasing tool + +Group: Development/Tools +License: GPL+ +URL: http://abaababa.ouvaton.org/wipe/ +Source0: http://abaababa.ouvaton.org/wipe/wipe-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +Wipe is a little command for securely erasing files from magnetic media. + +%prep +%setup -q + +%build +chmod +x trtur +export CFLAGS=$RPM_OPT_FLAGS +make %{?_smp_mflags} linux +iconv -f ISO8859-9 -t UTF8 README.utf8 +mv README.utf8 README +iconv -f ISO8859-9 -t UTF8 wipe.tr.1.utf8 +mv wipe.tr.1.utf8 wipe.tr.1 +chmod a-x examples/wipefd0 examples/wswap.pl + + +%install +rm -rf $RPM_BUILD_ROOT +# There is no make install. +# So, we do the install ourselves due to so few files to install. +mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_mandir}/man1,%{_mandir}/tr/man1} +install -p wipe $RPM_BUILD_ROOT/%{_bindir} +install -p -m644 wipe.1 $RPM_BUILD_ROOT/%{_mandir}/man1 +mv wipe.tr.1 wipe.1 && \ + install -p -m644 wipe.1 $RPM_BUILD_ROOT/%{_mandir}/tr/man1/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc BUGS CHANGES GPL README examples/wipefd0 examples/wswap.pl +%{_bindir}/wipe +%{_mandir}/man1/wipe.1.gz +%{_mandir}/tr/man1/wipe.1.gz + +%changelog +* Mon Feb 07 2011 Fedora Release Engineering - 0.21-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jul 27 2009 Fedora Release Engineering - 0.21-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0.21-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Mar 24 2008 Scott Henson - 0.21-2 +- Make trtur executable +- remove secure-deletion.html + +* Mon Mar 24 2008 Scott Henson - 0.21-1 +- New upstream version +- use RPM_OPT_FLAGS + + +* Wed Jan 16 2008 Scott Henson - 0.20-4 +- Remove executable permissions on example scripts + +* Mon Dec 31 2007 Scott Henson - 0.20-3 +- Change License to GPL+ +- Convert wipe.tr.1 UTF8 and install it +- Identify a few more files as docs +- Switch to using -p instead of -c for install +- Fixed typo in previous changelog entry + +* Thu Dec 20 2007 Scott Henson - 0.20-2 +- Fix the encoding of the doc files +- Capitalize the description and summary + +* Mon Dec 17 2007 Scott Henson - 0.20-1 + - Initial packaged version