base-specs/libgpg-error.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 16430 1630b44703c8
child 17865 b7ff02e93f66
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * base-specs/*.spec, *.spec: Change owner field to be parsable with spectool.
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 libgpg-error
11419
685cd8353e09 Security team will take over ownership of libgpg-error
qc161282
parents: 10589
diff changeset
     3
# Security team will take over ownership of libgpg-error
685cd8353e09 Security team will take over ownership of libgpg-error
qc161282
parents: 10589
diff changeset
     4
# So we stop upgrading it before that.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16430
diff changeset
     6
%define owner jefftsai
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
#
16430
1630b44703c8 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16279
diff changeset
     8
1630b44703c8 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16279
diff changeset
     9
%define OSR 8020:1.5
1630b44703c8 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16279
diff changeset
    10
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
Name:         libgpg-error
14958
aada279df541 2009-01-22 Jeff Cai <[email protected]>
qc161282
parents: 14540
diff changeset
    12
Version:      1.7
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
Summary:      libgpg-error - Common error codes for GnuPG, Libgcrypt etc.
14540
e1b502edb547 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 12613
diff changeset
    15
License:      GPL v2, LGPL v2.1
16279
e62ae3ffd032 2009-08-14 Jeff Cai <[email protected]>
qc161282
parents: 14958
diff changeset
    16
Vendor:       Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Group:        Development/Libraries
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Copyright:    LGPL
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/
9573
641500548fe7 2007-03-16 Jeff Cai<[email protected]>
jefftsai
parents: 9397
diff changeset
    21
Source:       ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Source1:      l10n-configure.sh
10588
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    23
# owner:laca type:feature date:2007-10-02
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    24
Patch1:       libgpg-error-01-gettext.diff
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
This is a library that defines common error values for all GnuPG
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
components.  Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
pinentry, SmartCard Daemon and possibly more in the future.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%setup -n %{name}-%{version}
10588
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    34
%patch1 -p1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
12012
36d40615f3e3 2008-04-03 Takao Fujiwara <[email protected]>
fujiwara
parents: 11419
diff changeset
    36
bash -x %SOURCE1 --enable-sun-linguas
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%build
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    39
%ifos linux
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    40
if [ -x /usr/bin/getconf ]; then
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    41
  CPUS=`getconf _NPROCESSORS_ONLN`
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    42
fi
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    43
%else
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    44
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    45
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    46
if test "x$CPUS" = "x" -o $CPUS = 0; then
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    47
  CPUS=1
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    48
fi
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    49
10588
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    50
glib-gettextize --force
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    51
aclocal $ACLOCAL_FLAGS -I ./m4
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    52
autoconf
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    53
export CFLAGS="%optflags"
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    54
export LDFLAGS="%_ldflags"
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    55
./configure \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    56
    --prefix=%{_prefix} \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    57
    --bindir=%{_bindir} \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    58
    --libdir=%{_libdir} \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    59
    --sysconfdir=/etc \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    60
    --libdir=%{_libdir} \
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    61
    --infodir=%{_infodir} 
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    62
10589
ecafcd0407c7 2007-10-02 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10588
diff changeset
    63
make -j$CPUS MSGFMT_OPTS=
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%install
10589
ecafcd0407c7 2007-10-02 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10588
diff changeset
    66
make DESTDIR=$RPM_BUILD_ROOT install MSGFMT_OPTS=
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
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
    68
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
    69
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
rm -fr $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
make distclean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%run_ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
/sbin/ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%defattr(-,root,root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%doc COPYING COPYING.LIB AUTHORS README INSTALL NEWS ChangeLog
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%attr(0755,root,root) %{_bindir}/gpg-error-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%attr(0755,root,root) %{_bindir}/gpg-error
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%attr(0755,root,root) %{_libdir}/*gpg-error.so*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%attr(0644,root,root) %{_libdir}/*gpg-error.a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%{_includedir}/gpg-error.h
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%{_datadir}/aclocal/gpg-error.m4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%changelog -n libgpg-error
14958
aada279df541 2009-01-22 Jeff Cai <[email protected]>
qc161282
parents: 14540
diff changeset
    91
* Thu Jan 22 2008 - [email protected]
aada279df541 2009-01-22 Jeff Cai <[email protected]>
qc161282
parents: 14540
diff changeset
    92
- Bump to 1.7
14540
e1b502edb547 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 12613
diff changeset
    93
* Fri Oct 31 2008 - [email protected]
e1b502edb547 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 12613
diff changeset
    94
- Change the license tag.
e1b502edb547 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 12613
diff changeset
    95
* Fri Jun 06 2008 - [email protected]
12613
7d620204d11f 2008-06-06 Jeff Cai <[email protected]>
qc161282
parents: 12012
diff changeset
    96
  Bump to 1.6
10588
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    97
* Tue Oct  2 2007 - [email protected]
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    98
- add patch gettext.diff that fixes the l10n build
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
    99
* Tue Mar 27 2007 - [email protected]
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9573
diff changeset
   100
- clean up, enable parallel build
9573
641500548fe7 2007-03-16 Jeff Cai<[email protected]>
jefftsai
parents: 9397
diff changeset
   101
* Fri Mar 16 2007 - [email protected]
641500548fe7 2007-03-16 Jeff Cai<[email protected]>
jefftsai
parents: 9397
diff changeset
   102
- Bump to 1.5.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
* Sat Jul 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
- Bump version to 1.3.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
* Tue Apr 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
- Remove .a/.la files part in linux spec. 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
* Wed Aug 31 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
- Initial version.