base-specs/libgcrypt.spec
author yippi
Thu, 31 May 2012 20:16:52 +0000
changeset 22481 1ff6784d9b6f
parent 18068 3f31409ce53a
permissions -rw-r--r--
2012-05-31 Brian Cameron <[email protected]> * base-specs/shared-mime-info.spec: Bump to 1.0. * base-specs/nautilus.spec, base-specs/pulseaudio.spec, base-specs/gnome-settings-daemon.spec, specs/SUNWdconf.spec: Add patch comments. * base-specs/gnome-panel.spec: Add --disable-telepathy-glib so it does not build with this module we do not deliver.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
10369
3ff90ac75bbd Fix comment.
yippi
parents: 9632
diff changeset
     2
# spec file for package libgcrypt
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# Copyright (c) 2003 SuSE Linux AG, Nuernberg, Germany.
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
     5
# Copyright 2007 Sun Microsystems, Inc
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
     6
#
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     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
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16430
diff changeset
    12
%define owner jefftsai
14822
844a6be513e1 2008-12-26 Jeff Cai <[email protected]>
qc161282
parents: 14698
diff changeset
    13
# bugdb: savannah.gnu.org
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
16430
1630b44703c8 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16279
diff changeset
    16
%define OSR 8035:1.2
1630b44703c8 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16279
diff changeset
    17
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Name:         libgcrypt
18068
3f31409ce53a 2010-06-03 Jeff Cai <[email protected]>
qc161282
parents: 17931
diff changeset
    19
Version:      1.4.5
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Summary:      libgcrypt - The GNU crypto library
14540
e1b502edb547 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 12645
diff changeset
    22
License:      GPL v2, LGPL v2.1
17865
b7ff02e93f66 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 16434
diff changeset
    23
Vendor:       G10 Code
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Group:        Development/Libraries/C and C++
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Autoreqprov:  on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Libgcrypt is a general purpose crypto library based on the code used in
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
GnuPG (alpha version)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%setup -n %{name}-%{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
%build
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    38
%ifos linux
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    39
if [ -x /usr/bin/getconf ]; then
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    40
  CPUS=`getconf _NPROCESSORS_ONLN`
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    41
fi
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    42
%else
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    43
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    44
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    45
if test "x$CPUS" = "x" -o $CPUS = 0; then
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    46
  CPUS=1
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    47
fi
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    48
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    49
export CFLAGS="%optflags"
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    50
export LDFLAGS="%_ldflags"
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    51
./configure \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    52
    --prefix=%{_prefix} \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    53
    --libdir=%{_libdir} \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    54
    --bindir=%{_bindir} \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    55
    --sysconfdir=/etc \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    56
    --libdir=%{_libdir} \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    57
    --infodir=%{_infodir} \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    58
    --enable-maintainer-mode \
12645
12d9e053e0e3 2008-06-12 Jeff Cai<[email protected]>
qc161282
parents: 12612
diff changeset
    59
    --disable-asm \
17931
2c45897234ef 010-04-26 Jeff Cai <[email protected]>
qc161282
parents: 17865
diff changeset
    60
    --enable-ciphers=arcfour:blowfish:des:aes:twofish:serpent:rfc2268:seed:camellia:cast5
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    61
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    62
make -j$CPUS
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
make DESTDIR=$RPM_BUILD_ROOT install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%defattr(-,root,root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%doc AUTHORS BUGS COPYING COPYING.DOC COPYING.LIB ChangeLog INSTALL NEWS README README-alpha THANKS TODO VERSION
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%doc %_infodir/gc*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%{_libdir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
/usr/include/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
/usr/bin/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
/usr/share/aclocal/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%changelog -n libgcrypt
18068
3f31409ce53a 2010-06-03 Jeff Cai <[email protected]>
qc161282
parents: 17931
diff changeset
    79
* Thu Jun 03 2010 - [email protected]
3f31409ce53a 2010-06-03 Jeff Cai <[email protected]>
qc161282
parents: 17931
diff changeset
    80
- Bump to 1.4.5
17931
2c45897234ef 010-04-26 Jeff Cai <[email protected]>
qc161282
parents: 17865
diff changeset
    81
* Mon Apr 26 2010 - [email protected]
2c45897234ef 010-04-26 Jeff Cai <[email protected]>
qc161282
parents: 17865
diff changeset
    82
- Enable CAST5. Both the OSR 8035 and Export control of evolution 2.4 has 
2c45897234ef 010-04-26 Jeff Cai <[email protected]>
qc161282
parents: 17865
diff changeset
    83
  included this algo.
15018
4b723a78ca82 2009-02-05 Jeff Cai <[email protected]>
qc161282
parents: 14822
diff changeset
    84
* Thu Feb 05 2008 - [email protected]
4b723a78ca82 2009-02-05 Jeff Cai <[email protected]>
qc161282
parents: 14822
diff changeset
    85
- Bump to 1.4.4
4b723a78ca82 2009-02-05 Jeff Cai <[email protected]>
qc161282
parents: 14822
diff changeset
    86
- Remove patch -01-random-void.diff, upstreamed
14822
844a6be513e1 2008-12-26 Jeff Cai <[email protected]>
qc161282
parents: 14698
diff changeset
    87
* Fri Dec 26 2008 - [email protected]
844a6be513e1 2008-12-26 Jeff Cai <[email protected]>
qc161282
parents: 14698
diff changeset
    88
- Change the bug db.
14698
b9a06e1d73e3 2008-12-03 Jeff Cai <[email protected]>
qc161282
parents: 14540
diff changeset
    89
* Wed Dec 03 2008 - [email protected]
b9a06e1d73e3 2008-12-03 Jeff Cai <[email protected]>
qc161282
parents: 14540
diff changeset
    90
- Bump to 1.4.3
b9a06e1d73e3 2008-12-03 Jeff Cai <[email protected]>
qc161282
parents: 14540
diff changeset
    91
- Add patch -01-random-void to fix #106568.
b9a06e1d73e3 2008-12-03 Jeff Cai <[email protected]>
qc161282
parents: 14540
diff changeset
    92
  The void function should not return a value.
14540
e1b502edb547 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 12645
diff changeset
    93
* Fri Oct 31 2008 - [email protected]
e1b502edb547 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 12645
diff changeset
    94
- Changet the license info.
12645
12d9e053e0e3 2008-06-12 Jeff Cai<[email protected]>
qc161282
parents: 12612
diff changeset
    95
* Thu Jun 12 2008 - [email protected]
14540
e1b502edb547 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 12645
diff changeset
    96
- Per as the suggestions from security team, disable cast5.
12612
84f3f5e4d351 2008-06-06 Jeff Cai<[email protected]>
qc161282
parents: 12012
diff changeset
    97
* Fri Jun 06 2008 - [email protected]
84f3f5e4d351 2008-06-06 Jeff Cai<[email protected]>
qc161282
parents: 12012
diff changeset
    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
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
   102
* Tue Mar 27 2007 - [email protected]
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
   103
- clean up, enable parallel build
9572
4d9191998803 2007-03-16 Jeff Cai <[email protected]>
jefftsai
parents: 9397
diff changeset
   104
* Fri Mar 16 2007 - [email protected]
4d9191998803 2007-03-16 Jeff Cai <[email protected]>
jefftsai
parents: 9397
diff changeset
   105
- Bump to 1.2.4.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
* Wed Oct 25 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
- Bump to 1.2.3.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
* Tue Apr 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
- Remove .a/.la files in linux spec. 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
* Mon Oct 10 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
- Bump to 1.2.2.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
* Wed Aug 31 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
- Bump to 1.2.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
- Add URL and correct Source filed
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
- Remove the obsoleted patch libgcrypt-1.1.12-sexp-valgrind-error.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
* Tue Sep 21 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
- Move the spec file back to spec-files/Solaris/extra-specs so that
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
  it is now a solaris only spec file. Also moved its patch back to
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
  spec-files/Solaris/patches.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
* Wed Sep 01 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
- renamed libgcrypt-1.1.12-sexp-valgrind-error.patch to
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
  libgcrypt-1.1.12-sexp-valgrind-error.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
* Wed May 14 2003 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
- add libgcrypt-1.1.12-sexp-valgrind-error.patch from Ximian
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
  needed for rc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
* Tue Feb 11 2003 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
- switch to version 1.1.12
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
- gcry_pk_sign, gcry_pk_verify and gcry_pk_encrypt can now handle an
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
  optional pkcs1 flags parameter in the S-expression.  A similar flag
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
  may be passed to gcry_pk_decrypt but it is only syntactically
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
  implemented.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
- New convenience macro gcry_md_get_asnoid.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
- There is now some real stuff in the manual.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
- New algorithm: MD4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
- Implemented ciphertext stealing.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
- Support for plain old DES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
- Smaller bugs fixes and a few new OIDs.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
* Thu Aug 01 2002 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
- create package