wipe/wipe.spec

changeset 0
4f133201e207
child 1
4667f24fe848
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/wipe/wipe.spec	Fri Mar 11 21:30:26 2011 +0100
     1.3 @@ -0,0 +1,83 @@
     1.4 +Name:           wipe
     1.5 +Version:        0.21
     1.6 +Release:        5%{?dist}
     1.7 +Summary:        Secure file erasing tool
     1.8 +
     1.9 +Group:          Development/Tools
    1.10 +License:        GPL+
    1.11 +URL:            http://abaababa.ouvaton.org/wipe/
    1.12 +Source0:        http://abaababa.ouvaton.org/wipe/wipe-%{version}.tar.gz
    1.13 +BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    1.14 +
    1.15 +%description
    1.16 +Wipe is a little command for securely erasing files from magnetic media. 
    1.17 +
    1.18 +%prep
    1.19 +%setup -q
    1.20 +
    1.21 +%build
    1.22 +chmod +x trtur
    1.23 +export CFLAGS=$RPM_OPT_FLAGS
    1.24 +make %{?_smp_mflags} linux
    1.25 +iconv -f ISO8859-9 -t UTF8 <README > README.utf8
    1.26 +mv README.utf8 README
    1.27 +iconv -f ISO8859-9 -t UTF8 <wipe.tr.1 > wipe.tr.1.utf8
    1.28 +mv wipe.tr.1.utf8 wipe.tr.1
    1.29 +chmod a-x examples/wipefd0 examples/wswap.pl
    1.30 +
    1.31 +
    1.32 +%install
    1.33 +rm -rf $RPM_BUILD_ROOT
    1.34 +# There is no make install.
    1.35 +# So, we do the install ourselves due to so few files to install.
    1.36 +mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_mandir}/man1,%{_mandir}/tr/man1}
    1.37 +install -p wipe $RPM_BUILD_ROOT/%{_bindir}
    1.38 +install -p -m644 wipe.1 $RPM_BUILD_ROOT/%{_mandir}/man1
    1.39 +mv wipe.tr.1 wipe.1 && \
    1.40 +  install -p -m644 wipe.1 $RPM_BUILD_ROOT/%{_mandir}/tr/man1/
    1.41 +
    1.42 +%clean
    1.43 +rm -rf $RPM_BUILD_ROOT
    1.44 +
    1.45 +%files
    1.46 +%defattr(-,root,root,-)
    1.47 +%doc BUGS CHANGES GPL README examples/wipefd0 examples/wswap.pl
    1.48 +%{_bindir}/wipe
    1.49 +%{_mandir}/man1/wipe.1.gz
    1.50 +%{_mandir}/tr/man1/wipe.1.gz
    1.51 +
    1.52 +%changelog
    1.53 +* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-5
    1.54 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
    1.55 +
    1.56 +* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-4
    1.57 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
    1.58 +
    1.59 +* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-3
    1.60 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
    1.61 +
    1.62 +* Mon Mar 24 2008 Scott Henson <shenson@redhat.com> - 0.21-2
    1.63 +- Make trtur executable
    1.64 +- remove secure-deletion.html 
    1.65 +
    1.66 +* Mon Mar 24 2008 Scott Henson <shenson@redhat.com> - 0.21-1
    1.67 +- New upstream version
    1.68 +- use RPM_OPT_FLAGS
    1.69 +
    1.70 +
    1.71 +* Wed Jan 16 2008 Scott Henson <shenson@redhat.com> - 0.20-4
    1.72 +- Remove executable permissions on example scripts
    1.73 +
    1.74 +* Mon Dec 31 2007 Scott Henson <shenson@redhat.com> - 0.20-3
    1.75 +- Change License to GPL+
    1.76 +- Convert wipe.tr.1 UTF8 and install it
    1.77 +- Identify a few more files as docs
    1.78 +- Switch to using -p instead of -c for install
    1.79 +- Fixed typo in previous changelog entry
    1.80 +
    1.81 +* Thu Dec 20 2007 Scott Henson <shenson@redhat.com> - 0.20-2
    1.82 +- Fix the encoding of the doc files
    1.83 +- Capitalize the description and summary
    1.84 +
    1.85 +* Mon Dec 17 2007 Scott Henson <shenson@redhat.com> - 0.20-1
    1.86 + - Initial packaged version

mercurial