author | convert-repo |
Tue, 28 Sep 2010 11:41:29 +0000 | |
changeset 20122 | 34a34bffcb68 |
parent 18068 | 3f31409ce53a |
permissions | -rw-r--r-- |
9397 | 1 |
# |
10369 | 2 |
# spec file for package libgcrypt |
9397 | 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 |
# |
|
11418
cb02e5c30c68
Security team will take over ownership of libgcrypt
qc161282
parents:
11347
diff
changeset
|
10 |
# Security team will take over ownership of libgcrypt |
cb02e5c30c68
Security team will take over ownership of libgcrypt
qc161282
parents:
11347
diff
changeset
|
11 |
# Currtnly we stop upgrading it. |
16434 | 12 |
%define owner jefftsai |
14822 | 13 |
# bugdb: savannah.gnu.org |
9397 | 14 |
# |
15 |
||
16430 | 16 |
%define OSR 8035:1.2 |
17 |
||
9397 | 18 |
Name: libgcrypt |
18068 | 19 |
Version: 1.4.5 |
9397 | 20 |
Release: 1 |
21 |
Summary: libgcrypt - The GNU crypto library |
|
14540 | 22 |
License: GPL v2, LGPL v2.1 |
17865 | 23 |
Vendor: G10 Code |
9397 | 24 |
Group: Development/Libraries/C and C++ |
25 |
Autoreqprov: on |
|
26 |
URL: http://www.gnupg.org/ |
|
11347
9896bbeaaf71
* SUNWperl-xml-parser.spec: bump up XML-Simple to 2.18 (2.16 N/A)
pale
parents:
10369
diff
changeset
|
27 |
Source: ftp://ftp.gnupg.org/gcrypt/libgcrypt/%{name}-%{version}.tar.bz2 |
9397 | 28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
29 |
||
30 |
%description |
|
31 |
Libgcrypt is a general purpose crypto library based on the code used in |
|
32 |
GnuPG (alpha version) |
|
33 |
||
34 |
%prep |
|
35 |
%setup -n %{name}-%{version} |
|
36 |
||
37 |
%build |
|
9632 | 38 |
%ifos linux |
39 |
if [ -x /usr/bin/getconf ]; then |
|
40 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
41 |
fi |
|
42 |
%else |
|
43 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
44 |
%endif |
|
45 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
46 |
CPUS=1 |
|
47 |
fi |
|
48 |
||
49 |
export CFLAGS="%optflags" |
|
50 |
export LDFLAGS="%_ldflags" |
|
51 |
./configure \ |
|
52 |
--prefix=%{_prefix} \ |
|
53 |
--libdir=%{_libdir} \ |
|
54 |
--bindir=%{_bindir} \ |
|
55 |
--sysconfdir=/etc \ |
|
56 |
--libdir=%{_libdir} \ |
|
57 |
--infodir=%{_infodir} \ |
|
58 |
--enable-maintainer-mode \ |
|
12645 | 59 |
--disable-asm \ |
17931 | 60 |
--enable-ciphers=arcfour:blowfish:des:aes:twofish:serpent:rfc2268:seed:camellia:cast5 |
9632 | 61 |
|
62 |
make -j$CPUS |
|
9397 | 63 |
|
64 |
%install |
|
65 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
66 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
|
67 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' |
|
68 |
||
69 |
%files |
|
70 |
%defattr(-,root,root) |
|
71 |
%doc AUTHORS BUGS COPYING COPYING.DOC COPYING.LIB ChangeLog INSTALL NEWS README README-alpha THANKS TODO VERSION |
|
72 |
%doc %_infodir/gc* |
|
73 |
%{_libdir}/* |
|
74 |
/usr/include/* |
|
75 |
/usr/bin/* |
|
76 |
/usr/share/aclocal/* |
|
77 |
||
78 |
%changelog -n libgcrypt |
|
18068 | 79 |
* Thu Jun 03 2010 - [email protected] |
80 |
- Bump to 1.4.5 |
|
17931 | 81 |
* Mon Apr 26 2010 - [email protected] |
82 |
- Enable CAST5. Both the OSR 8035 and Export control of evolution 2.4 has |
|
83 |
included this algo. |
|
15018 | 84 |
* Thu Feb 05 2008 - [email protected] |
85 |
- Bump to 1.4.4 |
|
86 |
- Remove patch -01-random-void.diff, upstreamed |
|
14822 | 87 |
* Fri Dec 26 2008 - [email protected] |
88 |
- Change the bug db. |
|
14698 | 89 |
* Wed Dec 03 2008 - [email protected] |
90 |
- Bump to 1.4.3 |
|
91 |
- Add patch -01-random-void to fix #106568. |
|
92 |
The void function should not return a value. |
|
14540 | 93 |
* Fri Oct 31 2008 - [email protected] |
94 |
- Changet the license info. |
|
12645 | 95 |
* Thu Jun 12 2008 - [email protected] |
14540 | 96 |
- Per as the suggestions from security team, disable cast5. |
12612 | 97 |
* Fri Jun 06 2008 - [email protected] |
98 |
bump to 1.4.1 |
|
11347
9896bbeaaf71
* SUNWperl-xml-parser.spec: bump up XML-Simple to 2.18 (2.16 N/A)
pale
parents:
10369
diff
changeset
|
99 |
* Thi Dec 20 2007 - [email protected] |
9896bbeaaf71
* SUNWperl-xml-parser.spec: bump up XML-Simple to 2.18 (2.16 N/A)
pale
parents:
10369
diff
changeset
|
100 |
- Change download protocol to FTP instead of HTTP |
9896bbeaaf71
* SUNWperl-xml-parser.spec: bump up XML-Simple to 2.18 (2.16 N/A)
pale
parents:
10369
diff
changeset
|
101 |
HTTP:// leads to download failure where FTP:// does not |
9632 | 102 |
* Tue Mar 27 2007 - [email protected] |
103 |
- clean up, enable parallel build |
|
9572 | 104 |
* Fri Mar 16 2007 - [email protected] |
105 |
- Bump to 1.2.4. |
|
9397 | 106 |
* Wed Oct 25 2006 - [email protected] |
107 |
- Bump to 1.2.3. |
|
108 |
* Tue Apr 04 2006 - [email protected] |
|
109 |
- Remove .a/.la files in linux spec. |
|
110 |
* Mon Oct 10 2005 - [email protected] |
|
111 |
- Bump to 1.2.2. |
|
112 |
* Wed Aug 31 2005 - [email protected] |
|
113 |
- Bump to 1.2.1 |
|
114 |
- Add URL and correct Source filed |
|
115 |
- Remove the obsoleted patch libgcrypt-1.1.12-sexp-valgrind-error.diff |
|
116 |
* Tue Sep 21 2004 - [email protected] |
|
117 |
- Move the spec file back to spec-files/Solaris/extra-specs so that |
|
118 |
it is now a solaris only spec file. Also moved its patch back to |
|
119 |
spec-files/Solaris/patches. |
|
120 |
* Wed Sep 01 2004 - [email protected] |
|
121 |
- renamed libgcrypt-1.1.12-sexp-valgrind-error.patch to |
|
122 |
libgcrypt-1.1.12-sexp-valgrind-error.diff |
|
123 |
* Wed May 14 2003 - [email protected] |
|
124 |
- add libgcrypt-1.1.12-sexp-valgrind-error.patch from Ximian |
|
125 |
needed for rc |
|
126 |
* Tue Feb 11 2003 - [email protected] |
|
127 |
- switch to version 1.1.12 |
|
128 |
- gcry_pk_sign, gcry_pk_verify and gcry_pk_encrypt can now handle an |
|
129 |
optional pkcs1 flags parameter in the S-expression. A similar flag |
|
130 |
may be passed to gcry_pk_decrypt but it is only syntactically |
|
131 |
implemented. |
|
132 |
- New convenience macro gcry_md_get_asnoid. |
|
133 |
- There is now some real stuff in the manual. |
|
134 |
- New algorithm: MD4 |
|
135 |
- Implemented ciphertext stealing. |
|
136 |
- Support for plain old DES |
|
137 |
- Smaller bugs fixes and a few new OIDs. |
|
138 |
* Thu Aug 01 2002 - [email protected] |
|
139 |
- create package |