SUNWlibgpg-error.spec
author laca
Wed, 28 Mar 2007 02:52:43 +0000
changeset 9632 9dc8ece60fdb
parent 9584 5cd9090b68b5
child 10588 4b1e55de29a5
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 SUNWlibgpg-error
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
# includes module(s): libgpg-error
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# Copyright (c) 2004 Sun Microsystems, Inc.
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
%include Solaris.inc
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    13
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    14
%include arch64.inc
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    15
%use libgpgerror64 = libgpg-error.spec
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    16
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    17
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    18
%include base.inc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
%use libgpgerror = libgpg-error.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Name:          SUNWlibgpg-error
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Summary:       Common error codes for GnuPG, libgcrypt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Version:       %{libgpgerror.version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
SUNW_BaseDir:  %{_basedir}
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
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Summary:       %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
SUNW_BaseDir:  %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Requires:      %{name}
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
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
mkdir -p %name-%version
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    37
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    38
mkdir -p %name-%version/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    39
%libgpgerror64.prep -d %name-%version/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    40
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    41
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    42
mkdir -p %name-%version/%base_arch
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    43
%libgpgerror.prep -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%build
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    46
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    47
%libgpgerror64.build -d %name-%version/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    48
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    49
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    50
%libgpgerror.build -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%install
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    53
rm -rf $RPM_BUILD_ROOT
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    54
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    55
%libgpgerror64.install -d %name-%version/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    56
#remove this file because SUNWgnome-base-libs deliver same file
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    57
rm -f $RPM_BUILD_ROOT%{_libdir}/%_arch64/charset.alias
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    58
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    59
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    60
%libgpgerror.install -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
#remove this file because SUNWgnome-base-libs deliver same file
9573
641500548fe7 2007-03-16 Jeff Cai<[email protected]>
jefftsai
parents: 9397
diff changeset
    63
rm -f $RPM_BUILD_ROOT%{_libdir}/charset.alias
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
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
rm -rf $RPM_BUILD_ROOT
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
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%{_libdir}/lib*.so*
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    74
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    75
%{_libdir}/%{_arch64}/lib*.so*
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    76
%endif
9397
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
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%dir %attr (0755, root, other) %{_datadir}/aclocal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%{_datadir}/aclocal/*
9584
5cd9090b68b5 2007-03-19 Damien Carbery <[email protected]>
dcarbery
parents: 9573
diff changeset
    87
%{_datadir}/common-lisp
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%changelog
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    90
* Tue Mar 27 2007 - [email protected]
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    91
- enable 64-bit build
9584
5cd9090b68b5 2007-03-19 Damien Carbery <[email protected]>
dcarbery
parents: 9573
diff changeset
    92
* Mon Jul 19 2007 - [email protected]
5cd9090b68b5 2007-03-19 Damien Carbery <[email protected]>
dcarbery
parents: 9573
diff changeset
    93
- Remove l10n package and update %files after libgpg-error bumped to 1.5.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
* Sat Jul 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
- Add l10n package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
* Thu May 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
- Change %defattr to (-, root, other).
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
* Thu May 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
- merge -share pkg(s) into the base pkg(s)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
* Thu Apr 06 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
- Move -config file to -devel.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
* Tue Apr 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
- Alter remove .a/.la files part into linux spec. 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
* Thu Mar 30 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
- Remove all *.a/*.la files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
* Fri Sep 09 2005 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
- remove unpackaged files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
* Wed Aug 31 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
- initial version created