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