patched to remove obsolete ld flags --export-dynamic [release 0.13.59-2mamba;Sat Aug 03 2013]

This commit is contained in:
Silvan Calarco 2024-01-06 06:16:39 +01:00
parent a374eb1c7e
commit 95b22ef864
3 changed files with 132 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libzzip # libzzip
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.

View File

@ -0,0 +1,10 @@
--- zziplib-0.13.59.orig/configure.ac 2010-03-29 21:24:17.000000000 +0200
+++ zziplib-0.13.59/configure.ac 2013-08-03 15:29:26.373919591 +0200
@@ -279,7 +279,6 @@
# ---------------------------------------------------------------
AC_MSG_CHECKING([link options])
ZZIPLIB_LDFLAGS=""
-test ".$can_build_shared" != ".no" && ZZIPLIB_LDFLAGS="--export-dynamic"
RESOLVES=" # "
case "$host_os" in mingw*)
ZZIPLIB_LDFLAGS="-no-undefined -export-all-symbols -mconsole"

120
libzzip.spec Normal file
View File

@ -0,0 +1,120 @@
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