File mhash.spec of Package mhash
#
# spec file for package mhash (Version 0.9.9.9)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: mhash
Version: 0.9.9.9
Release: 2
AutoReqProv: on
Group: Development/Libraries/C and C++
License: GPL v2 or later
Url: http://mhash.sourceforge.net/
Summary: A Library for Working with Strong Hashes (Like MD5)
Source: %{name}-%{version}.tar.bz2
Patch0: %{name}-%{version}-shared.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The mhash library provides an easy way to access strong hashes, such as
MD5, SHA1, and other algorithms.
Authors:
--------
Nikos Mavroyanopoulos <nmav@hellug.gr>
Sascha Schumann <sascha@schumann.cx>
%package devel
License: GPL v2 or later
Summary: Static Library and Header Files for mhash Library
Provides: mhash:/usr/include/mhash.h
Requires: mhash = %{version} glibc-devel
Group: Development/Libraries/C and C++
%description devel
The mhash library provides an easy way to access strong hashes such as
MD5, SHA1, and other algorithms.
Authors:
--------
Nikos Mavroyanopoulos <nmav@hellug.gr>
Sascha Schumann <sascha@schumann.cx>
%prep
%setup -q -n %{name}-%{version}
%patch0
%build
%{suse_update_config -f .}
autoreconf --force --install
%configure --with-pic\
--disable-static
%{__make} %{?jobs:-j%jobs}
%install
%{__make} DESTDIR=%{buildroot} install
# useless .la file - has empty dependency_libs variable
%{__rm} -f %{buildroot}%{_libdir}/libmhash.la
%check
make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
%doc doc/skid2-authentication doc/example.c
%{_libdir}/libmhash.so.*
%files devel
%defattr(-,root,root)
%doc %{_mandir}/man?/*
%{_includedir}/*
%{_libdir}/libmhash.so
%changelog
* Fri Mar 06 2009 crrodriguez@suse.de
- remove static libraries
- run make check
* Mon Jan 19 2009 prusnak@suse.cz
- updated to 0.9.9.9
* Added patch for sigbus error on unaligned data,
when doing rapid copies
* Mon Aug 13 2007 crrodriguez@suse.de
- missing glibc-devel dependency on -devel package
* Thu Apr 05 2007 prusnak@suse.cz
- update do 0.9.9
* fixed sigbus error on unaligned data
* fixed Haval endian problem
* polished some memory leaks
* fixed symbol clashes
* Wed Jan 03 2007 prusnak@suse.cz
- update to 0.9.7.1
* better handling of endian issues
* eliminated redundant code
- drop obsolete patches:
* mhash-0.9.4a-comparison.diff
* mhash-0.9.4a-include.diff
* mhash-0.9.4a-uninitialized.diff
* mhash-0.9.4a-stdfns.diff
* Tue Apr 18 2006 ro@suse.de
- use stdfns.c from 0.9.6 to fix bigendian platforms
* Fri Jan 27 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 25 2006 mjancar@suse.cz
- fix missing = in comparison (#145503)
* Sun Jan 15 2006 aj@suse.de
- Fix warnings about uninitialized variables.
- Package mutils/mincludes.h since it's used by <mhash.h>.
* Wed Jan 11 2006 mjancar@suse.cz
- update to 0.9.4a
* Sun Dec 11 2005 ro@suse.de
- install mhash_config.h since include files are pretty broken
by using autoconf-HAVE_.. values globally visible
* Fri Dec 09 2005 mjancar@suse.cz
- update to 0.9.3
* Fri Sep 23 2005 ro@suse.de
- fix implicit declarations
* Mon Feb 07 2005 mjancar@suse.cz
- update to 0.9.2
* Fri Aug 06 2004 mjancar@suse.cz
- update to 0.9.1
* Thu Jan 22 2004 ro@suse.de
- fix build (remove commented line from configure.in)
* Sun Jan 11 2004 adrian@suse.de
- add %%defattr
* Thu Jul 31 2003 mjancar@suse.cz
- use %%run_ldconfig
* Wed Jun 11 2003 mjancar@suse.cz
- enable static library
* Tue Jun 10 2003 mjancar@suse.cz
- update to 0.8.18
* Mon Feb 17 2003 vbobek@suse.cz
- updated to version 0.8.17
* Corrected the HEX key mode. Refuses to convert hex strings longer
than the given key size.
* Corrected some memory leaks in keygen_s2k.
* Corrected wrong use of sizeof in hmac_test.
* Fri Sep 06 2002 jg@suse.de
- using -fPIC to compile libmhash
* Fri Aug 30 2002 pmladek@suse.cz
- fixed dependency of the devel subpackage on the main package (used %%version)
- fixed file list of the devel subpackage (removed duplicities with the main
package)
* Thu Aug 15 2002 mge@suse.de
- updated to 0.8.16
* Fri Jan 18 2002 pmladek@suse.cz
- upadted to version 0.8.13:
* added ADLER32 algorithm
* added SHA-256 from libnettle
* some new functions
* some bug fixes
- used libtoolize --force, aclocal, autoconf
- fixed documetation
* Fri Jan 11 2002 pmladek@suse.cz
- devel package created
- used macro %%{_libdir} to fix for lib64
* Thu May 24 2001 pmladek@suse.cz
- fixed include files on ia64
* Tue Mar 27 2001 pmladek@suse.cz
- new package
- bziped sources