libmd/libmd.spec

72 lines
1.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: libmd
Version: 1.0.4
Release: 2mamba
Summary: Message Digest functions from BSD systems
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.hadrons.org/software/libmd/
Source: https://github.com/guillemj/libmd.git/%{version}/libmd-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
Message Digest functions from BSD systems.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
./autogen
%build
%configure \
--includedir=%{_includedir}/md
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libmd.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/md
%{_includedir}/md/*.h
%{_libdir}/libmd.a
%{_libdir}/libmd.la
%{_libdir}/libmd.so
%{_libdir}/pkgconfig/libmd.pc
%{_mandir}/man3/*.3*
%doc README
%changelog
* Sun Apr 17 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-2mamba
- set includedir as %includedir/md
* Fri Apr 15 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-1mamba
- package created using the webbuild interface