wipe/wipe.spec

Fri, 11 Mar 2011 21:30:26 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:30:26 +0100
changeset 0
4f133201e207
child 1
4667f24fe848
permissions
-rw-r--r--

Import package vendor original specs for necessary manipulations.

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

mercurial