From e2776d610355999ddd168ae5f151888b1237b769 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Tue, 17 Oct 2023 16:35:13 +0300 Subject: [PATCH] import libmd-1.1.0-1.el8 --- .gitignore | 2 + .libmd.metadata | 2 + .../4F3E74F436050C10F5696574B972BF3EA4AE57A3 | 63 ++++++++++++ SOURCES/README.md | 3 + SPECS/libmd.spec | 97 +++++++++++++++++++ 5 files changed, 167 insertions(+) create mode 100644 .gitignore create mode 100644 .libmd.metadata create mode 100644 SOURCES/4F3E74F436050C10F5696574B972BF3EA4AE57A3 create mode 100644 SOURCES/README.md create mode 100644 SPECS/libmd.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d18d4b3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/libmd-1.1.0.tar.xz +SOURCES/libmd-1.1.0.tar.xz.asc diff --git a/.libmd.metadata b/.libmd.metadata new file mode 100644 index 0000000..41af392 --- /dev/null +++ b/.libmd.metadata @@ -0,0 +1,2 @@ +72718d5ffad112b702ba84fd40900486f8179642 SOURCES/libmd-1.1.0.tar.xz +36302180a69e21afb53f5e30c1c2df3d75db61a9 SOURCES/libmd-1.1.0.tar.xz.asc diff --git a/SOURCES/4F3E74F436050C10F5696574B972BF3EA4AE57A3 b/SOURCES/4F3E74F436050C10F5696574B972BF3EA4AE57A3 new file mode 100644 index 0000000..ecd7236 --- /dev/null +++ b/SOURCES/4F3E74F436050C10F5696574B972BF3EA4AE57A3 @@ -0,0 +1,63 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +xsFNBEoFrhoBEADux/XveApDkVYu+IgGAxB3PgMZ4nDjNheHZ6YMCtqPUEAPgGYE +ac5juI0k2j+4fLUFuZxjt6oPi+SGX6j35hgUcMQ6bsSkIrMTxPvoCIeFlgKkSZ0H +cH4ishvTTZpBIGDIFVOeiNtLQCyrdW/rbjMNfx+SCQi8w44hJMvcO+0M4TIs+2MY +3CVojhffYZ8RAAGmj5rMJ0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E5lN56WCJIeJX9rt5yTtIDt +POTcnJCLF/9D9GfaAsSzjUm/d7WcEQLJ+evtLmX5QAE0kyglyRzpbGabOwX23pGL +yZp7CdDl0iGRdMNhnyAtENfu2hAjEoNxG6MSX04niNwKIjA0sraDox99oYE1cm9E +Yq6S3J92xZd3JIU9UhpIAWbPymR1WxhzLd4OaFtSNzuweHin+YXve1HEiXlevbdC +0or5EJhMiPqcIRpGYaFa2OwTJ4sGt74jJwekqbF7KmAtLYUKTcxwnWPrscI82Yyf +uSyf9TsmglhYSo6uNsGtLtsGY2l5qGKeREu6JwRAJomf8H+1oanCyk+JzavT5Y5L +A+Hwb9ddjC9U8kT/eaNzC0EEXaxTR8HQSOaUrXBwr6fp1A== +=Gi+y +-----END PGP PUBLIC KEY BLOCK----- diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..5b132c1 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# libmd + +The libmd library provides a few message digest ("hash") functions, as found on various BSD systems, either on their libc or on a library with the same name, and with a compatible API. \ No newline at end of file diff --git a/SPECS/libmd.spec b/SPECS/libmd.spec new file mode 100644 index 0000000..c98989f --- /dev/null +++ b/SPECS/libmd.spec @@ -0,0 +1,97 @@ +Summary: Library that provides message digest functions from BSD systems +Name: libmd +Version: 1.1.0 +Release: 1%{?dist} +# Breakdown in COPYING file of libmd release tarball +License: BSD-2-Clause AND BSD-3-Clause AND ISC AND Beerware AND LicenseRef-Fedora-Public-Domain +URL: https://www.hadrons.org/software/libmd/ +Source0: https://libbsd.freedesktop.org/releases/%{name}-%{version}.tar.xz +Source1: https://libbsd.freedesktop.org/releases/%{name}-%{version}.tar.xz.asc +Source2: https://keys.openpgp.org/vks/v1/by-fingerprint/4F3E74F436050C10F5696574B972BF3EA4AE57A3 +BuildRequires: gnupg2 +BuildRequires: gcc +BuildRequires: make + +%description +The libmd library provides a few message digest ("hash") functions, as +found on various BSD systems, either on their libc or on a library with +the same name, and with a compatible API. + +%package devel +Summary: Development files for the message digest library +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: pkgconfig + +%description devel +The libmd-devel package includes header files and libraries necessary +for developing programs which use the message digest library. + +%prep +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' +%setup -q + +%build +%configure --disable-static +%make_build + +%install +%make_install + +# Don't install any libtool .la files +rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la + +%check +make check + +%ldconfig_scriptlets + +%files +%license COPYING +%doc ChangeLog README +%{_libdir}/%{name}.so.0* +%{_mandir}/man7/%{name}.7* + +%files devel +%{_libdir}/%{name}.so +%{_libdir}/pkgconfig/%{name}.pc +%{_includedir}/md2.h +%{_includedir}/md4.h +%{_includedir}/md5.h +%{_includedir}/ripemd.h +%{_includedir}/rmd160.h +%{_includedir}/sha.h +%{_includedir}/sha1.h +%{_includedir}/sha2.h +%{_includedir}/sha256.h +%{_includedir}/sha512.h +%{_mandir}/man3/MD2*.3* +%{_mandir}/man3/MD4*.3* +%{_mandir}/man3/MD5*.3* +%{_mandir}/man3/RMD160*.3* +%{_mandir}/man3/SHA1*.3* +%{_mandir}/man3/SHA256*.3* +%{_mandir}/man3/SHA384*.3* +%{_mandir}/man3/SHA512*.3* +%{_mandir}/man3/md2.3* +%{_mandir}/man3/md4.3* +%{_mandir}/man3/md5.3* +%{_mandir}/man3/rmd160.3* +%{_mandir}/man3/sha1.3* +%{_mandir}/man3/sha2.3* + +%changelog +* Tue Oct 17 2023 Sergey Cherevko - 1.1.0-1 +- Rebuilt for MSVSphere 8.8 + +* Wed Jun 14 2023 Robert Scheck 1.1.0-1 +- Upgrade to 1.1.0 (#2214865) + +* Thu Jan 19 2023 Fedora Release Engineering - 1.0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Sep 14 2022 Robert Scheck 1.0.4-2 +- Update license identifier to SPDX expression (#2094582 #c11) + +* Wed Jun 08 2022 Robert Scheck 1.0.4-1 +- Upgrade to 1.0.4 (#2094582) +- Initial spec file for Fedora and Red Hat Enterprise Linux