From ff351b8ba6be08d369d460c71d6a79ffe1a3f680 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:08:13 +0100 Subject: [PATCH] package created by silvan using the webbuild interface [release 0.9.9.9-1mamba;Sat Dec 08 2012] --- README.md | 3 +++ mhash.spec | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 mhash.spec diff --git a/README.md b/README.md index 8edf3c5..47e470f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # 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. + + diff --git a/mhash.spec b/mhash.spec new file mode 100644 index 0000000..a69b1ea --- /dev/null +++ b/mhash.spec @@ -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 +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 0.9.9.9-1mamba +- package created by silvan using the webbuild interface