/[packages]/cauldron/ziptool/current/SPECS/ziptool.spec
ViewVC logotype

Annotation of /cauldron/ziptool/current/SPECS/ziptool.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 311335 - (hide annotations) (download)
Mon Oct 29 00:17:18 2012 UTC (11 years, 5 months ago) by malo
File size: 977 byte(s)
spec clean-up
1 grenoya 95574 Summary: Tools for Iomega JAZ and ZIP drives
2     Name: ziptool
3     Version: 1.4.0
4 malo 311331 Release: %mkrel 7
5 grenoya 95574 License: GPL
6 malo 311331 Group: Archiving/Backup
7 grenoya 95574 Url: http://wolfpack.twu.net/utilities.html#ziptool
8     Source0: ftp://wolfpack.twu.net/users/wolfpack/%{name}-%{version}.tar.bz2
9     Patch0: ziptool-1.4.0-build-fix-private-scsi-define.patch
10     Patch1: ziptool-1.4.0-format-security.patch
11     BuildRequires: kernel-source-latest
12    
13     %description
14     Medium protection is done by software for Iomega's JAZ and ZIP drives.
15     jaztool and ziptool make this features available for Linux.
16    
17     %prep
18     %setup -q
19     %patch0 -p1 -b .build-fix-private-scsi-define
20     %patch1 -p1 -b .format-security
21     %{__gzip} -d %{name}.1.gz
22    
23     %build
24     %make CFLAGS="$RPM_OPT_FLAGS -s"
25    
26     %install
27     %{__install} -m755 %{name} -D $RPM_BUILD_ROOT%{_bindir}/%{name}
28     %{__install} -m644 %{name}.1 -D $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
29    
30     %files
31     %defattr(644,root,root,755)
32     %doc README
33     %{_mandir}/man1/%{name}.1*
34     %defattr(755,root,root,755)
35     %{_bindir}/%{name}
36    
37    

  ViewVC Help
Powered by ViewVC 1.1.30