From 33510e67ec7b3b9fb671ecd82e51cf76993dfcc8 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 4 Aug 2024 22:19:27 +0200 Subject: [PATCH] package created using the webbuild interface [release 1.20-1mamba;Sun Aug 04 2024] --- README.md | 2 ++ libdeflate.spec | 77 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 libdeflate.spec diff --git a/README.md b/README.md index f265721..c4bb25c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libdeflate +Heavily optimized library for DEFLATE/zlib/gzip compression and decompression. + diff --git a/libdeflate.spec b/libdeflate.spec new file mode 100644 index 0000000..acdb57e --- /dev/null +++ b/libdeflate.spec @@ -0,0 +1,77 @@ +Name: libdeflate +Version: 1.20 +Release: 1mamba +Summary: Heavily optimized library for DEFLATE/zlib/gzip compression and decompression +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/ebiggers/libdeflate +Source: https://github.com/ebiggers/libdeflate.git/v%{version}/libdeflate-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRequires: cmake + +%description +Heavily optimized library for DEFLATE/zlib/gzip compression and decompression. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%package tools +Group: Applications/Archiving +Summary: Utility applications for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains utility applications for %{name}. + +%debug_package + +%prep +%setup -q + +%build +%cmake +%cmake_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%cmake_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libdeflate.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/libdeflate.h +%{_libdir}/libdeflate.a +%{_libdir}/libdeflate.so +%{_libdir}/pkgconfig/libdeflate.pc +%dir %{_libdir}/cmake/libdeflate +%{_libdir}/cmake/libdeflate/libdeflate*.cmake +%doc README.md + +%files tools +%defattr(-,root,root) +%{_bindir}/libdeflate-gunzip +%{_bindir}/libdeflate-gzip + +%changelog +* Sun Aug 04 2024 Silvan Calarco 1.20-1mamba +- package created using the webbuild interface