Summary: Tools for Iomega JAZ and ZIP drives Name: ziptool Version: 1.4.0 Release: %mkrel 7 License: GPL Group: Archiving/Backup Url: http://wolfpack.twu.net/utilities.html#ziptool Source0: ftp://wolfpack.twu.net/users/wolfpack/%{name}-%{version}.tar.bz2 Patch0: ziptool-1.4.0-build-fix-private-scsi-define.patch Patch1: ziptool-1.4.0-format-security.patch BuildRequires: kernel-source-latest %description Medium protection is done by software for Iomega's JAZ and ZIP drives. jaztool and ziptool make this features available for Linux. %prep %setup -q %patch0 -p1 -b .build-fix-private-scsi-define %patch1 -p1 -b .format-security %{__gzip} -d %{name}.1.gz %build %make CFLAGS="$RPM_OPT_FLAGS -s" %install %{__install} -m755 %{name} -D $RPM_BUILD_ROOT%{_bindir}/%{name} %{__install} -m644 %{name}.1 -D $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1 %files %defattr(644,root,root,755) %doc README %{_mandir}/man1/%{name}.1* %defattr(755,root,root,755) %{_bindir}/%{name}