SUNWgtk2.spec
author hawklu
Fri, 26 Feb 2010 03:26:31 +0000
branchgnome-2-28
changeset 18643 8c2f88f3d983
parent 16792 72d1dadc62bf
child 17637 07e11876b396
permissions -rw-r--r--
2010-02-26 Brian Lu <[email protected]> * SUNWsqlite3.spec: * base-specs/sqlite.spec: * copyright/SUNWsqlite3.copyright: * ext-sources/mapfile-libsqlite3: * ext-sources/pkgIndex.tcl: * manpages/Makefile: * manpages/man1/sqlite3.1: * patches/sqlite3-01-using-mapfile.diff: Ship sqlite3 packages
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15558
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     1
#
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     2
# spec file for package SUNWgtk2
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     3
#
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     4
# includes module(s): gtk2
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     5
#
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     6
# Copyright 2009 Sun Microsystems, Inc.
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     8
# package are under the same license as the package itself.
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     9
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16023
diff changeset
    10
%define owner erwannc
15558
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    11
#
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    12
%include Solaris.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    13
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    14
%ifarch amd64 sparcv9
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    15
%include arch64.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    16
%define _sysconfdir /etc/%{_arch64}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    17
%use gtk_64 = gtk2.spec
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    18
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    19
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    20
%include base.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    21
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    22
%use gtk = gtk2.spec
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    23
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    24
Name:                    SUNWgtk2
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    25
Summary:                 GTK+ - GIMP toolkit libraries
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    26
Version:                 %{gtk.version}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    27
Source:                  %{name}-manpages-0.1.tar.gz
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    28
SUNW_BaseDir:            %{_basedir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    29
SUNW_Copyright:          %{name}.copyright
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    30
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    31
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    32
%include default-depend.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    33
Requires: SUNWgtk2-root
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    34
Requires: SUNWglib2
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    35
Requires: SUNWcairo
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    36
Requires: SUNWpango
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    37
Requires: SUNWlibatk
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    38
Requires: SUNWjpg
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    39
Requires: SUNWpng
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    40
Requires: SUNWTiff
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    41
Requires: SUNWlibmsr
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    42
Requires: SUNWxwplt
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    43
Requires: SUNWxwrtl
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    44
Requires: SUNWdesktop-cache
15973
4f7e7a3bb108 fix dependency issues(CR6852720)
davelam
parents: 15833
diff changeset
    45
Requires: SUNWxorg-clientlibs
15558
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    46
BuildRequires: SUNWglib2-devel
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    47
BuildRequires: SUNWcairo-devel
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    48
BuildRequires: SUNWpango-devel
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    49
BuildRequires: SUNWlibatk-devel
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    50
BuildRequires: SUNWpng-devel
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    51
BuildRequires: SUNWjpg-devel
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    52
BuildRequires: SUNWTiff-devel
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    53
BuildRequires: SUNWxorg-headers
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    54
BuildRequires: SUNWlibm
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    55
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    56
%package root
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    57
Summary:                 %{summary} - / filesystem
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    58
SUNW_BaseDir:            /
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    59
%include default-depend.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    60
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    61
%package devel		
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    62
Summary:                 %{summary} - development files
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    63
SUNW_BaseDir:            %{_basedir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    64
%include default-depend.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    65
Requires: SUNWgtk2
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    66
Requires: SUNWlibmsr
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    67
Requires: SUNWpng-devel
15833
7f9243acbaba fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents: 15692
diff changeset
    68
Requires: SUNWglib2-devel
7f9243acbaba fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents: 15692
diff changeset
    69
Requires: SUNWcairo-devel
7f9243acbaba fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents: 15692
diff changeset
    70
Requires: SUNWpango-devel
7f9243acbaba fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents: 15692
diff changeset
    71
Requires: SUNWlibatk-devel
7f9243acbaba fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents: 15692
diff changeset
    72
Requires: SUNWxwinc
15558
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    73
16717
233817dbd82d 2009-10-11 Ghee Teo <[email protected]>
gheet
parents: 16715
diff changeset
    74
%package print-cups
16711
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    75
Summary:                 %{summary} - CUPS Print Backend
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    76
SUNW_BaseDir:            %{_basedir}
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    77
%include default-depend.inc
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    78
Requires: SUNWglib2
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    79
Requires: SUNWgtk2
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    80
Requires: SUNWcairo
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    81
Requires: SUNWcupsu
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    82
Requires: SUNWpango
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    83
Requires: SUNWxwplt
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    84
Requires: SUNWxwrtl
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    85
Requires: SUNWxorg-clientlibs
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    86
BuildRequires: SUNWglib2-devel
16792
72d1dadc62bf 2009-10-16 Ghee Teo <[email protected]>
gheet
parents: 16717
diff changeset
    87
BuildRequires: SUNWcupsu
16711
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    88
BuildRequires: SUNWcairo-devel
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    89
16717
233817dbd82d 2009-10-11 Ghee Teo <[email protected]>
gheet
parents: 16715
diff changeset
    90
%package print-papi
16711
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    91
Summary:                 %{summary} - PAPI (LP) Print Backend
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    92
SUNW_BaseDir:            %{_basedir}
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    93
%include default-depend.inc
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    94
Requires: SUNWglib2
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    95
Requires: SUNWgtk2
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    96
Requires: SUNWcairo
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    97
Requires: SUNWpango
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    98
Requires: SUNWpapi
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
    99
Requires: SUNWxwplt
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   100
Requires: SUNWxwrtl
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   101
Requires: SUNWxorg-clientlibs
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   102
BuildRequires: SUNWglib2-devel
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   103
BuildRequires: SUNWgtk2-devel
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   104
BuildRequires: SUNWcairo-devel
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   105
15558
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   106
%if %build_l10n
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   107
%package l10n
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   108
Summary:                 %{summary} - l10n content
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   109
SUNW_BaseDir:            %{_basedir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   110
%include default-depend.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   111
Requires: %{name}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   112
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   113
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   114
%prep
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   115
rm -rf %name-%version
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   116
mkdir %name-%version
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   117
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   118
%ifarch amd64 sparcv9
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   119
mkdir %name-%version/%_arch64
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   120
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   121
%gtk_64.prep -d %name-%version/%_arch64
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   122
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   123
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   124
mkdir %name-%version/%{base_arch}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   125
%gtk.prep -d %name-%version/%{base_arch}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   126
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   127
cd %{_builddir}/%name-%version
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   128
gzcat %SOURCE0 | tar xf -
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   129
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   130
%build
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   131
PKG_CONFIG_DISABLE_UNINSTALLED=
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   132
unset PKG_CONFIG_DISABLE_UNINSTALLED
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   133
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   134
%ifarch amd64 sparcv9
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   135
%gtk_64.build -d %name-%version/%_arch64
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   136
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   137
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   138
%gtk.build -d %name-%version/%{base_arch}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   139
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   140
%install
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   141
rm -rf $RPM_BUILD_ROOT
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   142
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   143
%ifarch amd64 sparcv9
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   144
%gtk_64.install -d %name-%version/%_arch64
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   145
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   146
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   147
%gtk.install -d %name-%version/%{base_arch}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   148
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   149
rm -rf $RPM_BUILD_ROOT%{_mandir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   150
cd %{_builddir}/%name-%version/sun-manpages
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   151
make install DESTDIR=$RPM_BUILD_ROOT
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   152
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   153
# Move demo to demo directory.
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   154
#
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   155
install -d $RPM_BUILD_ROOT%{_prefix}/demo/jds/bin
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   156
mv $RPM_BUILD_ROOT%{_bindir}/gtk-demo $RPM_BUILD_ROOT%{_prefix}/demo/jds/bin
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   157
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   158
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/immodules/im-[a-wyz]*.so
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   159
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   160
# on linux, these config files are created in %post
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   161
# that would be more complicated on Solaris, especially
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   162
# during jumpstart or live upgrade, so it's better to do
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   163
# it during the build
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   164
$RPM_BUILD_ROOT%{_bindir}/gtk-query-immodules-2.0 \
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   165
    $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/immodules/im-xim.so \
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   166
    | sed -e "s%%$RPM_BUILD_ROOT%%%%" \
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   167
    > $RPM_BUILD_ROOT%{_sysconfdir}/gtk-2.0/gtk.immodules
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   168
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   169
$RPM_BUILD_ROOT%{_bindir}/gdk-pixbuf-query-loaders \
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   170
    $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/loaders/*.so \
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   171
    | sed -e "s%%$RPM_BUILD_ROOT%%%%" \
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   172
    > $RPM_BUILD_ROOT%{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   173
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   174
%ifarch amd64 sparcv9
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   175
rm -f $RPM_BUILD_ROOT%{_libdir}/%{_arch64}/gtk-2.0/*/immodules/im-[a-wyz]*.so
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   176
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   177
export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}/%{_arch64}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   178
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   179
mkdir  -p $RPM_BUILD_ROOT%{_sysconfdir}/%{_arch64}/gtk-2.0
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   180
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   181
$RPM_BUILD_ROOT%{_bindir}/%{_arch64}/gtk-query-immodules-2.0 \
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   182
    $RPM_BUILD_ROOT%{_libdir}/%{_arch64}/gtk-2.0/*/immodules/im-xim.so \
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   183
    | sed -e "s%%$RPM_BUILD_ROOT%%%%" \
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   184
    > $RPM_BUILD_ROOT%{_sysconfdir}/%{_arch64}/gtk-2.0/gtk.immodules
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   185
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   186
$RPM_BUILD_ROOT%{_bindir}/%{_arch64}/gdk-pixbuf-query-loaders \
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   187
    $RPM_BUILD_ROOT%{_libdir}/%{_arch64}/gtk-2.0/*/loaders/*.so \
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   188
    | sed -e "s%%$RPM_BUILD_ROOT%%%%" \
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   189
    > $RPM_BUILD_ROOT%{_sysconfdir}/%{_arch64}/gtk-2.0/gdk-pixbuf.loaders
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   190
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   191
rm $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/gdk-pixbuf-csource
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   192
rm $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/gtk-update-icon-cache
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   193
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   194
mkdir -p $RPM_BUILD_ROOT%{_prefix}/demo/jds/bin/%{_arch64}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   195
mv $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/gtk-demo \
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   196
    $RPM_BUILD_ROOT%{_prefix}/demo/jds/bin/%{_arch64}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   197
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   198
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   199
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   200
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   201
%if %build_l10n
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   202
%else
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   203
# REMOVE l10n FILES
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   204
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   205
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   206
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   207
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   208
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   209
%clean
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   210
rm -rf $RPM_BUILD_ROOT
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   211
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   212
%post
15692
8ddfce922c6a 2009-04-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15568
diff changeset
   213
%restart_fmri pixbuf-loaders-installer input-method-cache
15558
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   214
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   215
%files
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   216
%doc -d %{base_arch} gtk+-%{gtk.version}/README
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   217
%doc -d %{base_arch} gtk+-%{gtk.version}/AUTHORS
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   218
%doc(bzip2) -d %{base_arch} gtk+-%{gtk.version}/ChangeLog
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   219
%doc(bzip2) -d %{base_arch} gtk+-%{gtk.version}/ChangeLog.gtk-async-file-chooser
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   220
%doc(bzip2) -d %{base_arch} gtk+-%{gtk.version}/ChangeLog.gtk-printing
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   221
%doc(bzip2) -d %{base_arch} gtk+-%{gtk.version}/ChangeLog.pre-1-0
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   222
%doc(bzip2) -d %{base_arch} gtk+-%{gtk.version}/ChangeLog.pre-1-2
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   223
%doc(bzip2) -d %{base_arch} gtk+-%{gtk.version}/ChangeLog.pre-2-0
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   224
%doc(bzip2) -d %{base_arch} gtk+-%{gtk.version}/ChangeLog.pre-2-2
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   225
%doc(bzip2) -d %{base_arch} gtk+-%{gtk.version}/ChangeLog.pre-2-4
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   226
%doc(bzip2) -d %{base_arch} gtk+-%{gtk.version}/ChangeLog.pre-2-6
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   227
%doc(bzip2) -d %{base_arch} gtk+-%{gtk.version}/ChangeLog.pre-2-8
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   228
%doc(bzip2) -d %{base_arch} gtk+-%{gtk.version}/ChangeLog.pre-2-10
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   229
%doc(bzip2) -d %{base_arch} gtk+-%{gtk.version}/gdk-pixbuf/ChangeLog
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   230
%doc(bzip2) -d %{base_arch} gtk+-%{gtk.version}/po-properties/ChangeLog
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   231
%doc(bzip2) -d %{base_arch} gtk+-%{gtk.version}/po/ChangeLog
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   232
%doc(bzip2) -d %{base_arch} gtk+-%{gtk.version}/COPYING
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   233
%doc(bzip2) -d %{base_arch} gtk+-%{gtk.version}/NEWS
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   234
%dir %attr (0755, root, other) %{_datadir}/doc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   235
%defattr (-, root, bin)
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   236
%dir %attr (0755, root, bin) %{_bindir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   237
%{_bindir}/gtk-builder-convert
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   238
%{_bindir}/gtk-query-immodules-2.0
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   239
%{_bindir}/gtk-update-icon-cache
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   240
%{_bindir}/gdk-pixbuf-query-loaders
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   241
%dir %attr (0755, root, bin) %{_libdir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   242
%{_libdir}/lib*.so*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   243
%{_libdir}/gtk*/*/engines/*.so
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   244
%{_libdir}/gtk*/*/loaders/*.so
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   245
%{_libdir}/gtk*/*/immodules/im-xim.so
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   246
%{_libdir}/gtk-2.0/modules/*.so
16711
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   247
%{_libdir}/gtk*/*/printbackends/libprintbackend-file.so
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   248
%{_libdir}/gtk*/*/printbackends/libprintbackend-lpr.so
15558
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   249
%ifarch amd64 sparcv9
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   250
%dir %attr (0755, root, bin) %{_bindir}/%{_arch64}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   251
%{_bindir}/%{_arch64}/gtk-builder-convert
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   252
%{_bindir}/%{_arch64}/gtk-query-immodules-2.0
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   253
%{_bindir}/%{_arch64}/gdk-pixbuf-query-loaders
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   254
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   255
%{_libdir}/%{_arch64}/lib*.so*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   256
%{_libdir}/%{_arch64}/gtk*/*/loaders/*.so
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   257
%{_libdir}/%{_arch64}/gtk*/*/engines/*.so
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   258
%{_libdir}/%{_arch64}/gtk*/*/immodules/im-xim.so
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   259
%{_libdir}/%{_arch64}/gtk*/modules/*.so
16711
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   260
%{_libdir}/%{_arch64}/gtk*/*/printbackends/libprintbackend-file.so
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   261
%{_libdir}/%{_arch64}/gtk*/*/printbackends/libprintbackend-lpr.so
15558
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   262
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   263
%dir %attr (0755, root, sys) %{_datadir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   264
%{_datadir}/themes
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   265
%dir %attr(0755, root, bin) %{_mandir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   266
%dir %attr(0755, root, bin) %{_mandir}/man1
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   267
%{_mandir}/man1/gtk-builder-convert.1
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   268
%{_mandir}/man1/gtk-query-immodules-2.0.1
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   269
%{_mandir}/man1/gdk-pixbuf-query-loaders.1
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   270
%{_mandir}/man1/gtk-update-icon-cache.1
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   271
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   272
%files devel
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   273
%defattr (-, root, bin)
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   274
%dir %attr (0755, root, bin) %dir %{_libdir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   275
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   276
%{_libdir}/pkgconfig/*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   277
%{_libdir}/gtk*/include
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   278
%dir %attr (0755, root, bin) %dir %{_bindir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   279
%{_bindir}/gdk-pixbuf-csource
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   280
%dir %attr (0755, root, bin) %dir %{_includedir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   281
%{_includedir}/*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   282
%dir %attr (0755, root, bin) %dir %{_prefix}/demo
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   283
%dir %attr (0755, root, bin) %dir %{_prefix}/demo/jds
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   284
%dir %attr (0755, root, bin) %dir %{_prefix}/demo/jds/bin
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   285
%{_prefix}/demo/jds/bin/gtk-demo
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   286
%ifarch amd64 sparcv9
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   287
%dir %attr (0755, root, bin) %dir %{_libdir}/%{_arch64}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   288
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   289
%{_libdir}/%{_arch64}/pkgconfig/*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   290
%{_libdir}/%{_arch64}/gtk*/include
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   291
%{_prefix}/demo/jds/bin/%{_arch64}/*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   292
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   293
%dir %attr (0755, root, sys) %dir %{_datadir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   294
%{_datadir}/gtk-doc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   295
%dir %attr (0755, root, other) %{_datadir}/aclocal
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   296
%{_datadir}/aclocal/*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   297
%{_datadir}/gtk-2.0/demo
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   298
%dir %attr(0755, root, bin) %{_mandir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   299
%dir %attr(0755, root, bin) %{_mandir}/man3
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   300
%{_mandir}/man3/*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   301
%dir %attr(0755, root, bin) %{_mandir}/man1
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   302
%{_mandir}/man1/gdk-pixbuf-csource.1
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   303
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   304
%files root
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   305
%defattr (-, root, sys)
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   306
%attr (0755, root, sys) %dir %{_sysconfdir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   307
%ghost %{_sysconfdir}/gtk-2.0/gtk.immodules
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   308
%ghost %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   309
%{_sysconfdir}/gtk-2.0/im-multipress.conf
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   310
%ifarch amd64 sparcv9
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   311
%ghost %{_sysconfdir}/%{_arch64}/gtk-2.0/gtk.immodules
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   312
%ghost %{_sysconfdir}/%{_arch64}/gtk-2.0/gdk-pixbuf.loaders
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   313
%{_sysconfdir}/%{_arch64}/gtk-2.0/im-multipress.conf
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   314
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   315
16717
233817dbd82d 2009-10-11 Ghee Teo <[email protected]>
gheet
parents: 16715
diff changeset
   316
%files print-cups
16715
5de03d05d01a Fixed directory attribute issue for SUNWgtk2-cups/papi-be
davelam
parents: 16711
diff changeset
   317
%defattr (-, root, bin)
16711
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   318
%dir %attr (0755, root, bin) %{_libdir}
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   319
%{_libdir}/gtk*/*/printbackends/libprintbackend-cups.so
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   320
%ifarch amd64 sparcv9
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   321
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   322
%{_libdir}/%{_arch64}/gtk*/*/printbackends/libprintbackend-cups.so
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   323
%endif
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   324
16717
233817dbd82d 2009-10-11 Ghee Teo <[email protected]>
gheet
parents: 16715
diff changeset
   325
%files print-papi
16715
5de03d05d01a Fixed directory attribute issue for SUNWgtk2-cups/papi-be
davelam
parents: 16711
diff changeset
   326
%defattr (-, root, bin)
16711
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   327
%dir %attr (0755, root, bin) %{_libdir}
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   328
%{_libdir}/gtk*/*/printbackends/libprintbackend-papi.so
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   329
15558
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   330
%if %build_l10n
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   331
%files l10n
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   332
%defattr (-, root, bin)
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   333
%dir %attr (0755, root, sys) %dir %{_datadir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   334
%attr (-, root, other) %{_datadir}/locale
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   335
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   336
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   337
%changelog
16717
233817dbd82d 2009-10-11 Ghee Teo <[email protected]>
gheet
parents: 16715
diff changeset
   338
* Sun Oct 11 2009 - [email protected]
233817dbd82d 2009-10-11 Ghee Teo <[email protected]>
gheet
parents: 16715
diff changeset
   339
- rename backend print modules to SUNWgtk2-print-cups and SUNWgtk2-print-papi
16715
5de03d05d01a Fixed directory attribute issue for SUNWgtk2-cups/papi-be
davelam
parents: 16711
diff changeset
   340
* Sat Oct 10 2009 - [email protected]
5de03d05d01a Fixed directory attribute issue for SUNWgtk2-cups/papi-be
davelam
parents: 16711
diff changeset
   341
- Fixed directory attribute issue for SUNWgtk2-cups/papi-be.
16711
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   342
* Fri Oct 09 2009 - [email protected]
bcb43d30b712 2009-10-09 Ghee Teo <[email protected]>
gheet
parents: 16520
diff changeset
   343
- split out CUPS and PAPI print backends into SUNWgtk2-cups-be, SUNWgtk2-papi-be
16520
a6a49be55475 2009-09-10 Wang Xin <[email protected]>
jedy
parents: 16434
diff changeset
   344
* Thu Sep 10 2009 - [email protected]
a6a49be55475 2009-09-10 Wang Xin <[email protected]>
jedy
parents: 16434
diff changeset
   345
- Remove SUNWmlib dependency. It's optinal now.
15973
4f7e7a3bb108 fix dependency issues(CR6852720)
davelam
parents: 15833
diff changeset
   346
* Tue Jun 30 2009 - [email protected]
4f7e7a3bb108 fix dependency issues(CR6852720)
davelam
parents: 15833
diff changeset
   347
- Add dependency on SUNWxorg-clientlibs(CR6852720)
15833
7f9243acbaba fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents: 15692
diff changeset
   348
* Tue Jun 02 2009 - [email protected]
7f9243acbaba fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents: 15692
diff changeset
   349
- fixed dependency issue(CR6843654, 6843582, 6843579).
15692
8ddfce922c6a 2009-04-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15568
diff changeset
   350
* Wed Apr 29 2009 - [email protected]
8ddfce922c6a 2009-04-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15568
diff changeset
   351
- delete post root script (not needed), simplify post script
15568
982bfb4a0553 * SUNWgtk2.spec: Fix BASEDIR issue in %post root, check
davelam
parents: 15558
diff changeset
   352
* Mon Apr 06 2009 - [email protected]
982bfb4a0553 * SUNWgtk2.spec: Fix BASEDIR issue in %post root, check
davelam
parents: 15558
diff changeset
   353
- Fix BASEDIR issue in %post root.
982bfb4a0553 * SUNWgtk2.spec: Fix BASEDIR issue in %post root, check
davelam
parents: 15558
diff changeset
   354
- Check %restart_fmri existence to make postscript more robust.
15558
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   355
* Tue Mar 31 2009 - [email protected]
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   356
- initial version(split from SUNWgnome-base-libs)