From 557ca4ef4caea2947d1b30f0e358435e23b5364c Mon Sep 17 00:00:00 2001 From: tigro Date: Sat, 18 Nov 2023 20:48:20 +0300 Subject: [PATCH] import libb2-0.98.1-6.el9 --- .gitignore | 1 + .libb2.metadata | 1 + SPECS/libb2.spec | 93 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 .gitignore create mode 100644 .libb2.metadata create mode 100644 SPECS/libb2.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..abbb6f3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libb2-0.98.1.tar.gz diff --git a/.libb2.metadata b/.libb2.metadata new file mode 100644 index 0000000..07d6e41 --- /dev/null +++ b/.libb2.metadata @@ -0,0 +1 @@ +d18c0ecd21c5d78b6122fad0b73413db724bfbb6 SOURCES/libb2-0.98.1.tar.gz diff --git a/SPECS/libb2.spec b/SPECS/libb2.spec new file mode 100644 index 0000000..f7df14c --- /dev/null +++ b/SPECS/libb2.spec @@ -0,0 +1,93 @@ +%global with_check 1 + +Name: libb2 +Summary: C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp +Version: 0.98.1 +Release: 6%{?dist} +License: CC0 +URL: https://blake2.net/ +Source0: https://github.com/BLAKE2/libb2/archive/v%{version}/libb2-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: automake +BuildRequires: libtool +BuildRequires: make + +%description +C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp. + +BLAKE2 is a cryptographic hash function faster than MD5, SHA-1, SHA-2, +and SHA-3, yet is at least as secure as the latest standard SHA-3. + +%package devel +Summary: Development files for the Blake2 library +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +%{summary}. + +%prep +%autosetup -n libb2-%{version} + +# Force default Fedora cflags +sed -e 's|CFLAGS=-O3|CFLAGS="%{optflags}"|g' -i configure.ac +autoreconf -ivf + +%build +%configure --disable-silent-rules --enable-static=no --enable-native=no +%make_build + +%if 0%{with_check} +%check +make check +%endif + +%install +%make_install +rm -f %{buildroot}%{_libdir}/*.la + +%ldconfig_scriptlets + +%files +%license COPYING +%{_libdir}/libb2.so.1 +%{_libdir}/libb2.so.1.* + +%files devel +%{_libdir}/libb2.so +%{_libdir}/pkgconfig/libb2.pc +%{_includedir}/blake2.h + +%changelog +* Sat Nov 18 2023 Arkady L. Shane - 0.98.1-6 +- Rebuilt for MSVSphere 9.2 + +* Thu Jan 20 2022 Fedora Release Engineering - 0.98.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 0.98.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 0.98.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.98.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 0.98.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Sep 09 2019 Elliott Sales de Andrade - 0.98.1-1 +- Update to latest tagged version + +* Thu Jul 25 2019 Fedora Release Engineering - 0.98-4.20171225git60ea749 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.98-3.20171225git60ea749 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.98-2.20171225git60ea749 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sun Mar 18 2018 Antonio Trande - 0.98-1.20171225git60ea749 +- First RPM