diff --git a/libzzip.spec b/libzzip.spec index 3fa5579..d865e94 100644 --- a/libzzip.spec +++ b/libzzip.spec @@ -1,20 +1,20 @@ Name: libzzip -Version: 0.13.68 +Version: 0.13.72 Release: 1mamba Summary: A library to extract data from files archived in a single zip file Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://zziplib.sourceforge.net/ -Source: http://downloads.sourceforge.net/sourceforge/zziplib/zziplib-%{version}.tar.bz2 +URL: https://github.com/gdraheim/zziplib +Source: https://github.com/gdraheim/zziplib.git/v%{version}/zziplib-%{version}.tar.bz2 +#Source: http://downloads.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. @@ -26,8 +26,7 @@ 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. +This package contains static libraries and header files needed for development. %package -n zzip Summary: Tools for the zzip extract library @@ -35,7 +34,6 @@ 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. %debug_package @@ -47,12 +45,13 @@ sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," uses/config.sub #autoreconf -i %build -%configure +%cmake -d build + %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -68,19 +67,18 @@ sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," uses/config.sub %files devel %defattr(-,root,root) %{_includedir}/zzip*.h +%dir %{_includedir}/zzip %{_includedir}/zzip/*.h -%{_libdir}/libzzip.a -%{_libdir}/libzzip.la +%dir %{_includedir}/SDL_rwops_zzip +%{_includedir}/SDL_rwops_zzip/* %{_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}/libzzip-0.so +%{_libdir}/libzzipfseeko-0.so +%{_libdir}/libzzipmmapped-0.so +%{_libdir}/libzzipwrap-0.so %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/zziplib.m4 %{_mandir}/man3/*.3.gz @@ -100,6 +98,9 @@ sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," uses/config.sub %{_bindir}/zzxordir %changelog +* Sat Feb 27 2021 Silvan Calarco 0.13.72-1mamba +- update to 0.13.72 + * Mon Nov 30 2020 Silvan Calarco 0.13.68-1mamba - update to 0.13.68 - added debug package and aarch64 build fix