SUNWlibgpg-error.spec
author davelam
Thu, 07 Aug 2008 02:31:31 +0000
branchgnome-2-22
changeset 12491 b2fc226f1836
parent 11949 c10066be9ebe
child 12919 cef88973ecbc
permissions -rw-r--r--
2008-08-07 Dave Lin <[email protected]> * closed/SUNWflash-player-plugin.spec: Hack the version number from 9.0.125 9.0.1250 to fix the integration issue, which was caused by the incorrect version number(9.0.1124 should be 9.0.124) in the previous version bump.
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}
11949
c10066be9ebe 2008-03-28 Irene Huang <[email protected]>
sh162551
parents: 10627
diff changeset
    25
SUNW_Copyright:%{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
%include default-depend.inc
10627
cdb872d49628 2007-10-09 Damien Carbery <[email protected]>
dcarbery
parents: 10588
diff changeset
    28
Requires: SUNWgnome-base-libs
cdb872d49628 2007-10-09 Damien Carbery <[email protected]>
dcarbery
parents: 10588
diff changeset
    29
BuildRequires: SUNWgnome-base-libs-devel
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Summary:       %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
SUNW_BaseDir:  %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Requires:      %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
10588
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    37
%if %option_with_l10n
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    38
%package l10n
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    39
Summary:                 %{summary} - l10n files
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    40
SUNW_BaseDir:            %{_basedir}
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    41
%include default-depend.inc
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    42
Requires:                %{name}
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    43
%endif
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    44
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
mkdir -p %name-%version
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    48
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    49
mkdir -p %name-%version/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    50
%libgpgerror64.prep -d %name-%version/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    51
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    52
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    53
mkdir -p %name-%version/%base_arch
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    54
%libgpgerror.prep -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%build
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    57
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    58
%libgpgerror64.build -d %name-%version/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    59
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    60
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    61
%libgpgerror.build -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%install
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    64
rm -rf $RPM_BUILD_ROOT
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    65
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    66
%libgpgerror64.install -d %name-%version/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    67
#remove this file because SUNWgnome-base-libs deliver same file
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    68
rm -f $RPM_BUILD_ROOT%{_libdir}/%_arch64/charset.alias
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    69
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    70
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    71
%libgpgerror.install -d %name-%version/%base_arch
9397
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
#remove this file because SUNWgnome-base-libs deliver same file
9573
641500548fe7 2007-03-16 Jeff Cai<[email protected]>
jefftsai
parents: 9397
diff changeset
    74
rm -f $RPM_BUILD_ROOT%{_libdir}/charset.alias
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
10588
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    76
%if %option_with_l10n
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    77
%else
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    78
# REMOVE l10n FILES
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    79
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    80
%endif
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
    81
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%{?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
    83
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%{_libdir}/lib*.so*
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    91
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    92
%{_libdir}/%{_arch64}/lib*.so*
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
    93
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
%dir %attr (0755, root, other) %{_datadir}/aclocal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
%{_datadir}/aclocal/*
9584
5cd9090b68b5 2007-03-19 Damien Carbery <[email protected]>
dcarbery
parents: 9573
diff changeset
   104
%{_datadir}/common-lisp
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
10588
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
   106
%if %option_with_l10n
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
   107
%files l10n
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
   108
%defattr (-, root, bin)
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
   109
%dir %attr (0755, root, sys) %{_datadir}
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
   110
%attr (-, root, other) %{_datadir}/locale
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
   111
%endif
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
   112
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
%changelog
10627
cdb872d49628 2007-10-09 Damien Carbery <[email protected]>
dcarbery
parents: 10588
diff changeset
   114
* Tue Oct  9 2007 - [email protected]
cdb872d49628 2007-10-09 Damien Carbery <[email protected]>
dcarbery
parents: 10588
diff changeset
   115
- Add Build/Requires SUNWgnome-base-libs/-devel for glib-gettextize.
10588
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
   116
* Tue Oct  2 2007 - [email protected]
4b1e55de29a5 2007-10-01 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9632
diff changeset
   117
- add l10n subpkg
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
   118
* Tue Mar 27 2007 - [email protected]
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9584
diff changeset
   119
- enable 64-bit build
9584
5cd9090b68b5 2007-03-19 Damien Carbery <[email protected]>
dcarbery
parents: 9573
diff changeset
   120
* Mon Jul 19 2007 - [email protected]
5cd9090b68b5 2007-03-19 Damien Carbery <[email protected]>
dcarbery
parents: 9573
diff changeset
   121
- 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
   122
* Sat Jul 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
- Add l10n package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
* Thu May 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
- Change %defattr to (-, root, other).
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
* Thu May 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
- merge -share pkg(s) into the base pkg(s)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
* Thu Apr 06 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
- Move -config file to -devel.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
* Tue Apr 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
- Alter remove .a/.la files part into linux spec. 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
* Thu Mar 30 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
- Remove all *.a/*.la files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
* Fri Sep 09 2005 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
- remove unpackaged files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
* Wed Aug 31 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
- initial version created