1.1 --- a/wipe/wipe.spec Fri Mar 11 21:30:26 2011 +0100 1.2 +++ b/wipe/wipe.spec Fri Mar 11 21:36:51 2011 +0100 1.3 @@ -1,13 +1,15 @@ 1.4 Name: wipe 1.5 Version: 0.21 1.6 -Release: 5%{?dist} 1.7 +Release: 20101201 1.8 Summary: Secure file erasing tool 1.9 - 1.10 +Vendor: Europalab Software 1.11 +Packager: Michael Schloh von Bennewitz 1.12 +Distribution: MeeGo Thirdparty 1.13 Group: Development/Tools 1.14 License: GPL+ 1.15 -URL: http://abaababa.ouvaton.org/wipe/ 1.16 -Source0: http://abaababa.ouvaton.org/wipe/wipe-%{version}.tar.gz 1.17 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 1.18 +URL: http://lambda-diode.com/software/wipe 1.19 +Source0: http://lambda-diode.com/software/wipe/wipe-%{version}.tar.gz 1.20 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root 1.21 1.22 %description 1.23 Wipe is a little command for securely erasing files from magnetic media. 1.24 @@ -16,39 +18,29 @@ 1.25 %setup -q 1.26 1.27 %build 1.28 -chmod +x trtur 1.29 +chmod a+x trtur 1.30 export CFLAGS=$RPM_OPT_FLAGS 1.31 make %{?_smp_mflags} linux 1.32 -iconv -f ISO8859-9 -t UTF8 <README > README.utf8 1.33 -mv README.utf8 README 1.34 -iconv -f ISO8859-9 -t UTF8 <wipe.tr.1 > wipe.tr.1.utf8 1.35 -mv wipe.tr.1.utf8 wipe.tr.1 1.36 -chmod a-x examples/wipefd0 examples/wswap.pl 1.37 1.38 1.39 %install 1.40 rm -rf $RPM_BUILD_ROOT 1.41 -# There is no make install. 1.42 -# So, we do the install ourselves due to so few files to install. 1.43 -mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_mandir}/man1,%{_mandir}/tr/man1} 1.44 -install -p wipe $RPM_BUILD_ROOT/%{_bindir} 1.45 -install -p -m644 wipe.1 $RPM_BUILD_ROOT/%{_mandir}/man1 1.46 -mv wipe.tr.1 wipe.1 && \ 1.47 - install -p -m644 wipe.1 $RPM_BUILD_ROOT/%{_mandir}/tr/man1/ 1.48 +mkdir -p -m 755 $RPM_BUILD_ROOT%{_bindir} 1.49 +mkdir -p -m 755 $RPM_BUILD_ROOT%{_mandir}/man1 1.50 +install -c -s -m 755 wipe $RPM_BUILD_ROOT%{_bindir} 1.51 +install -c -m 644 wipe.1 $RPM_BUILD_ROOT%{_mandir}/man1 1.52 1.53 %clean 1.54 rm -rf $RPM_BUILD_ROOT 1.55 1.56 %files 1.57 %defattr(-,root,root,-) 1.58 -%doc BUGS CHANGES GPL README examples/wipefd0 examples/wswap.pl 1.59 %{_bindir}/wipe 1.60 %{_mandir}/man1/wipe.1.gz 1.61 -%{_mandir}/tr/man1/wipe.1.gz 1.62 1.63 %changelog 1.64 -* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-5 1.65 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 1.66 +* Tue Dec 01 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 0.21-20101201 1.67 +- Repackaged for MeeGo http://www.meego.com/ 1.68 1.69 * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-4 1.70 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild