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