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