libgcrypt.spec revision 12160
10139N/A#
10139N/A# spec file for package libgcrypt
10139N/A#
17185N/A# Copyright (c) 2003 SuSE Linux AG, Nuernberg, Germany.
13600N/A# Copyright 2007 Sun Microsystems, Inc
10139N/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#
10139N/A# Security team will take over ownership of libgcrypt
10139N/A# Currtnly we stop upgrading it.
10139N/A# Owner: jefftsai
10139N/A#
15550N/A
16843N/AName: libgcrypt
10139N/AVersion: 1.2.4
10139N/ARelease: 1
10139N/ASummary: libgcrypt - The GNU crypto library
10139N/ALicense: GPL, Other License(s), see package
10139N/AGroup: Development/Libraries/C and C++
10139N/AAutoreqprov: on
10139N/AURL: http://www.gnupg.org/
10139N/ASource: ftp://ftp.gnupg.org/gcrypt/libgcrypt/%{name}-%{version}.tar.bz2
10544N/ASource1: l10n-configure.sh
16843N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
16843N/A
16843N/A%description
10139N/ALibgcrypt is a general purpose crypto library based on the code used in
16555N/AGnuPG (alpha version)
16555N/A
16555N/A%prep
16555N/A%setup -n %{name}-%{version}
16633N/Abash -x %SOURCE1
11999N/A
16051N/A%build
10354N/A%ifos linux
10544N/Aif [ -x /usr/bin/getconf ]; then
10544N/A CPUS=`getconf _NPROCESSORS_ONLN`
16051N/Afi
15550N/A%else
16845N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
16845N/A%endif
16843N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
14514N/A CPUS=1
15191N/Afi
16051N/A
15191N/Aexport CFLAGS="%optflags"
16597N/Aexport LDFLAGS="%_ldflags"
16051N/A./configure \
16051N/A --prefix=%{_prefix} \
15715N/A --libdir=%{_libdir} \
16845N/A --bindir=%{_bindir} \
16845N/A --sysconfdir=/etc \
16845N/A --libdir=%{_libdir} \
16053N/A --infodir=%{_infodir} \
16053N/A --enable-maintainer-mode \
16053N/A --disable-asm
16053N/A
16053N/Amake -j$CPUS
16053N/A
16053N/A%install
16053N/Amake DESTDIR=$RPM_BUILD_ROOT install
17339N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
17339N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
17339N/A
16053N/A%files
16053N/A%defattr(-,root,root)
16053N/A%doc AUTHORS BUGS COPYING COPYING.DOC COPYING.LIB ChangeLog INSTALL NEWS README README-alpha THANKS TODO VERSION
16555N/A%doc %_infodir/gc*
16555N/A%{_libdir}/*
16555N/A/usr/include/*
16555N/A/usr/bin/*
16555N/A/usr/share/aclocal/*
16601N/A
16555N/A%changelog -n libgcrypt
16555N/A* Thi Dec 20 2007 - patrick.ale@gmail.com
16601N/A- Change download protocol to FTP instead of HTTP
16846N/A HTTP:// leads to download failure where FTP:// does not
16845N/A* Tue Mar 27 2007 - laca@sun.com
16845N/A- clean up, enable parallel build
16845N/A* Fri Mar 16 2007 - jeff.cai@sun.com
16845N/A- Bump to 1.2.4.
16845N/A* Wed Oct 25 2006 - jedy.wang@sun.com
16845N/A- Bump to 1.2.3.
16555N/A* Tue Apr 04 2006 - halton.huo@sun.com
16916N/A- Remove .a/.la files in linux spec.
16916N/A* Mon Oct 10 2005 - halton.huo@sun.com
16916N/A- Bump to 1.2.2.
17214N/A* Wed Aug 31 2005 - halton.huo@sun.com
17214N/A- Bump to 1.2.1
17214N/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
10139N/A