9397
|
1 |
#
|
|
2 |
# spec file for package libgcrypt (Version 1.2.1)
|
|
3 |
#
|
|
4 |
# Copyright (c) 2003 SuSE Linux AG, Nuernberg, Germany.
|
9632
|
5 |
# Copyright 2007 Sun Microsystems, Inc
|
|
6 |
#
|
9397
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
|
10 |
# Owner: jefftsai
|
|
11 |
#
|
|
12 |
|
|
13 |
Name: libgcrypt
|
9572
|
14 |
Version: 1.2.4
|
9397
|
15 |
Release: 1
|
|
16 |
Summary: libgcrypt - The GNU crypto library
|
|
17 |
License: GPL, Other License(s), see package
|
|
18 |
Group: Development/Libraries/C and C++
|
|
19 |
Autoreqprov: on
|
|
20 |
URL: http://www.gnupg.org/
|
|
21 |
Source: http://ftp.gnupg.org/gcrypt/libgcrypt/%{name}-%{version}.tar.bz2
|
|
22 |
Source1: l10n-configure.sh
|
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
24 |
|
|
25 |
%description
|
|
26 |
Libgcrypt is a general purpose crypto library based on the code used in
|
|
27 |
GnuPG (alpha version)
|
|
28 |
|
|
29 |
%prep
|
|
30 |
%setup -n %{name}-%{version}
|
|
31 |
bash -x %SOURCE1
|
|
32 |
|
|
33 |
%build
|
9632
|
34 |
%ifos linux
|
|
35 |
if [ -x /usr/bin/getconf ]; then
|
|
36 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
37 |
fi
|
|
38 |
%else
|
|
39 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
40 |
%endif
|
|
41 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
42 |
CPUS=1
|
|
43 |
fi
|
|
44 |
|
|
45 |
export CFLAGS="%optflags"
|
|
46 |
export LDFLAGS="%_ldflags"
|
|
47 |
./configure \
|
|
48 |
--prefix=%{_prefix} \
|
|
49 |
--libdir=%{_libdir} \
|
|
50 |
--bindir=%{_bindir} \
|
|
51 |
--sysconfdir=/etc \
|
|
52 |
--libdir=%{_libdir} \
|
|
53 |
--infodir=%{_infodir} \
|
|
54 |
--enable-maintainer-mode \
|
|
55 |
--disable-asm
|
|
56 |
|
|
57 |
make -j$CPUS
|
9397
|
58 |
|
|
59 |
%install
|
|
60 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
61 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
62 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
|
|
63 |
|
|
64 |
%files
|
|
65 |
%defattr(-,root,root)
|
|
66 |
%doc AUTHORS BUGS COPYING COPYING.DOC COPYING.LIB ChangeLog INSTALL NEWS README README-alpha THANKS TODO VERSION
|
|
67 |
%doc %_infodir/gc*
|
|
68 |
%{_libdir}/*
|
|
69 |
/usr/include/*
|
|
70 |
/usr/bin/*
|
|
71 |
/usr/share/aclocal/*
|
|
72 |
|
|
73 |
%changelog -n libgcrypt
|
9632
|
74 |
* Tue Mar 27 2007 - [email protected]
|
|
75 |
- clean up, enable parallel build
|
9572
|
76 |
* Fri Mar 16 2007 - [email protected]
|
|
77 |
- Bump to 1.2.4.
|
9397
|
78 |
* Wed Oct 25 2006 - [email protected]
|
|
79 |
- Bump to 1.2.3.
|
|
80 |
* Tue Apr 04 2006 - [email protected]
|
|
81 |
- Remove .a/.la files in linux spec.
|
|
82 |
* Mon Oct 10 2005 - [email protected]
|
|
83 |
- Bump to 1.2.2.
|
|
84 |
* Wed Aug 31 2005 - [email protected]
|
|
85 |
- Bump to 1.2.1
|
|
86 |
- Add URL and correct Source filed
|
|
87 |
- Remove the obsoleted patch libgcrypt-1.1.12-sexp-valgrind-error.diff
|
|
88 |
* Tue Sep 21 2004 - [email protected]
|
|
89 |
- Move the spec file back to spec-files/Solaris/extra-specs so that
|
|
90 |
it is now a solaris only spec file. Also moved its patch back to
|
|
91 |
spec-files/Solaris/patches.
|
|
92 |
* Wed Sep 01 2004 - [email protected]
|
|
93 |
- renamed libgcrypt-1.1.12-sexp-valgrind-error.patch to
|
|
94 |
libgcrypt-1.1.12-sexp-valgrind-error.diff
|
|
95 |
* Wed May 14 2003 - [email protected]
|
|
96 |
- add libgcrypt-1.1.12-sexp-valgrind-error.patch from Ximian
|
|
97 |
needed for rc
|
|
98 |
* Tue Feb 11 2003 - [email protected]
|
|
99 |
- switch to version 1.1.12
|
|
100 |
- gcry_pk_sign, gcry_pk_verify and gcry_pk_encrypt can now handle an
|
|
101 |
optional pkcs1 flags parameter in the S-expression. A similar flag
|
|
102 |
may be passed to gcry_pk_decrypt but it is only syntactically
|
|
103 |
implemented.
|
|
104 |
- New convenience macro gcry_md_get_asnoid.
|
|
105 |
- There is now some real stuff in the manual.
|
|
106 |
- New algorithm: MD4
|
|
107 |
- Implemented ciphertext stealing.
|
|
108 |
- Support for plain old DES
|
|
109 |
- Smaller bugs fixes and a few new OIDs.
|
|
110 |
* Thu Aug 01 2002 - [email protected]
|
|
111 |
- create package
|