From 2807ab1fc46bcbc08c1c97afa36ded14b5c2decf Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 06:16:21 +0100 Subject: [PATCH] automatic update by autodist [release 0.11.2-1mamba;Tue Dec 24 2013] --- README.md | 4 ++ libzip.spec | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) create mode 100644 libzip.spec diff --git a/README.md b/README.md index be40755..f7961fc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # libzip +Libzip is a C library for reading, creating, and modifying zip archives. +Files can be added from data buffers, files, or compressed data copied directly from other zip archives. +Changes made without closing the archive can be reverted. + diff --git a/libzip.spec b/libzip.spec new file mode 100644 index 0000000..9d5c105 --- /dev/null +++ b/libzip.spec @@ -0,0 +1,111 @@ +Name: libzip +Version: 0.11.2 +Release: 1mamba +Summary: A C library for reading, creating, and modifying zip archives +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.nih.at/libzip/index.html +Source: http://www.nih.at/libzip/libzip-%{version}.tar.gz +License: BSD +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Libzip is a C library for reading, creating, and modifying zip archives. +Files can be added from data buffers, files, or compressed data copied directly from other zip archives. +Changes made without closing the archive can be reverted. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Libzip is a C library for reading, creating, and modifying zip archives. +Files can be added from data buffers, files, or compressed data copied directly from other zip archives. +Changes made without closing the archive can be reverted. + +This package contains static libraries and header files need for development. + +%package tools +Group: Applications/Archiving +Summary: Programs for manipulating zip archives +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +Libzip is a C library for reading, creating, and modifying zip archives. +This package contains the following programs for manipulating zip archives: + - zipcmp: compare contents of zip + - zipmerge: merge zip archives + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libzip.so.* +%doc AUTHORS THANKS + +%files devel +%defattr(-,root,root) +%{_includedir}/zip.h +%{_libdir}/libzip.a +%{_libdir}/libzip.la +%{_libdir}/libzip.so +%{_libdir}/libzip/include/zipconf.h +%{_libdir}/pkgconfig/libzip.pc +%{_mandir}/man3/libzip.* +%{_mandir}/man3/zip_* +%doc NEWS README TODO + +%files tools +%defattr(-,root,root) +%{_bindir}/zipcmp +%{_bindir}/zipmerge +%{_bindir}/ziptorrent +%{_mandir}/man1/zipcmp.* +%{_mandir}/man1/zipmerge.* +%{_mandir}/man1/ziptorrent.* + +%changelog +* Tue Dec 24 2013 Automatic Build System 0.11.2-1mamba +- automatic update by autodist + +* Sun Apr 28 2013 Automatic Build System 0.11.1-1mamba +- automatic version update by autodist + +* Thu Mar 28 2013 Automatic Build System 0.11-1mamba +- automatic version update by autodist + +* Thu Aug 09 2012 Automatic Build System 0.10.1-1mamba +- automatic version update by autodist + +* Sun Mar 27 2011 Automatic Build System 0.10-1mamba +- automatic update by autodist + +* Tue Apr 27 2010 Automatic Build System 0.9.3-1mamba +- automatic update by autodist + +* Thu Jan 28 2010 Automatic Build System 0.9.1-1mamba +- automatic update by autodist + +* Thu Aug 28 2008 Aleph0 0.9-1mamba +- update to 0.9 + +* Fri Dec 21 2007 Aleph0 0.8-1mamba +- package created by autospec