From e05f5f47a4ddbf67c421ec662677ed7fc93c7b20 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:03:11 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.1.2-1mamba;Tue Jun 04 2019] --- README.md | 2 ++ zchunk.spec | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 zchunk.spec diff --git a/README.md b/README.md index e05d937..8253c0b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # zchunk +A file format designed for highly efficient deltas while maintaining good compression. + diff --git a/zchunk.spec b/zchunk.spec new file mode 100644 index 0000000..74d5b11 --- /dev/null +++ b/zchunk.spec @@ -0,0 +1,85 @@ +Name: zchunk +Version: 1.1.2 +Release: 1mamba +Summary: A file format designed for highly efficient deltas while maintaining good compression +Group: Applications/Archiving +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/zchunk/zchunk +## GITSOURCE https://github.com/zchunk/zchunk.git 1.1.2 +Source: https://github.com/zchunk/zchunk.git/%{version}/zchunk-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libcurl-devel +BuildRequires: libopenssl-devel +BuildRequires: libzstd-devel +## AUTOBUILDREQ-END +Requires: libzck = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A file format designed for highly efficient deltas while maintaining good compression. + +%package -n libzck +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n libzck +This package contains shared libraries for %{name}. + +%package -n libzck-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: libzck = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n libzck-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q + +%build +%meson + +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n libzck -p /sbin/ldconfig +%postun -n libzck -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/unzck +%{_bindir}/zck +%{_bindir}/zck_delta_size +%{_bindir}/zck_gen_zdict +%{_bindir}/zck_read_header +%{_bindir}/zckdl + +%files -n libzck +%defattr(-,root,root) +%{_libdir}/libzck.so.* +%doc LICENSE + +%files -n libzck-devel +%defattr(-,root,root) +%{_includedir}/zck.h +%{_libdir}/libzck.so +%{_libdir}/pkgconfig/zck.pc +%doc README.md + +%changelog +* Tue Jun 04 2019 Silvan Calarco 1.1.2-1mamba +- package created using the webbuild interface