libgcrypt.spec revision 18616
10139N/A#
10139N/A# spec file for package libgcrypt
10139N/A#
20778N/A# Copyright (c) 2003 SuSE Linux AG, Nuernberg, Germany.
10139N/A# Copyright 2007 Sun Microsystems, Inc
10139N/A#
10139N/A# This file and all modifications and additions to the pristine
17185N/A# package are under the same license as the package itself.
10139N/A#
17177N/A# Security team will take over ownership of libgcrypt
18603N/A# Currtnly we stop upgrading it.
17177N/A%define owner jefftsai
10139N/A# bugdb: savannah.gnu.org
19112N/A#
10139N/A
20778N/A%define OSR 8035:1.2
10139N/A
10139N/AName: libgcrypt
18615N/AVersion: 1.4.4
10139N/ARelease: 1
20778N/ASummary: libgcrypt - The GNU crypto library
20216N/ALicense: GPL v2, LGPL v2.1
10139N/AVendor: G10 Code
16360N/AGroup: Development/Libraries/C and C++
16428N/AAutoreqprov: on
16428N/AURL: http://www.gnupg.org/
16428N/ASource: ftp://ftp.gnupg.org/gcrypt/libgcrypt/%{name}-%{version}.tar.bz2
16428N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
16428N/A
10491N/A%description
12088N/ALibgcrypt is a general purpose crypto library based on the code used in
10139N/AGnuPG (alpha version)
12088N/A
10139N/A%prep
12088N/A%setup -n %{name}-%{version}
12176N/A
12196N/A%build
12306N/A%ifos linux
12368N/Aif [ -x /usr/bin/getconf ]; then
20216N/A CPUS=`getconf _NPROCESSORS_ONLN`
20216N/Afi
13088N/A%else
13278N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
16768N/A%endif
20216N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
20118N/A CPUS=1
20216N/Afi
20127N/A
20216N/Aexport CFLAGS="%optflags"
10139N/Aexport LDFLAGS="%_ldflags"
10139N/A./configure \
10139N/A --prefix=%{_prefix} \
10139N/A --libdir=%{_libdir} \
10139N/A --bindir=%{_bindir} \
10139N/A --sysconfdir=/etc \
10139N/A --libdir=%{_libdir} \
10139N/A --infodir=%{_infodir} \
10139N/A --enable-maintainer-mode \
10139N/A --disable-asm \
10139N/A --enable-ciphers=arcfour:blowfish:des:aes:twofish:serpent:rfc2268:seed:camellia
10139N/A
10139N/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
10139N/A* Thu Feb 05 2008 - jeff.cai@sun.com
10139N/A- Bump to 1.4.4
10139N/A- Remove patch -01-random-void.diff, upstreamed
10139N/A* Fri Dec 26 2008 - jeff.cai@sun.com
10139N/A- Change the bug db.
10139N/A* Wed Dec 03 2008 - jeff.cai@sun.com
10139N/A- Bump to 1.4.3
10139N/A- Add patch -01-random-void to fix #106568.
12819N/A The void function should not return a value.
12288N/A* Fri Oct 31 2008 - jeff.cai@sun.com
20216N/A- Changet the license info.
15377N/A* Thu Jun 12 2008 - jeff.cai@sun.com
14363N/A- Per as the suggestions from security team, disable cast5.
15959N/A* Fri Jun 06 2008 - jeff.cai@sun.com
18549N/A bump to 1.4.1
20216N/A* Thi Dec 20 2007 - patrick.ale@gmail.com
20216N/A- Change download protocol to FTP instead of HTTP
20216N/A HTTP:// leads to download failure where FTP:// does not
20216N/A* Tue Mar 27 2007 - laca@sun.com
10139N/A- clean up, enable parallel build
10139N/A* Fri Mar 16 2007 - jeff.cai@sun.com
10139N/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
20778N/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
20216N/A- renamed libgcrypt-1.1.12-sexp-valgrind-error.patch to
10139N/A libgcrypt-1.1.12-sexp-valgrind-error.diff
18138N/A* Wed May 14 2003 - mc@suse.de
20127N/A- add libgcrypt-1.1.12-sexp-valgrind-error.patch from Ximian
10318N/A needed for rc
10318N/A* Tue Feb 11 2003 - mc@suse.de
10318N/A- switch to version 1.1.12
10318N/A- gcry_pk_sign, gcry_pk_verify and gcry_pk_encrypt can now handle an
10318N/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
12140N/A implemented.
20216N/A- New convenience macro gcry_md_get_asnoid.
16309N/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
10139N/A