wipe/wipe.spec

changeset 1
4667f24fe848
parent 0
4f133201e207
equal deleted inserted replaced
0:09856804f469 1:c47a8da85841
1 Name: wipe 1 Name: wipe
2 Version: 0.21 2 Version: 0.21
3 Release: 5%{?dist} 3 Release: 20101201
4 Summary: Secure file erasing tool 4 Summary: Secure file erasing tool
5 5 Vendor: Europalab Software
6 Packager: Michael Schloh von Bennewitz
7 Distribution: MeeGo Thirdparty
6 Group: Development/Tools 8 Group: Development/Tools
7 License: GPL+ 9 License: GPL+
8 URL: http://abaababa.ouvaton.org/wipe/ 10 URL: http://lambda-diode.com/software/wipe
9 Source0: http://abaababa.ouvaton.org/wipe/wipe-%{version}.tar.gz 11 Source0: http://lambda-diode.com/software/wipe/wipe-%{version}.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
11 13
12 %description 14 %description
13 Wipe is a little command for securely erasing files from magnetic media. 15 Wipe is a little command for securely erasing files from magnetic media.
14 16
15 %prep 17 %prep
16 %setup -q 18 %setup -q
17 19
18 %build 20 %build
19 chmod +x trtur 21 chmod a+x trtur
20 export CFLAGS=$RPM_OPT_FLAGS 22 export CFLAGS=$RPM_OPT_FLAGS
21 make %{?_smp_mflags} linux 23 make %{?_smp_mflags} linux
22 iconv -f ISO8859-9 -t UTF8 <README > README.utf8
23 mv README.utf8 README
24 iconv -f ISO8859-9 -t UTF8 <wipe.tr.1 > wipe.tr.1.utf8
25 mv wipe.tr.1.utf8 wipe.tr.1
26 chmod a-x examples/wipefd0 examples/wswap.pl
27 24
28 25
29 %install 26 %install
30 rm -rf $RPM_BUILD_ROOT 27 rm -rf $RPM_BUILD_ROOT
31 # There is no make install. 28 mkdir -p -m 755 $RPM_BUILD_ROOT%{_bindir}
32 # So, we do the install ourselves due to so few files to install. 29 mkdir -p -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
33 mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_mandir}/man1,%{_mandir}/tr/man1} 30 install -c -s -m 755 wipe $RPM_BUILD_ROOT%{_bindir}
34 install -p wipe $RPM_BUILD_ROOT/%{_bindir} 31 install -c -m 644 wipe.1 $RPM_BUILD_ROOT%{_mandir}/man1
35 install -p -m644 wipe.1 $RPM_BUILD_ROOT/%{_mandir}/man1
36 mv wipe.tr.1 wipe.1 && \
37 install -p -m644 wipe.1 $RPM_BUILD_ROOT/%{_mandir}/tr/man1/
38 32
39 %clean 33 %clean
40 rm -rf $RPM_BUILD_ROOT 34 rm -rf $RPM_BUILD_ROOT
41 35
42 %files 36 %files
43 %defattr(-,root,root,-) 37 %defattr(-,root,root,-)
44 %doc BUGS CHANGES GPL README examples/wipefd0 examples/wswap.pl
45 %{_bindir}/wipe 38 %{_bindir}/wipe
46 %{_mandir}/man1/wipe.1.gz 39 %{_mandir}/man1/wipe.1.gz
47 %{_mandir}/tr/man1/wipe.1.gz
48 40
49 %changelog 41 %changelog
50 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-5 42 * Tue Dec 01 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 0.21-20101201
51 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 43 - Repackaged for MeeGo http://www.meego.com/
52 44
53 * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-4 45 * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-4
54 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
55 47
56 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-3 48 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-3

mercurial