10139N/A#
11111N/A# spec file for package libgcrypt
10139N/A#
10139N/A# Copyright (c) 2003 SuSE Linux AG, Nuernberg, Germany.
10374N/A# Copyright 2007 Sun Microsystems, Inc
10374N/A#
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
12160N/A# Security team will take over ownership of libgcrypt
12160N/A# Currtnly we stop upgrading it.
17185N/A%define owner jefftsai
15573N/A# bugdb: savannah.gnu.org
10139N/A#
10139N/A
17181N/A%define OSR 8035:1.2
17181N/A
10139N/AName: libgcrypt
18819N/AVersion: 1.4.5
10139N/ARelease: 1
10139N/ASummary: libgcrypt - The GNU crypto library
15291N/ALicense: GPL v2, LGPL v2.1
18616N/AVendor: G10 Code
10139N/AGroup: Development/Libraries/C and C++
10139N/AAutoreqprov: on
10139N/AURL: http://www.gnupg.org/
12089N/ASource: ftp://ftp.gnupg.org/gcrypt/libgcrypt/%{name}-%{version}.tar.bz2
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%description
10139N/ALibgcrypt is a general purpose crypto library based on the code used in
10139N/AGnuPG (alpha version)
10139N/A
10139N/A%prep
10139N/A%setup -n %{name}-%{version}
10139N/A
10139N/A%build
10374N/A%ifos linux
10374N/Aif [ -x /usr/bin/getconf ]; then
10374N/A CPUS=`getconf _NPROCESSORS_ONLN`
10374N/Afi
10374N/A%else
10374N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10374N/A%endif
10374N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10374N/A CPUS=1
10374N/Afi
10374N/A
10374N/Aexport CFLAGS="%optflags"
10374N/Aexport LDFLAGS="%_ldflags"
10374N/A./configure \
10374N/A --prefix=%{_prefix} \
10374N/A --libdir=%{_libdir} \
10374N/A --bindir=%{_bindir} \
10374N/A --sysconfdir=/etc \
10374N/A --libdir=%{_libdir} \
10374N/A --infodir=%{_infodir} \
10374N/A --enable-maintainer-mode \
13387N/A --disable-asm \
18682N/A --enable-ciphers=arcfour:blowfish:des:aes:twofish:serpent:rfc2268:seed:camellia:cast5
10374N/A
10374N/Amake -j$CPUS
10139N/A
10139N/A%install
10139N/Amake DESTDIR=$RPM_BUILD_ROOT install
10139N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
10139N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
10139N/A
10139N/A%files
10139N/A%defattr(-,root,root)
10139N/A%doc AUTHORS BUGS COPYING COPYING.DOC COPYING.LIB ChangeLog INSTALL NEWS README README-alpha THANKS TODO VERSION
10139N/A%doc %_infodir/gc*
10139N/A%{_libdir}/*
10139N/A/usr/include/*
10139N/A/usr/bin/*
10139N/A/usr/share/aclocal/*
10139N/A
10139N/A%changelog -n libgcrypt
18819N/A* Thu Jun 03 2010 - jeff.cai@sun.com
18819N/A- Bump to 1.4.5
18682N/A* Mon Apr 26 2010 - jeff.cai@sun.com
18682N/A- Enable CAST5. Both the OSR 8035 and Export control of evolution 2.4 has
18682N/A included this algo.
15769N/A* Thu Feb 05 2008 - jeff.cai@sun.com
15769N/A- Bump to 1.4.4
15769N/A- Remove patch -01-random-void.diff, upstreamed
15573N/A* Fri Dec 26 2008 - jeff.cai@sun.com
15573N/A- Change the bug db.
15449N/A* Wed Dec 03 2008 - jeff.cai@sun.com
15449N/A- Bump to 1.4.3
15449N/A- Add patch -01-random-void to fix #106568.
15449N/A The void function should not return a value.
15291N/A* Fri Oct 31 2008 - jeff.cai@sun.com
15291N/A- Changet the license info.
13387N/A* Thu Jun 12 2008 - jeff.cai@sun.com
15291N/A- Per as the suggestions from security team, disable cast5.
13354N/A* Fri Jun 06 2008 - jeff.cai@sun.com
13354N/A bump to 1.4.1
12089N/A* Thi Dec 20 2007 - patrick.ale@gmail.com
12089N/A- Change download protocol to FTP instead of HTTP
12089N/A HTTP:// leads to download failure where FTP:// does not
10374N/A* Tue Mar 27 2007 - laca@sun.com
10374N/A- clean up, enable parallel build
10314N/A* Fri Mar 16 2007 - jeff.cai@sun.com
10314N/A- Bump to 1.2.4.
10139N/A* Wed Oct 25 2006 - jedy.wang@sun.com
10139N/A- Bump to 1.2.3.
10139N/A* Tue Apr 04 2006 - halton.huo@sun.com
10139N/A- Remove .a/.la files in linux spec.
10139N/A* Mon Oct 10 2005 - halton.huo@sun.com
10139N/A- Bump to 1.2.2.
10139N/A* Wed Aug 31 2005 - halton.huo@sun.com
10139N/A- Bump to 1.2.1
10139N/A- Add URL and correct Source filed
10139N/A- Remove the obsoleted patch libgcrypt-1.1.12-sexp-valgrind-error.diff
10139N/A* Tue Sep 21 2004 - ghee.teo@sun.com
10139N/A- Move the spec file back to spec-files/Solaris/extra-specs so that
10139N/A it is now a solaris only spec file. Also moved its patch back to
10139N/A spec-files/Solaris/patches.
10139N/A* Wed Sep 01 2004 - ghee.teo@sun.com
10139N/A- renamed libgcrypt-1.1.12-sexp-valgrind-error.patch to
10139N/A libgcrypt-1.1.12-sexp-valgrind-error.diff
10139N/A* Wed May 14 2003 - mc@suse.de
10139N/A- add libgcrypt-1.1.12-sexp-valgrind-error.patch from Ximian
10139N/A needed for rc
10139N/A* Tue Feb 11 2003 - mc@suse.de
10139N/A- switch to version 1.1.12
10139N/A- gcry_pk_sign, gcry_pk_verify and gcry_pk_encrypt can now handle an
10139N/A optional pkcs1 flags parameter in the S-expression. A similar flag
10139N/A may be passed to gcry_pk_decrypt but it is only syntactically
10139N/A implemented.
10139N/A- New convenience macro gcry_md_get_asnoid.
10139N/A- There is now some real stuff in the manual.
10139N/A- New algorithm: MD4
10139N/A- Implemented ciphertext stealing.
10139N/A- Support for plain old DES
10139N/A- Smaller bugs fixes and a few new OIDs.
10139N/A* Thu Aug 01 2002 - poeml@suse.de
10139N/A- create package