75 lines
1.7 KiB
RPMSpec
75 lines
1.7 KiB
RPMSpec
Name: libmd
|
|
Version: 1.1.0
|
|
Release: 1mamba
|
|
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.so
|
|
%{_libdir}/pkgconfig/libmd.pc
|
|
%{_mandir}/man3/*.3*
|
|
%{_mandir}/man7/*.7*
|
|
%doc README
|
|
|
|
%changelog
|
|
* Thu Jun 29 2023 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|