You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.5 KiB
88 lines
2.5 KiB
2 years ago
|
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 <robert@fedoraproject.org> 1.0.4-2
|
||
|
- Update license identifier to SPDX expression (#2094582 #c11)
|
||
|
|
||
|
* Wed Jun 08 2022 Robert Scheck <robert@fedoraproject.org> 1.0.4-1
|
||
|
- Upgrade to 1.0.4 (#2094582)
|
||
|
- Initial spec file for Fedora and Red Hat Enterprise Linux
|