Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37583799
en ru br
ALT Linux repos
S:0.9.9.9-alt1.qa1
5.0: 0.8.18-alt1.1
4.1: 0.8.18-alt1.1
4.0: 0.8.18-alt1.1
3.0: 0.8.18-alt1.1

Group :: System/Libraries
RPM: libmhash

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: libmhash
Version: 0.8.18
Release: alt1.1

Summary: Thread-safe hash library
License: LGPL
Group: System/Libraries
Url: http://mhash.sourceforge.net

Source: %url/dl/mhash-%version.tar.bz2

# Automatically added by buildreq on Tue Oct 22 2002

BuildRequires: glibc-devel-static

%package devel
Summary: Header files and libraries for developing apps which will use %name
Group: Development/C
Requires: %name = %version-%release

%package devel-static
Summary: Header files and libraries for developing apps which will use %name
Group: Development/C
Requires: %name = %version-%release

%description
Mhash is a thread-safe hash library, implemented in C, and provides a
uniform interface to a large number of hash algorithms (MD5, SHA-1,
HAVAL, RIPEMD128, RIPEMD160, TIGER, GOST). These algorithms can be
used to compute checksums, message digests, and other signatures.
The HMAC support implements the basics for message authentication,
following RFC 2104.

%description devel
The %name-devel package contains the header files and libraries needed
to develop programs that use the %name library.

%description devel-static
Static libraries for %name.

%prep
%setup -q -n mhash-%version
%__subst 's at -lltdl at  at ' aclocal.m4

%build
%configure --enable-static
%make_build

%install
%makeinstall transform=

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%_libdir/*.so.*

%files devel
%_libdir/*.so
#%_libdir/*.la
%_includedir/*
%_mandir/man?/*
%doc AUTHORS NEWS README TODO
%doc doc/{md5-rfc1321.txt,skid2-authentication}

%files devel-static
%_libdir/*.a

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin