2016-07-11 21:07:11 +02:00
|
|
|
#
|
|
|
|
# spec file for package libmd
|
|
|
|
#
|
2023-06-20 13:53:54 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2016-07-11 21:07:11 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-12-14 15:55:21 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-07-11 21:07:11 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-06-20 13:53:54 +02:00
|
|
|
%define sover 0
|
2016-07-11 21:07:11 +02:00
|
|
|
Name: libmd
|
2023-06-20 13:53:54 +02:00
|
|
|
Version: 1.1.0
|
2016-07-11 21:07:11 +02:00
|
|
|
Release: 0
|
2016-07-21 16:42:38 +02:00
|
|
|
Summary: Message digest functions from BSD systems
|
2018-02-02 14:36:12 +01:00
|
|
|
License: BSD-2-Clause OR BSD-3-Clause OR ISC OR SUSE-Public-Domain
|
|
|
|
URL: https://www.hadrons.org/software/libmd/
|
2016-07-11 21:07:11 +02:00
|
|
|
Source0: https://archive.hadrons.org/software/libmd/libmd-%{version}.tar.xz
|
|
|
|
Source1: https://archive.hadrons.org/software/libmd/libmd-%{version}.tar.xz.asc
|
|
|
|
Source2: %{name}.keyring
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
|
|
|
%description
|
2016-07-21 16:42:38 +02:00
|
|
|
The libmd library provides a few message digest ("hash") functions, as
|
2016-07-11 21:07:11 +02:00
|
|
|
found on various BSDs on a library with the same name and with a compatible
|
|
|
|
API.
|
|
|
|
|
|
|
|
%package -n %{name}%{sover}
|
|
|
|
Summary: Provides message digest functions from BSD systems
|
|
|
|
|
|
|
|
%description -n %{name}%{sover}
|
2016-07-21 16:42:38 +02:00
|
|
|
The libmd library provides a few message digest ("hash") functions, as
|
2016-07-11 21:07:11 +02:00
|
|
|
found on various BSDs on a library with the same name and with a compatible
|
|
|
|
API.
|
|
|
|
|
2016-07-21 16:42:38 +02:00
|
|
|
Digests supported: MD2/4/5, RIPEMD160, SHA1, SHA2-256/384/512.
|
|
|
|
|
2016-07-11 21:07:11 +02:00
|
|
|
%package devel
|
|
|
|
Summary: Provides message digest functions from BSD systems
|
2016-07-13 12:47:00 +02:00
|
|
|
Requires: %{name}%{sover} = %{version}
|
2016-07-11 21:07:11 +02:00
|
|
|
|
|
|
|
%description devel
|
2016-07-21 16:42:38 +02:00
|
|
|
The libmd library provides a few message digest ("hash") functions, as
|
2016-07-11 21:07:11 +02:00
|
|
|
found on various BSDs on a library with the same name and with a compatible
|
|
|
|
API.
|
|
|
|
|
2016-07-21 16:42:38 +02:00
|
|
|
Digests supported: MD2/4/5, RIPEMD160, SHA1, SHA2-256/384/512.
|
|
|
|
|
2016-07-11 21:07:11 +02:00
|
|
|
%prep
|
2021-01-04 13:48:59 +01:00
|
|
|
%autosetup
|
2016-07-11 21:07:11 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--disable-silent-rules
|
2021-01-04 13:48:59 +01:00
|
|
|
%make_build
|
2016-07-11 21:07:11 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
|
|
|
|
%check
|
2021-01-04 13:48:59 +01:00
|
|
|
%make_build check
|
2016-07-11 21:07:11 +02:00
|
|
|
|
2023-06-20 13:53:54 +02:00
|
|
|
%ldconfig_scriptlets -n %{name}%{sover}
|
2016-07-11 21:07:11 +02:00
|
|
|
|
|
|
|
%files -n %{name}%{sover}
|
2018-12-14 15:55:21 +01:00
|
|
|
%license COPYING
|
2016-07-11 21:07:11 +02:00
|
|
|
%{_libdir}/%{name}.so.%{sover}*
|
|
|
|
|
|
|
|
%files devel
|
2018-12-14 15:55:21 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc ChangeLog README
|
2016-07-11 21:07:11 +02:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/%{name}.so
|
|
|
|
%{_libdir}/pkgconfig/libmd.pc
|
2019-08-13 15:58:33 +02:00
|
|
|
%{_mandir}/man3/*.3%{?ext_man}
|
2023-06-20 13:53:54 +02:00
|
|
|
%{_mandir}/man7/libmd.7%{?ext_man}
|
2016-07-11 21:07:11 +02:00
|
|
|
|
|
|
|
%changelog
|