From 9a8e424e18650d27fe6e57aa3cbacc61239e04cb Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:50:38 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.98.1-1mamba;Wed Apr 07 2021] --- README.md | 2 ++ libb2.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 libb2.spec diff --git a/README.md b/README.md index d324d5b..fa925a2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libb2 +C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp. + diff --git a/libb2.spec b/libb2.spec new file mode 100644 index 0000000..41bd255 --- /dev/null +++ b/libb2.spec @@ -0,0 +1,64 @@ +Name: libb2 +Version: 0.98.1 +Release: 1mamba +Summary: C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/BLAKE2/libb2 +Source: https://github.com/BLAKE2/libb2.git/v%{version}/libb2-%{version}.tar.bz2 +License: Common\ Public\ Attribution\ License\ 1.0 +## AUTOBUILDREQ-BEGIN +## note: run 'autospec -u -a6 libb2' to get the list of build requirements. +## AUTOBUILDREQ-END + +%description +C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q +./autogen.sh + +%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}/libb2.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/blake2.h +%{_libdir}/libb2.a +%{_libdir}/libb2.la +%{_libdir}/libb2.so +%{_libdir}/pkgconfig/libb2.pc +%doc README.md + +%changelog +* Wed Apr 07 2021 Silvan Calarco 0.98.1-1mamba +- package created using the webbuild interface