libgcrypt.spec revision 11111
18861N/A#
18861N/A# spec file for package libgcrypt
18861N/A#
18861N/A# Copyright (c) 2003 SuSE Linux AG, Nuernberg, Germany.
18861N/A# Copyright 2007 Sun Microsystems, Inc
18861N/A#
18861N/A# This file and all modifications and additions to the pristine
18861N/A# package are under the same license as the package itself.
18861N/A#
18861N/A# Owner: jefftsai
18861N/A#
18861N/A
18861N/AName: libgcrypt
18861N/AVersion: 1.2.4
18861N/ARelease: 1
18861N/ASummary: libgcrypt - The GNU crypto library
18861N/ALicense: GPL, Other License(s), see package
18861N/AGroup: Development/Libraries/C and C++
18861N/AAutoreqprov: on
18861N/AURL: http://www.gnupg.org/
18861N/ASource: http://ftp.gnupg.org/gcrypt/libgcrypt/%{name}-%{version}.tar.bz2
18861N/ASource1: l10n-configure.sh
18861N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18861N/A
18861N/A%description
18861N/ALibgcrypt is a general purpose crypto library based on the code used in
18861N/AGnuPG (alpha version)
18861N/A
18861N/A%prep
18861N/A%setup -n %{name}-%{version}
18861N/Abash -x %SOURCE1
18861N/A
18861N/A%build
18861N/A%ifos linux
18861N/Aif [ -x /usr/bin/getconf ]; then
18861N/A CPUS=`getconf _NPROCESSORS_ONLN`
18861N/Afi
18861N/A%else
18861N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
18861N/A%endif
18861N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
18861N/A CPUS=1
18861N/Afi
18861N/A
18861N/Aexport CFLAGS="%optflags"
18861N/Aexport LDFLAGS="%_ldflags"
18861N/A./configure \
18861N/A --prefix=%{_prefix} \
18861N/A --libdir=%{_libdir} \
18861N/A --bindir=%{_bindir} \
18861N/A --sysconfdir=/etc \
18861N/A --libdir=%{_libdir} \
18861N/A --infodir=%{_infodir} \
18861N/A --enable-maintainer-mode \
18861N/A --disable-asm
18861N/A
18861N/Amake -j$CPUS
18861N/A
18861N/A%install
18861N/Amake DESTDIR=$RPM_BUILD_ROOT install
18861N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
18861N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
18861N/A
18861N/A%files
18861N/A%defattr(-,root,root)
18861N/A%doc AUTHORS BUGS COPYING COPYING.DOC COPYING.LIB ChangeLog INSTALL NEWS README README-alpha THANKS TODO VERSION
18861N/A%doc %_infodir/gc*
18861N/A%{_libdir}/*
18861N/A/usr/include/*
18861N/A/usr/bin/*
18861N/A/usr/share/aclocal/*
18861N/A
18861N/A%changelog -n libgcrypt
18861N/A* Tue Mar 27 2007 - laca@sun.com
18861N/A- clean up, enable parallel build
18861N/A* Fri Mar 16 2007 - jeff.cai@sun.com
18861N/A- Bump to 1.2.4.
18861N/A* Wed Oct 25 2006 - jedy.wang@sun.com
18861N/A- Bump to 1.2.3.
18861N/A* Tue Apr 04 2006 - halton.huo@sun.com
18861N/A- Remove .a/.la files in linux spec.
18861N/A* Mon Oct 10 2005 - halton.huo@sun.com
18861N/A- Bump to 1.2.2.
18861N/A* Wed Aug 31 2005 - halton.huo@sun.com
18861N/A- Bump to 1.2.1
18861N/A- Add URL and correct Source filed
18861N/A- Remove the obsoleted patch libgcrypt-1.1.12-sexp-valgrind-error.diff
18861N/A* Tue Sep 21 2004 - ghee.teo@sun.com
18861N/A- Move the spec file back to spec-files/Solaris/extra-specs so that
18861N/A it is now a solaris only spec file. Also moved its patch back to
18861N/A spec-files/Solaris/patches.
18861N/A* Wed Sep 01 2004 - ghee.teo@sun.com
18861N/A- renamed libgcrypt-1.1.12-sexp-valgrind-error.patch to
18861N/A libgcrypt-1.1.12-sexp-valgrind-error.diff
18861N/A* Wed May 14 2003 - mc@suse.de
18861N/A- add libgcrypt-1.1.12-sexp-valgrind-error.patch from Ximian
18861N/A needed for rc
18861N/A* Tue Feb 11 2003 - mc@suse.de
18861N/A- switch to version 1.1.12
18861N/A- gcry_pk_sign, gcry_pk_verify and gcry_pk_encrypt can now handle an
18861N/A optional pkcs1 flags parameter in the S-expression. A similar flag
18861N/A may be passed to gcry_pk_decrypt but it is only syntactically
18861N/A implemented.
18861N/A- New convenience macro gcry_md_get_asnoid.
18861N/A- There is now some real stuff in the manual.
18861N/A- New algorithm: MD4
18861N/A- Implemented ciphertext stealing.
18861N/A- Support for plain old DES
18861N/A- Smaller bugs fixes and a few new OIDs.
18861N/A* Thu Aug 01 2002 - poeml@suse.de
18861N/A- create package
18861N/A