]> git.pld-linux.org Git - packages/ziptool.git/blob - ziptool.spec
9986460c6a0d6aa1f6bcf0206458d1a8b4902842
[packages/ziptool.git] / ziptool.spec
1 Summary:        Tools for Iomega JAZ and ZIP drives
2 Summary(pl.UTF-8):      Narzędzia do napędów Iomega JAZ i ZIP
3 Name:           ziptool
4 Version:        1.4.0
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        ftp://wolfpack.twu.net/users/wolfpack/%{name}-%{version}.tar.bz2
9 # Source0-md5:  e873a323c4cfdca95cb109a704dd34ee
10 Patch0:         %{name}-llh.patch
11 URL:            http://wolfpack.twu.net/utilities.html#ziptool
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Medium protection is done by software for Iomega's JAZ and ZIP drives,
16 jaztool and ziptool make this features available for Linux.
17
18 %description -l pl.UTF-8
19 Oprogramowanie dla napędów Iomega JAZ i ZIP pozwala na zabezpieczenie
20 nośnika; jaztool i ziptool pozwalają zrobić to pod Linuksem.
21
22 %prep
23 %setup -q
24 %patch0 -p1
25
26 %build
27 %{__make} CFLAGS="%{rpmcflags}"
28 gzip -d ziptool.1.gz
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
33
34 install ziptool $RPM_BUILD_ROOT%{_bindir}
35 ln -sf ziptool $RPM_BUILD_ROOT%{_bindir}/jaztool
36
37 install ziptool.1 $RPM_BUILD_ROOT%{_mandir}/man1
38 echo ".so ziptool.1" > $RPM_BUILD_ROOT%{_mandir}/man1/jaztool.1
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc README
46 %attr(755,root,root) %{_bindir}/*
47 %{_mandir}/man1/*
This page took 0.023466 seconds and 2 git commands to generate.