]> git.pld-linux.org Git - packages/ziptool.git/blame - ziptool.spec
Fix build with -Werror=format-security
[packages/ziptool.git] / ziptool.spec
CommitLineData
b47173c9 1Summary: Tools for Iomega JAZ and ZIP drives
aaa2410c 2Summary(pl.UTF-8): Narzędzia do napędów Iomega JAZ i ZIP
b47173c9 3Name: ziptool
40d6f978 4Version: 1.4.0
5Release: 1
b47173c9 6License: GPL
c3e28fed 7Group: Applications/System
40d6f978 8Source0: ftp://wolfpack.twu.net/users/wolfpack/%{name}-%{version}.tar.bz2
f1c94fff 9# Source0-md5: e873a323c4cfdca95cb109a704dd34ee
a9acae99 10Patch0: %{name}-llh.patch
0ab5b63b 11Patch1: %{name}-format-security.patch
656551d0 12URL: http://wolfpack.twu.net/utilities.html#ziptool
b47173c9 13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16Medium protection is done by software for Iomega's JAZ and ZIP drives,
17jaztool and ziptool make this features available for Linux.
18
a85e2c12
JR
19%description -l pl.UTF-8
20Oprogramowanie dla napędów Iomega JAZ i ZIP pozwala na zabezpieczenie
21noś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 30gzip -d ziptool.1.gz
b47173c9 31
32%install
33rm -rf $RPM_BUILD_ROOT
34install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
c52894d0 35
e8465a75 36install ziptool $RPM_BUILD_ROOT%{_bindir}
b47173c9 37ln -sf ziptool $RPM_BUILD_ROOT%{_bindir}/jaztool
38
c52894d0 39install ziptool.1 $RPM_BUILD_ROOT%{_mandir}/man1
40echo ".so ziptool.1" > $RPM_BUILD_ROOT%{_mandir}/man1/jaztool.1
41
b47173c9 42%clean
c3e28fed 43rm -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/*
This page took 0.10851 seconds and 4 git commands to generate.