base-specs/libgcrypt.spec
author laca
Wed, 28 Mar 2007 02:52:43 +0000
changeset 9632 9dc8ece60fdb
parent 9572 4d9191998803
child 10369 3ff90ac75bbd
permissions -rw-r--r--
2007-03-27 Laszlo (Laca) Peter <[email protected]> * SUNWgnutls.spec: enable 64-bit build * SUNWlibgcrypt.spec: enable 64-bit build * SUNWlibgpg-error.spec: enable 64-bit build * base-specs/gnutls.spec: clean up * base-specs/libgcrypt.spec: clean up and enable parallel build * base-specs/libgpg-error.spec: clean up and enable parallel build
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
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package libgcrypt (Version 1.2.1)
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
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: jefftsai
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
Name:         libgcrypt
9572
4d9191998803 2007-03-16 Jeff Cai <[email protected]>
jefftsai
parents: 9397
diff changeset
    14
Version:      1.2.4
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Summary:      libgcrypt - The GNU crypto library
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
License:      GPL, Other License(s), see package
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Group:        Development/Libraries/C and C++
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Autoreqprov:  on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
URL:          http://www.gnupg.org/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Source:       http://ftp.gnupg.org/gcrypt/libgcrypt/%{name}-%{version}.tar.bz2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Source1:      l10n-configure.sh
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
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
    27
GnuPG (alpha version)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
%setup -n %{name}-%{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
bash -x %SOURCE1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%build
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    34
%ifos linux
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    35
if [ -x /usr/bin/getconf ]; then
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    36
  CPUS=`getconf _NPROCESSORS_ONLN`
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    37
fi
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    38
%else
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    39
  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
    40
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    41
if test "x$CPUS" = "x" -o $CPUS = 0; then
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    42
  CPUS=1
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    43
fi
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    44
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    45
export CFLAGS="%optflags"
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    46
export LDFLAGS="%_ldflags"
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    47
./configure \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    48
    --prefix=%{_prefix} \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    49
    --libdir=%{_libdir} \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    50
    --bindir=%{_bindir} \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    51
    --sysconfdir=/etc \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    52
    --libdir=%{_libdir} \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    53
    --infodir=%{_infodir} \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    54
    --enable-maintainer-mode \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    55
    --disable-asm
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    56
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    57
make -j$CPUS
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
make DESTDIR=$RPM_BUILD_ROOT install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
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
    62
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
    63
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%defattr(-,root,root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%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
    67
%doc %_infodir/gc*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%{_libdir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
/usr/include/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
/usr/bin/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
/usr/share/aclocal/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%changelog -n libgcrypt
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    74
* Tue Mar 27 2007 - [email protected]
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9572
diff changeset
    75
- clean up, enable parallel build
9572
4d9191998803 2007-03-16 Jeff Cai <[email protected]>
jefftsai
parents: 9397
diff changeset
    76
* Fri Mar 16 2007 - [email protected]
4d9191998803 2007-03-16 Jeff Cai <[email protected]>
jefftsai
parents: 9397
diff changeset
    77
- Bump to 1.2.4.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
* Wed Oct 25 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
- Bump to 1.2.3.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
* Tue Apr 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
- Remove .a/.la files in linux spec. 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
* Mon Oct 10 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
- Bump to 1.2.2.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
* Wed Aug 31 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
- Bump to 1.2.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
- Add URL and correct Source filed
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
- 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
    88
* Tue Sep 21 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
- 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
    90
  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
    91
  spec-files/Solaris/patches.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
* Wed Sep 01 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
- 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
    94
  libgcrypt-1.1.12-sexp-valgrind-error.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
* Wed May 14 2003 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
- 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
    97
  needed for rc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
* Tue Feb 11 2003 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
- switch to version 1.1.12
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
- 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
   101
  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
   102
  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
   103
  implemented.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
- New convenience macro gcry_md_get_asnoid.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
- There is now some real stuff in the manual.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
- New algorithm: MD4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
- Implemented ciphertext stealing.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
- Support for plain old DES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
- Smaller bugs fixes and a few new OIDs.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
* Thu Aug 01 2002 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
- create package