Summary: A cryptographic library based on the code from GnuPG. Name: libgcrypt Version: 1.6.5 Release: 10.12%{?dist}1b URL: http://directory.fsf.org/wiki/Libgcrypt Source0: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2 Source1: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2.sig License: GPLv2+ Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libgpg-error-devel >= 0.5 Requires: libgpg-error Requires(post,preun): /usr/bin/install-info #BuildArch: fat Vendor: MacOS X WorkShop Distribution: MacOS X WorkShop %description This is a general purpose cryptographic library based on the code from GnuPG. It provides functions for all cryptograhic building blocks: symmetric ciphers (AES, DES, Blowfish, CAST5, Twofish, Arcfour), hash algorithms (MD4, MD5, RIPE-MD160, SHA-1, TIGER-192), MACs (HMAC for all hash algorithms), public key algorithms (RSA, ElGamal, DSA), large integer functions, random numbers and a lot of supporting functions. %package devel Summary: Development files for libgcrypt Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libgpg-error-devel %description devel Static libraries and header files from libgcrypt. %prep %setup -q %build %configure \ --disable-static make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall rm -f %{buildroot}%{_infodir}/dir ## remove unuse files rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %ifnos darwin %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %endif %post devel /usr/bin/install-info --info-dir=%{_infodir} %{_infodir}/gcrypt.info.gz ||: %preun devel if [ $1 = 0 ]; then /usr/bin/install-info --delete %{_infodir}/gcrypt.info.gz %{_infodir}/dir ||: fi %files %defattr(-,root,wheel) %{_bindir}/dumpsexp %{_bindir}/hmac256 %{_bindir}/mpicalc %{_libdir}/libgcrypt.*.dylib %files devel %defattr(-,root,wheel) %doc README* NEWS %{_bindir}/libgcrypt-config %{_includedir}/* %{_libdir}/libgcrypt.dylib %{_datadir}/aclocal/libgcrypt.m4 %{_infodir}/* %{_mandir}/man1/hmac256.1.gz %changelog * Mon Dec 26 2016 Keisuke Fujii 1.6.5-10.12hepx1b - 2nd release on MacOSX 10.12. - built with OSXWS 10.12. * Sun Dec 18 2016 Keisuke Fujii 1.6.5-10.12hepx1a - 1st release on MacOSX 10.12. - built with OSXWS 10.11. * Wed Feb 10 2016 Keisuke Fujii 1.6.5-10.11hepx1a - 1st release on MacOSX 10.11. * Wed May 21 2014 KOBAYASHI taizo 1.6.1-1 - new upstream release * Thu Jan 19 2012 KOBAYASHI taizo 1.5.0-1 - new upstream release - modified for OSXWS 10.7 * Fri Jan 15 2010 KOBAYASHI taizo 1.4.5-1 - new upstream release - modified for OSXWS 10.6 * Sat Jun 27 2009 NAKAMURA Kenta 1.4.3-3 - added compat32 package for x86_64 arch support - added --disable-static %%configure option * Thu Sep 25 2008 Shu KONNO 1.4.3-2 - removed *.la * Tue Sep 23 2008 Daisuke SUZUKI 1.4.3-1 - new upstream release * Tue Mar 18 2008 Ryoichi INAGAKI 1.4.0-1vl5 - new upstream release - used _dist_release macro * Sat Mar 15 2008 Ryoichi INAGAKI 1.4.0-0vl1 - new upstream release * Sun Nov 26 2006 Ryoichi INAGAKI 1.2.3-0vl1 - new upstream release - changed Group to System Environment/Libraries * Fri Dec 30 2005 KAZUKI SHIMURA 1.2.2-0vl1 - new upstream release * Mon Mar 28 2005 KAZUKI SHIMURA 1.2.1-0vl1 - new upstream release - fix dependencies - add BuildRequires: libgpg-error-devel >= 0.5 - add Requires: libgpg-error - add Requires: libgpg-error-devel for devel package * Tue Nov 30 2004 Daisuke SUZUKI 1.2.0-0vl1 - new upstream release * Sun Mar 7 2004 Daisuke SUZUKI 1.1.12-0vl1 - initial build