From 31efe41b38a3b8f214997aea032f6b6130ac2a97 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 14 Sep 2022 18:02:36 +0000 Subject: [PATCH 1/5] Added the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..b0add35 --- /dev/null +++ b/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 From b985e127d28665e665e7a7dc8acd8273b39b461c Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Wed, 14 Sep 2022 21:49:13 +0200 Subject: [PATCH 2/5] Initial import --- .gitignore | 2 + 4F3E74F436050C10F5696574B972BF3EA4AE57A3 | 63 +++++++++++++++++ README.md | 2 +- libmd.spec | 87 ++++++++++++++++++++++++ sources | 2 + 5 files changed, 155 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 4F3E74F436050C10F5696574B972BF3EA4AE57A3 create mode 100644 libmd.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a29a03d --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/libmd-*.tar.xz +/libmd-*.tar.xz.asc diff --git a/4F3E74F436050C10F5696574B972BF3EA4AE57A3 b/4F3E74F436050C10F5696574B972BF3EA4AE57A3 new file mode 100644 index 0000000..ecd7236 --- /dev/null +++ b/4F3E74F436050C10F5696574B972BF3EA4AE57A3 @@ -0,0 +1,63 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +xsFNBEoFrhoBEADux/XveApDkVYu+IgGAxB3PgMZ4nDjNheHZ6YMCtqPUEAPgGYE +ac5juI0k2j+4fLUFuZxjt6oPi+SGX6j35hgUcMQ6bsSkIrMTxPvoCIeFlgKkSZ0H +cH4ishvTTZpBIGDIFVOeiNtLQCyrdW/rbjMNfx+SCQi8w44hJMvcO+0M4TIs+2MY +3CVojhff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zRgAPLn9YgQiOEx3E5lN56WCJIeJX9rt5yTtIDt +POTcnJCLF/9D9GfaAsSzjUm/d7WcEQLJ+evtLmX5QAE0kyglyRzpbGabOwX23pGL +yZp7CdDl0iGRdMNhnyAtENfu2hAjEoNxG6MSX04niNwKIjA0sraDox99oYE1cm9E +Yq6S3J92xZd3JIU9UhpIAWbPymR1WxhzLd4OaFtSNzuweHin+YXve1HEiXlevbdC +0or5EJhMiPqcIRpGYaFa2OwTJ4sGt74jJwekqbF7KmAtLYUKTcxwnWPrscI82Yyf +uSyf9TsmglhYSo6uNsGtLtsGY2l5qGKeREu6JwRAJomf8H+1oanCyk+JzavT5Y5L +A+Hwb9ddjC9U8kT/eaNzC0EEXaxTR8HQSOaUrXBwr6fp1A== +=Gi+y +-----END PGP PUBLIC KEY BLOCK----- diff --git a/README.md b/README.md index b0add35..5b132c1 100644 --- a/README.md +++ b/README.md @@ -1,3 +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 +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/libmd.spec b/libmd.spec new file mode 100644 index 0000000..88aa783 --- /dev/null +++ b/libmd.spec @@ -0,0 +1,87 @@ +Summary: Library that provides message digest functions from BSD systems +Name: libmd +Version: 1.0.4 +Release: 2%{?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* + +%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 +* 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 diff --git a/sources b/sources new file mode 100644 index 0000000..646f908 --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (libmd-1.0.4.tar.xz) = 731553ecc5e0e1eb228cced8fccd531fe31fb5c7627ca30013d287e1aeb8222959cf7498fbb7414bbabb967b25d4e8b0edd54fc47f6ccf55fc91087db0725ce3 +SHA512 (libmd-1.0.4.tar.xz.asc) = ec4b60a721da1f315fad73daa8ee620f44a53f17a30506c4d63b154b3abde19bb248b2ce6b83b989589e2a9184ebbe1b870e83181e18a4147d75617579d10504 From 55326ad16452f94fc10579549566e8b96e14c299 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 16:50:48 +0000 Subject: [PATCH 3/5] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libmd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libmd.spec b/libmd.spec index 88aa783..45c2c2d 100644 --- a/libmd.spec +++ b/libmd.spec @@ -1,7 +1,7 @@ Summary: Library that provides message digest functions from BSD systems Name: libmd Version: 1.0.4 -Release: 2%{?dist} +Release: 3%{?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/ @@ -79,6 +79,9 @@ make check %{_mandir}/man3/sha2.3* %changelog +* 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) From 781095c7d4b517602c4bd50a444fd880fcecf964 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Wed, 14 Jun 2023 22:02:20 +0200 Subject: [PATCH 4/5] Upgrade to 1.1.0 (#2214865) --- libmd.spec | 8 ++++++-- sources | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/libmd.spec b/libmd.spec index 45c2c2d..e3bc716 100644 --- a/libmd.spec +++ b/libmd.spec @@ -1,7 +1,7 @@ Summary: Library that provides message digest functions from BSD systems Name: libmd -Version: 1.0.4 -Release: 3%{?dist} +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/ @@ -49,6 +49,7 @@ make check %license COPYING %doc ChangeLog README %{_libdir}/%{name}.so.0* +%{_mandir}/man7/%{name}.7* %files devel %{_libdir}/%{name}.so @@ -79,6 +80,9 @@ make check %{_mandir}/man3/sha2.3* %changelog +* 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 diff --git a/sources b/sources index 646f908..8c44120 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (libmd-1.0.4.tar.xz) = 731553ecc5e0e1eb228cced8fccd531fe31fb5c7627ca30013d287e1aeb8222959cf7498fbb7414bbabb967b25d4e8b0edd54fc47f6ccf55fc91087db0725ce3 -SHA512 (libmd-1.0.4.tar.xz.asc) = ec4b60a721da1f315fad73daa8ee620f44a53f17a30506c4d63b154b3abde19bb248b2ce6b83b989589e2a9184ebbe1b870e83181e18a4147d75617579d10504 +SHA512 (libmd-1.1.0.tar.xz) = 5d0da3337038e474fae7377bbc646d17214e72dc848a7aadc157f49333ce7b5ac1456e45d13674bd410ea08477c6115fc4282fed6c8e6a0bf63537a418c0df96 +SHA512 (libmd-1.1.0.tar.xz.asc) = b0ff3baa7eedc205ee6f8b844859145fa6922c39e8f62f1e997851a65b2881649b438a37baa5800d140541da6f4dacc9f92a370f945d7461937b8cdedeca1cef From d78cf55b8e56f3dbf2d0d31a8fab47830f34c6a3 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Tue, 21 Nov 2023 13:06:03 +0300 Subject: [PATCH 5/5] Remove unnecessary files --- README.md | 3 -- SPECS/libmd.spec | 94 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 2 -- 3 files changed, 94 insertions(+), 5 deletions(-) delete mode 100644 README.md create mode 100644 SPECS/libmd.spec delete mode 100644 sources diff --git a/README.md b/README.md deleted file mode 100644 index 5b132c1..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# 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..e3bc716 --- /dev/null +++ b/SPECS/libmd.spec @@ -0,0 +1,94 @@ +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 +* 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 diff --git a/sources b/sources deleted file mode 100644 index 8c44120..0000000 --- a/sources +++ /dev/null @@ -1,2 +0,0 @@ -SHA512 (libmd-1.1.0.tar.xz) = 5d0da3337038e474fae7377bbc646d17214e72dc848a7aadc157f49333ce7b5ac1456e45d13674bd410ea08477c6115fc4282fed6c8e6a0bf63537a418c0df96 -SHA512 (libmd-1.1.0.tar.xz.asc) = b0ff3baa7eedc205ee6f8b844859145fa6922c39e8f62f1e997851a65b2881649b438a37baa5800d140541da6f4dacc9f92a370f945d7461937b8cdedeca1cef