package created by silvan using the webbuild interface [release 0.9.9.9-1mamba;Sat Dec 08 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 07:08:13 +01:00
parent 4db5a7c16b
commit ff351b8ba6
2 changed files with 77 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# mhash # mhash
Mhash is a free (under GNU Lesser GPL) library which provides a uniform interface to a large number of hash algorithms. These algorithms can be used to compute checksums, message digests, and other signatures.

74
mhash.spec Normal file
View File

@ -0,0 +1,74 @@
Name: mhash
Version: 0.9.9.9
Release: 1mamba
Summary: A library which provides a uniform interface to a large number of hash algorithms
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://mhash.sourceforge.net/
Source: http://downloads.sourceforge.net/project/mhash/mhash/%{version}/mhash-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Mhash is a free (under GNU Lesser GPL) library which provides a uniform interface to a large number of hash algorithms. These algorithms can be used to compute checksums, message digests, and other signatures.
%package -n lib%{name}
Group: System/Libraries
Summary: A library which provides a uniform interface to a large number of hash algorithms
%description -n lib%{name}
Mhash is a free (under GNU Lesser GPL) library which provides a uniform interface to a large number of hash algorithms. These algorithms can be used to compute checksums, message digests, and other signatures.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libmhash.so.*
%doc AUTHORS COPYING THANKS
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/mhash.h
%dir %{_includedir}/mutils
%{_includedir}/mutils/*.h
%{_libdir}/libmhash.a
%{_libdir}/libmhash.la
%{_libdir}/libmhash.so
%{_mandir}/man3/mhash.3.gz
%doc ChangeLog NEWS README TODO
%changelog
* Sat Dec 08 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.9.9-1mamba
- package created by silvan using the webbuild interface