diff --git a/v0.13.72.tar.gz b/v0.13.72.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..684bcb8dcbd8cb78d3280e2e6856e39a0c4845a6 Binary files /dev/null and b/v0.13.72.tar.gz differ diff --git a/zziplib.spec b/zziplib.spec new file mode 100644 index 0000000000000000000000000000000000000000..86c9afb1f62ee014cb5be139fb943b1866ee2248 --- /dev/null +++ b/zziplib.spec @@ -0,0 +1,92 @@ +%define anolis_release 1 +Summary: Lightweight library to easily extract data from zip files +Name: zziplib +Version: 0.13.72 +Release: %{anolis_release}%{?dist} +License: LGPLv2+ or MPLv1.1 +URL: http://zziplib.sourceforge.net/ +Source: https://github.com/gdraheim/zziplib/archive/v%{version}.tar.gz + +BuildRequires: make +BuildRequires: gcc +BuildRequires: perl-interpreter +BuildRequires: python3-rpm-macros +BuildRequires: zip +BuildRequires: xmlto +BuildRequires: zlib-devel +BuildRequires: cmake + +%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 utils +Summary: Utilities for the zziplib library +Requires: %{name} = %{version}-%{release} + +%description utils +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 packages contains all the utilities that come with the zziplib library. + +%package devel +Summary: Development files for the zziplib library +Requires: %{name} = %{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 files required to build applications that will use the +zziplib library. + +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + +%prep +%setup -q + +%build +%cmake +%cmake_build + +%install +%cmake_install + +%files +%license docs/COPYING* +%{_libdir}/*.so.* + +%files utils +%{_bindir}/* + +%files doc +%doc ChangeLog README TODO + +%files devel +%doc docs/README.SDL docs/*.htm +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%{_datadir}/aclocal/*.m4 +%{_mandir}/man3/* + +%changelog +* Tue Jan 24 2023 Funda Wang - 0.13.72-1 +- Import for anolis 23 +- Drop support for SDL, too old for upstream (#132) to port