Changes of Revision 2
[-] | Added | mhash.spec |
x 1
2 +Summary: Thread-safe hash algorithms library 3 +Name: mhash 4 +Version: 0.9.9 5 +Release: 1 6 +License: LGPL 7 +Group: System Environment/Libraries 8 +Source: http://download.sourceforge.net/mhash/mhash-%{version}.tar.bz2 9 +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n) 10 +Provides: libmhash = %{version}-%{release} 11 + 12 +%description 13 +Mhash is a free library which provides a uniform interface to a 14 +large number of hash algorithms. 15 + 16 +These algorithms can be used to compute checksums, message digests, 17 +and other signatures. The HMAC support implements the basics for 18 +message authentication, following RFC 2104. In the later versions 19 +some key generation algorithms, which use hash algorithms, have been 20 +added. Currently, the library supports the algorithms: ADLER32, GOST, 21 +HAVAL256, HAVAL224, HAVAL192, HAVAL160, HAVAL128, MD5, MD4, MD2, 22 +RIPEMD128/160/256/320, TIGER, TIGER160, TIGER128, SHA1/224/256/384/512, 23 +Whirlpool, SNEFRU128/256, CRC32B and CRC32 checksums. 24 + 25 + 26 +%package -n %{name}-devel 27 +Summary: Header files and libraries for developing apps which use mhash 28 +Group: Development/Libraries 29 +Requires: %{name} = %{version}-%{release} 30 +Provides: libmhash-devel = %{version}-%{release} 31 + 32 +%description -n %{name}-devel 33 +This package contains the header files and libraries needed to 34 +develop programs that use the mhash library. 35 + 36 + 37 +%prep 38 +%setup -q 39 + 40 + 41 +%build 42 +%configure --enable-shared %{?_with_static: --enable-static} %{!?_with_static: --disable-static} 43 +make %{?_smp_mflags} 44 + 45 + 46 +%install 47 +rm -rf $RPM_BUILD_ROOT 48 +make DESTDIR=${RPM_BUILD_ROOT} install 49 + 50 +# Eliminate some autoheader definitions which should not enter a public API. 51 +# There are more which wait for a fix upstream. 52 +sed -i 's!\(#define \(PACKAGE\|VERSION \).*\)!/* \1 */!g' ${RPM_BUILD_ROOT}%{_includedir}/mutils/mhash_config.h 53 + 54 + 55 +%check 56 +make check 57 + 58 + 59 +%post -n %{name} -p /sbin/ldconfig 60 + 61 + 62 +%postun -n %{name} -p /sbin/ldconfig 63 + 64 + 65 +%clean 66 +rm -rf $RPM_BUILD_ROOT 67 + 68 + 69 +%files -n %{name} 70 +%defattr(-,root,root,-) 71 +%doc AUTHORS COPYING NEWS README THANKS TODO 72 +%{_libdir}/*.so.* 73 + 74 + 75 +%files -n %{name}-devel 76 +%defattr(-,root,root,-) 77 +%doc ChangeLog ./doc/*.c ./doc/skid2-authentication 78 +%{_includedir}/*.h 79 +%{_includedir}/mutils/ 80 +%{?_with_static: %{_libdir}/*.a} 81 +%{_libdir}/*.so 82 +%exclude %{_libdir}/*.la 83 +%{_mandir}/man3/* 84 + 85 + 86 +%changelog 87 +* Fri Apr 6 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.9-1 88 +- Update to 0.9.9 (bug-fixes). 89 + 90 +* Mon Feb 19 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.8-1 91 +- Update to 0.9.8 (includes the patch). 92 + 93 +* Fri Feb 2 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.7.1-4 94 +- Fix big-endian memory leaks in haval.c 95 +- Patch is sufficient to pass test-suite on ppc. Fixes #226987. 96 + 97 +* Fri Feb 2 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.7.1-2 98 +- Add check section. 99 + 100 +* Sat Nov 25 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.7.1-1 101 +- Update to 0.9.7.1. 102 + 103 +* Mon Aug 28 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.2-5 104 +- rebuilt 105 + 106 +* Wed Feb 22 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.2-4 107 +- rebuilt for FC5 108 +- Disable static library. 109 + 110 +* Thu May 12 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.2-3 111 +- rebuilt 112 + 113 +* Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.2-2 114 +- rebuilt 115 + 116 +* Wed Jan 12 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.9.2-1 117 +- Update to 0.9.2. 118 + 119 +* Sun Apr 18 2004 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.9.1-0.fdr.1 120 +- Update to 0.9.1. 121 +- Add EVR to virtual provides. 122 +- Move some doc files into the main package. 123 + 124 +* Tue Aug 12 2003 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.8.18-0.fdr.1 125 +- Initial package. 126 + 127 |
||
[+] | Deleted | _aggregate ^ |
@@ -1,5 +0,0 @@ -<aggregatelist> - <aggregate project="home:jg:devel"> - <package>mhash</package> - </aggregate> -</aggregatelist> | ||
Added | mhash-0.9.9.tar.bz2 ^ |