From d78cf55b8e56f3dbf2d0d31a8fab47830f34c6a3 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Tue, 21 Nov 2023 13:06:03 +0300 Subject: [PATCH] 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