121 lines
4.0 KiB
RPMSpec
121 lines
4.0 KiB
RPMSpec
|
Name: libzzip
|
||
|
Version: 0.13.59
|
||
|
Release: 2mamba
|
||
|
Summary: A library to extract data from files archived in a single zip file
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://zziplib.sourceforge.net/
|
||
|
Source: http://dfn.dl.sourceforge.net/sourceforge/zziplib/zziplib-%{version}.tar.bz2
|
||
|
Patch0: libzzip-0.13.59-ld-no-export-dynamic.patch
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libz-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
The zziplib library is intentionally lightweight, it offers the ability to easily extract data from files archived in a single zip file. Applications can bundle files into a single zip archive and access them. The implementation is based only on the (free) subset of compression with the zlib algorithm which is actually used by the zip/unzip tools.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Devel package for %{name}
|
||
|
Group: Development/Libraries
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
The zziplib library is intentionally lightweight, it offers the ability to easily extract data from files archived in a single zip file. Applications can bundle files into a single zip archive and access them. The implementation is based only on the (free) subset of compression with the zlib algorithm which is actually used by the zip/unzip tools.
|
||
|
|
||
|
This package contains static libraries and header files need for development.
|
||
|
|
||
|
%package -n zzip
|
||
|
Summary: Tools for the zzip extract library
|
||
|
Group: Applications/Archiving
|
||
|
|
||
|
%description -n zzip
|
||
|
The zziplib library is intentionally lightweight, it offers the ability to easily extract data from files archived in a single zip file. Applications can bundle files into a single zip archive and access them. The implementation is based only on the (free) subset of compression with the zlib algorithm which is actually used by the zip/unzip tools.
|
||
|
|
||
|
This package contains the tools for extracting zzip files.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n zziplib-%{version}
|
||
|
%patch0 -p1
|
||
|
|
||
|
%build
|
||
|
autoreconf -i
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libzzip-0.so.*
|
||
|
%{_libdir}/libzzipfseeko-0.so.*
|
||
|
%{_libdir}/libzzipmmapped-0.so.*
|
||
|
%{_libdir}/libzzipwrap-0.so.*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_includedir}/zzip*.h
|
||
|
%{_includedir}/zzip/*.h
|
||
|
%{_libdir}/libzzip.a
|
||
|
%{_libdir}/libzzip.la
|
||
|
%{_libdir}/libzzip.so
|
||
|
%{_libdir}/libzzipfseeko.a
|
||
|
%{_libdir}/libzzipfseeko.la
|
||
|
%{_libdir}/libzzipfseeko.so
|
||
|
%{_libdir}/libzzipmmapped.a
|
||
|
%{_libdir}/libzzipmmapped.la
|
||
|
%{_libdir}/libzzipmmapped.so
|
||
|
%{_libdir}/libzzipwrap.a
|
||
|
%{_libdir}/libzzipwrap.la
|
||
|
%{_libdir}/libzzipwrap.so
|
||
|
%{_libdir}/pkgconfig/*.pc
|
||
|
%{_datadir}/aclocal/zziplib.m4
|
||
|
%{_mandir}/man3/*.3.gz
|
||
|
%doc ChangeLog README TODO
|
||
|
|
||
|
%files -n zzip
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/unzip-mem
|
||
|
%{_bindir}/unzzip
|
||
|
%{_bindir}/unzzipcat
|
||
|
%{_bindir}/unzzipcat-mem
|
||
|
%{_bindir}/unzzipcat-seeko
|
||
|
%{_bindir}/unzzipdir
|
||
|
%{_bindir}/unzzipdir-mem
|
||
|
%{_bindir}/zzcat
|
||
|
%{_bindir}/zzdir
|
||
|
%{_bindir}/zzxorcat
|
||
|
%{_bindir}/zzxorcopy
|
||
|
%{_bindir}/zzxordir
|
||
|
|
||
|
%changelog
|
||
|
* Sat Aug 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.59-2mamba
|
||
|
- patched to remove obsolete ld flags --export-dynamic
|
||
|
|
||
|
* Wed May 12 2010 Automatic Build System <autodist@mambasoft.it> 0.13.59-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Mon Aug 31 2009 Automatic Build System <autodist@mambasoft.it> 0.13.58-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Mon Aug 10 2009 Automatic Build System <autodist@mambasoft.it> 0.13.57-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 0.13.56-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Mon Jul 07 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.49-1mamba
|
||
|
- update to 0.13.49
|
||
|
|
||
|
* Mon Jul 07 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.82-1mamba
|
||
|
- package created by autospec
|