SUNWgnome-a11y-libs.spec
author yippi
Mon, 19 Jan 2009 17:32:29 +0000
branchgnome-2-24
changeset 14173 fe63d4719576
parent 14110 a036cef35fd6
child 14176 5cc67df929f8
permissions -rw-r--r--
2009-01-19 Brian Cameron <[email protected]> * SUNWpython-setuptools.spec, SUNWpython25-setuptools.spec, base-specs/python-setuptools.spec, copyright/SUNWpython-setuptools.copyright: Move from spec-files-other. * SUNWgnome-python-desktop.spec, SUNWgnome-menu-editor.spec, SUNWdbus-bindings.spec, SUNWgnome-panel.spec, SUNWgnome-applets.spec, SUNWPython-extra.spec, SUNWgnome-a11y-libs.spec, SUNWlibgsf.spec, SUNWgnome-python-libs.spec, SUNWgst-python.spec, SUNWgnome-python-extras.spec, SUNWIPython.spec, SUNWgnome-games.spec, SUNWgnome-img-editor.spec, SUNWgtk-vnc.spec, SUNWpysqlite.spec, SUNWavahi-bridge-dsd.spec: Make all modules with Python interfaces depend on setuptools. Fixes bug #5795062.
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 SUNWgnome-a11y-libs
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): at-spi java-access-bridge libgail-gnome freetts gnome-mag
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
     6
# Copyright 2007 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
11430
c628da44e2b8 2008-01-10 Li Yuan <[email protected]>
liyuan
parents: 10620
diff changeset
    10
# Owner: liyuan 
9397
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    14
%ifarch amd64 sparcv9
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    15
%include arch64.inc
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    16
%use at_spi_64 = at-spi.spec
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    17
%endif
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    18
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    19
%include base.inc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
%use at_spi = at-spi.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
%use libgail_gnome = libgail-gnome.spec
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
    22
%if %option_with_java
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
%use java_access_bridge = java-access-bridge.spec
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
    24
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
%use freetts = freetts.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
%use gnome_mag = gnome-mag.spec
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
Name:                    SUNWgnome-a11y-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Summary:                 Accessibility implementation for GNOME
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Version:                 %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Source:                  %{name}-manpages-0.1.tar.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
SUNW_BaseDir:            %{_basedir}
11976
798f0ce46ec6 2008-03-31 Li Yuan <[email protected]>
liyuan
parents: 11878
diff changeset
    33
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
Requires: SUNWgnome-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Requires: SUNWgnome-panel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
Requires: SUNWgnome-component
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
Requires: SUNWgnome-base-libs
9441
24105511a782 2007-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    41
Requires: SUNWgnome-config
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
Requires: SUNWlibms
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
Requires: SUNWlibpopt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
Requires: SUNWj5rt
11878
8d2087fad20b 2008-03-19 Dermot McCluskey <[email protected]>
dermot
parents: 11430
diff changeset
    45
Requires: SUNWj6rt
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
Requires: SUNWzoner
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
Requires: SUNWzoneu
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
Requires: SUNWpkgcmdsu
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
BuildRequires: SUNWgnome-base-libs-devel
9441
24105511a782 2007-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    51
BuildRequires: SUNWgnome-config-devel
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
BuildRequires: SUNWlibpopt-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
BuildRequires: SUNWgnome-panel-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
BuildRequires: SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
BuildRequires: SUNWgnome-panel-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
BuildRequires: SUNWgnome-component-devel
14173
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents: 14110
diff changeset
    57
BuildRequires: SUNWpython-setuptools
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
13809
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
    59
%package root
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
    60
Summary:                 %{summary} - / filesystem
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
    61
SUNW_BaseDir:            /
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
    62
%include default-depend.inc
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
    63
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
Summary:                 %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
Requires: SUNWperl584usr
10451
844c5b59d61b 2007-09-05 Damien Carbery <[email protected]>
dcarbery
parents: 10017
diff changeset
    69
Requires: SUNWgnome-base-libs-devel
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
Requires: SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%endif
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
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
mkdir %name-%version
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    83
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    84
%ifarch amd64 sparcv9
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    85
mkdir %name-%version/%_arch64
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    86
%at_spi_64.prep -d %name-%version/%_arch64
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    87
%endif
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    88
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    89
mkdir %name-%version/%base_arch
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    90
%at_spi.prep -d %name-%version/%base_arch
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    91
%libgail_gnome.prep -d %name-%version/%base_arch
10574
e3d308b2dd09 minor fixes
laca
parents: 10572
diff changeset
    92
%if %option_with_java
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    93
%java_access_bridge.prep -d %name-%version/%base_arch
10574
e3d308b2dd09 minor fixes
laca
parents: 10572
diff changeset
    94
%endif
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    95
%freetts.prep -d %name-%version/%base_arch
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    96
%gnome_mag.prep -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
gzcat %SOURCE0 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
PKG_CONFIG_DISABLE_UNINSTALLED=
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
unset PKG_CONFIG_DISABLE_UNINSTALLED
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
export PKG_CONFIG_PATH="../at-spi-%{at_spi.version}:%{_pkg_config_path}"
10620
ef0b1170eb49 2007-10-07 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10619
diff changeset
   104
export CFLAGS="%optflags -I/usr/X11/include"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
export RPM_OPT_FLAGS="$CFLAGS"
12785
82b935aeed3f 2008-07-09 Damien Carbery <[email protected]>
dcarbery
parents: 12778
diff changeset
   106
export LDFLAGS="%_ldflags"
12774
1b0d4214642a 2008-07-08 Damien Carbery <[email protected]>
dcarbery
parents: 12763
diff changeset
   107
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   108
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   109
%ifarch amd64 sparcv9
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   110
%at_spi_64.build -d %name-%version/%_arch64
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   111
%endif
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   112
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   113
%at_spi.build -d %name-%version/%base_arch
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   114
%libgail_gnome.build -d %name-%version/%base_arch
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   115
%if %option_with_java
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   116
%java_access_bridge.build -d %name-%version/%base_arch
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   117
%endif
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   118
%freetts.build -d %name-%version/%base_arch
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   119
%gnome_mag.build -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
%install
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   122
%ifarch amd64 sparcv9
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   123
%at_spi_64.install -d %name-%version/%_arch64
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   124
%endif
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   125
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   126
%at_spi.install -d %name-%version/%base_arch
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   127
%libgail_gnome.install -d %name-%version/%base_arch
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   128
%if %option_with_java
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   129
%java_access_bridge.install -d %name-%version/%base_arch
14110
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   130
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   131
# Determine the full path (symlinks resolved) to JDK pointed to by /usr/java.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   132
BASEDIR=%{_basedir}
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   133
cd $BASEDIR
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   134
JAVADIR=java
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   135
JDK_DIR=$BASEDIR
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   136
# If $JAVADIR is a symlink then we must resolve it.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   137
if [ -d $JAVADIR -a -h $JAVADIR ]
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   138
then
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   139
  # Get symlink target.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   140
  DIR=`ls -l $JAVADIR | awk '{print $NF}'`
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   141
  echo "DIR=$DIR"
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   142
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   143
  # If the target is a symlink then need to resolve it.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   144
  if [ -d $DIR -a -h $DIR ]
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   145
  then
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   146
    nextdir=`dirname $DIR`
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   147
    cd $nextdir
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   148
    JDK_DIR="$JDK_DIR/$nextdir"	 # Append this bit.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   149
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   150
	f=`basename $DIR`
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   151
    nextdir=`ls -l $f | awk '{print $NF}'`
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   152
    JDK_DIR="$JDK_DIR/$nextdir"
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   153
  else
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   154
  # otherwise just append to $JDK_DIR and we're done.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   155
    JDK_DIR="$JDK_DIR/$DIR"
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   156
  fi
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   157
else
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   158
  # If the 'java' item is not a symlink (presumably a dir) there will be no
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   159
  # symlink to installf items to.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   160
  exit 2
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   161
fi
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   162
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   163
# Determine the full path (symlinks resolved) to JDK pointed to by /usr/java.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   164
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   165
mkdir -p ${RPM_BUILD_ROOT}/${JDK_DIR}/jre/lib/ext
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   166
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   167
cd ${RPM_BUILD_ROOT}/${JDK_DIR}/jre/lib || exit 2
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   168
# Dynamically determine number of '..' required.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   169
JAR_DIR=share/jar
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   170
DOTS=.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   171
LEVEL=0
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   172
FILE=accessibility.properties
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   173
# Keep testing, up to a max of 10 levels to avoid infinite loop.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   174
while [ ! -f $DOTS/$JAR_DIR/$FILE ] && [ $LEVEL -lt 10 ]
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   175
do
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   176
  DOTS="$DOTS/.."
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   177
  LEVEL=`expr $LEVEL + 1`
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   178
done
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   179
if [ -f $DOTS/$JAR_DIR/$FILE ]; then
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   180
  rm -f ${RPM_BUILD_ROOT}/${JDK_DIR}/jre/lib/$FILE
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   181
  ln -s $DOTS/$JAR_DIR/$FILE ${RPM_BUILD_ROOT}/${JDK_DIR}/jre/lib/$FILE || exit 2
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   182
fi
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   183
FILE=gnome-java-bridge.jar
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   184
if [ -f $DOTS/$JAR_DIR/$FILE ]; then
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   185
  rm -f ${RPM_BUILD_ROOT}/${JDK_DIR}/jre/lib/ext/$FILE
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   186
  ln -s $DOTS/../$JAR_DIR/$FILE ${RPM_BUILD_ROOT}/${JDK_DIR}/jre/lib/ext/$FILE || exit 2
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   187
fi
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   188
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   189
cd %{_builddir}
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   190
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   191
%endif
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   192
%freetts.install -d %name-%version/%base_arch
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   193
%gnome_mag.install -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   194
rm -rf $RPM_BUILD_ROOT%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   195
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   196
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   197
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   198
# Remove .la files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   199
rm -f $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/GNOME_Magnifier_module.la
10017
11acbc57a6bf 2007-06-07 Damien Carbery <[email protected]>
dcarbery
parents: 9546
diff changeset
   200
# Remove .pyo files
11acbc57a6bf 2007-06-07 Damien Carbery <[email protected]>
dcarbery
parents: 9546
diff changeset
   201
find $RPM_BUILD_ROOT -name '*.pyo' -exec rm {} \;
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   202
13716
f956bdb1a19e 2008-09-22 Dave Lin <[email protected]>
davelam
parents: 13714
diff changeset
   203
# Remove empty dir
14110
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   204
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/gnome-mag-*/reference/html
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   205
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/gnome-mag-*/reference
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   206
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/gnome-mag-*
13716
f956bdb1a19e 2008-09-22 Dave Lin <[email protected]>
davelam
parents: 13714
diff changeset
   207
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   208
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   209
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   210
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   211
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   212
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   213
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   214
%{?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
   215
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   216
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   217
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   218
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   219
%files
12778
c355e9d3d16a 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12776
diff changeset
   220
%defattr (-, root, bin)
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   221
%ifarch amd64 sparcv9
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   222
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   223
%{_libdir}/%{_arch64}/lib*.so*
12778
c355e9d3d16a 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12776
diff changeset
   224
%{_libdir}/%{_arch64}/bonobo
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   225
%{_libdir}/%{_arch64}/gtk-2.0/modules/*.so
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   226
%{_libexecdir}/%{_arch64}/at-spi-registryd
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   227
%{_libdir}/%{_arch64}/orbit-2.0/*.so
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   228
%endif
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   229
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   230
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   231
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   232
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   233
%{_libdir}/lib*.so*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   234
%{_libdir}/bonobo
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   235
%{_libdir}/gtk-2.0/modules/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   236
%{_libdir}/orbit-2.0/*.so
10017
11acbc57a6bf 2007-06-07 Damien Carbery <[email protected]>
dcarbery
parents: 9546
diff changeset
   237
%{_libdir}/python?.?
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   238
%{_libexecdir}/at-spi-registryd
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   239
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   240
%dir %attr (0755, root, sys) %{_datadir}/lib
13654
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   241
%doc -d %{base_arch} at-spi-%{at_spi.version}/README 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   242
%doc -d %{base_arch} at-spi-%{at_spi.version}/AUTHORS
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   243
%doc(bzip2) -d %{base_arch} at-spi-%{at_spi.version}/COPYING 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   244
%doc(bzip2) -d %{base_arch} at-spi-%{at_spi.version}/NEWS 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   245
%doc(bzip2) -d %{base_arch} at-spi-%{at_spi.version}/ChangeLog
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   246
%doc -d %{base_arch} freetts/freetts-%{freetts.version}/license.terms 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   247
%doc -d %{base_arch} freetts/freetts-%{freetts.version}/acknowledgments.txt 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   248
%doc -d %{base_arch} freetts/freetts-%{freetts.version}/ANNOUNCE.txt 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   249
%doc -d %{base_arch} freetts/freetts-%{freetts.version}/RELEASE_NOTES 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   250
%doc -d %{base_arch} freetts/freetts-%{freetts.version}/README.txt
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   251
%doc -d %{base_arch} gnome-mag-%{gnome_mag.version}/README 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   252
%doc -d %{base_arch} gnome-mag-%{gnome_mag.version}/AUTHORS 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   253
%doc -d %{base_arch} gnome-mag-%{gnome_mag.version}/colorblind/colorblind-applet.py
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   254
%doc(bzip2) -d %{base_arch} gnome-mag-%{gnome_mag.version}/COPYING 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   255
%doc(bzip2) -d %{base_arch} gnome-mag-%{gnome_mag.version}/NEWS 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   256
%doc(bzip2) -d %{base_arch} gnome-mag-%{gnome_mag.version}/ChangeLog
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   257
%doc -d %{base_arch} java-access-bridge-%{java_access_bridge.version}/README 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   258
%doc -d %{base_arch} java-access-bridge-%{java_access_bridge.version}/AUTHORS
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   259
%doc(bzip2) -d %{base_arch} java-access-bridge-%{java_access_bridge.version}/COPYING 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   260
%doc(bzip2) -d %{base_arch} java-access-bridge-%{java_access_bridge.version}/NEWS 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   261
%doc(bzip2) -d %{base_arch} java-access-bridge-%{java_access_bridge.version}/ChangeLog
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   262
%doc -d %{base_arch} libgail-gnome-%{libgail_gnome.version}/README 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   263
%doc -d %{base_arch} libgail-gnome-%{libgail_gnome.version}/AUTHORS
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   264
%doc(bzip2) -d %{base_arch} libgail-gnome-%{libgail_gnome.version}/COPYING 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   265
%doc(bzip2) -d %{base_arch} libgail-gnome-%{libgail_gnome.version}/NEWS 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   266
%doc(bzip2) -d %{base_arch} libgail-gnome-%{libgail_gnome.version}/ChangeLog
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   267
%dir %attr (0755, root, other) %{_datadir}/doc
13654
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   268
%{_datadir}/doc/at-spi-%{at_spi.version}/*
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   269
%{_datadir}/gnome-mag
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   270
%if %option_with_java
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   271
%{_datadir}/jar
14110
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   272
%{_basedir}/jdk/instances/*/jre/lib/accessibility.properties
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   273
%{_basedir}/jdk/instances/*/jre/lib/ext/gnome-java-bridge.jar
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   274
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   275
%{_datadir}/lib/freetts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   276
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   277
%files devel
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   278
%ifarch amd64 sparcv9
13376
c7eaeece45f4 2008-09-03 Dave Lin <[email protected]>
davelam
parents: 13018
diff changeset
   279
%defattr (-, root, bin)
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   280
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   281
%{_libdir}/%{_arch64}/pkgconfig/*
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   282
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   283
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   284
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   285
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   286
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   287
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   288
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   289
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   290
%{_datadir}/idl
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   291
%{_datadir}/gtk-doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   292
%dir %attr(0755, root, bin) %{_mandir}
13018
f2e9d53afe1b 2008-08-05 Liyan Zhang <[email protected]>
liyuan
parents: 12785
diff changeset
   293
%dir %attr(0755, root, bin) %{_mandir}/*
f2e9d53afe1b 2008-08-05 Liyan Zhang <[email protected]>
liyuan
parents: 12785
diff changeset
   294
%{_mandir}/*/*
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   295
13809
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   296
%files root
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   297
%defattr (-, root, sys)
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   298
%attr (0755, root, sys) %dir %{_sysconfdir}
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   299
%{_sysconfdir}/gconf/schemas/at-spi.schemas
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   300
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   301
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   302
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   303
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   304
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   305
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   306
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   307
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   308
%changelog
14110
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   309
* Fri Oct 16 2008 - [email protected]
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   310
- Create symbol links for accessibility.properties and gnome-java-bridge.jar
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   311
  as parts of the package.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   312
  In the previous versions,  the symbol links are created in post scripts which
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   313
  will not be executed in OpenSolaris.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   314
  Fix d.o.o bug #5253
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   315
- Change rmdir to rm -rf since the doc pathes of gnome-mag are not
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   316
  empty after the integration of SUNWdoxygen.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   317
  We still don't ship references of gnome-mag for now.
13809
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   318
* Mon Sep 29 2008 - [email protected]
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   319
- Added -root pkg for /etc/gconf/schemas/at-spi-schmeas.
13714
7583b79ecff5 2008-09-22 Dave Lin <[email protected]>
davelam
parents: 13654
diff changeset
   320
* Mon Sep 22 2008 - [email protected]
7583b79ecff5 2008-09-22 Dave Lin <[email protected]>
davelam
parents: 13654
diff changeset
   321
- Removed the empty dir /usr/share/doc/gnome-mag*
13654
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   322
* Thu Sep 18 2008 - [email protected]
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   323
- Added %doc to %files for copyright.
13376
c7eaeece45f4 2008-09-03 Dave Lin <[email protected]>
davelam
parents: 13018
diff changeset
   324
* Wed Sep 03 2008 - [email protected]
c7eaeece45f4 2008-09-03 Dave Lin <[email protected]>
davelam
parents: 13018
diff changeset
   325
- Add %defattr (-, root, bin) for "/usr/lib/amd/pkgconfig" dir, otherwise
c7eaeece45f4 2008-09-03 Dave Lin <[email protected]>
davelam
parents: 13018
diff changeset
   326
  the pc files have "gbuild" ownership
13018
f2e9d53afe1b 2008-08-05 Liyan Zhang <[email protected]>
liyuan
parents: 12785
diff changeset
   327
* Tue Aug 05 2008 - [email protected]
f2e9d53afe1b 2008-08-05 Liyan Zhang <[email protected]>
liyuan
parents: 12785
diff changeset
   328
- Add manpages.
12785
82b935aeed3f 2008-07-09 Damien Carbery <[email protected]>
dcarbery
parents: 12778
diff changeset
   329
* Wed Jul 09 2008 - [email protected]
82b935aeed3f 2008-07-09 Damien Carbery <[email protected]>
dcarbery
parents: 12778
diff changeset
   330
- Remove EXTRA_LDFLAGS after adding patch to at-spi.
12776
04d7306ff911 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12774
diff changeset
   331
* Wed Jul 09 2008 - [email protected]
12778
c355e9d3d16a 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12776
diff changeset
   332
- Put %defattr prior to new files.
c355e9d3d16a 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12776
diff changeset
   333
* Wed Jul 09 2008 - [email protected]
12776
04d7306ff911 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12774
diff changeset
   334
- Move login-helper to EXTRA_LDFLAGS and add arch infomation so libraries depend
04d7306ff911 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12774
diff changeset
   335
  on it can find it in the right place. Also add 
04d7306ff911 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12774
diff changeset
   336
  %{_libdir}/%{_arch64}/bonobo/servers/*.server to the file section.
12774
1b0d4214642a 2008-07-08 Damien Carbery <[email protected]>
dcarbery
parents: 12763
diff changeset
   337
* Tue Jul 08 2008 - [email protected]
1b0d4214642a 2008-07-08 Damien Carbery <[email protected]>
dcarbery
parents: 12763
diff changeset
   338
- Set ACLOCAL_FLAGS for use in gnome-mag.spec.
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   339
* Mon Jul 07 2008 - [email protected]
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   340
- Fix 6697334. Add 64 bit libraries support for at-spi.
11976
798f0ce46ec6 2008-03-31 Li Yuan <[email protected]>
liyuan
parents: 11878
diff changeset
   341
* Mon Mar 31 2008 - [email protected]
798f0ce46ec6 2008-03-31 Li Yuan <[email protected]>
liyuan
parents: 11878
diff changeset
   342
- Add copyright file
11878
8d2087fad20b 2008-03-19 Dermot McCluskey <[email protected]>
dermot
parents: 11430
diff changeset
   343
* Wed Mar 19 2008 - [email protected]
8d2087fad20b 2008-03-19 Dermot McCluskey <[email protected]>
dermot
parents: 11430
diff changeset
   344
- Add dep on SUNWj6rt so that gnome-java-bridge.jar and accessibility.properties
8d2087fad20b 2008-03-19 Dermot McCluskey <[email protected]>
dermot
parents: 11430
diff changeset
   345
  get installed in correct /usr/java link location. Fixes 6641866.
11430
c628da44e2b8 2008-01-10 Li Yuan <[email protected]>
liyuan
parents: 10620
diff changeset
   346
* Thu Jan 10 2008 - [email protected]
c628da44e2b8 2008-01-10 Li Yuan <[email protected]>
liyuan
parents: 10620
diff changeset
   347
- change owner to liyuan.
10619
a50a4a72fa9a 2007-10-07 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10574
diff changeset
   348
* Sun Oct  7 2007 - [email protected]
10620
ef0b1170eb49 2007-10-07 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10619
diff changeset
   349
- add /usr/X11/include to CFLAGS
10619
a50a4a72fa9a 2007-10-07 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10574
diff changeset
   350
- delete Nevada X deps
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   351
* Fri Sep 28 2007 - [email protected]
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   352
- disable java access bridge if build without java support
10451
844c5b59d61b 2007-09-05 Damien Carbery <[email protected]>
dcarbery
parents: 10017
diff changeset
   353
* Wed Sep 05 2007 - [email protected]
844c5b59d61b 2007-09-05 Damien Carbery <[email protected]>
dcarbery
parents: 10017
diff changeset
   354
- Remove references to SUNWgnome-a11y-base-libs as its contents have been
844c5b59d61b 2007-09-05 Damien Carbery <[email protected]>
dcarbery
parents: 10017
diff changeset
   355
  moved to SUNWgnome-base-libs.
10017
11acbc57a6bf 2007-06-07 Damien Carbery <[email protected]>
dcarbery
parents: 9546
diff changeset
   356
* Thu Jun 07 2007 - [email protected]
11acbc57a6bf 2007-06-07 Damien Carbery <[email protected]>
dcarbery
parents: 9546
diff changeset
   357
- Add %{_libdir}/python?.? to %files and remove .pyo files in %install.
9546
d3f1546e9b49 2007-03-13 Damien Carbery <[email protected]>
dcarbery
parents: 9441
diff changeset
   358
* Tue Mar 13 2007 - [email protected]
d3f1546e9b49 2007-03-13 Damien Carbery <[email protected]>
dcarbery
parents: 9441
diff changeset
   359
- Incorporate %post changes from Mary Ding. Fixes 6531193.
9441
24105511a782 2007-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   360
* Mon Mar 05 2007 - [email protected]
24105511a782 2007-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   361
- Add Build/Requires SUNWgnome-config/-devel as gconf-2.0.pc is needed.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   362
* Fri Sep 01 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   363
- New Manpage tarball
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   364
* Sat Aug 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   365
- delete some unnecessary env variables
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   366
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   367
- Remove .la files before packaging.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   368
* Thu Jun 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   369
- Change 'return 0' to 'exit 0' in main function in %post share. Fixes 6437617.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   370
* Tue Jun 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   371
- Add dependencies on SUNWzoner/u and SUNWpkgcmdsu for zonename and pkgcond
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   372
  binaries that are used in the postinstall script. As suggested in 6377106.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   373
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   374
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   375
* Tue May 30 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   376
- Merge postinstall script from JDS3.1 branch. Include fix for 6431039.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   377
* Tue May 09 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   378
- merge -share pkg(s) into the base pkg(s)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   379
* Fri May 05 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   380
- Copy postinstall script from JDS3.1 branch. Incorporate dynamic code.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   381
* Tue Mar 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   382
- Add doc dir to share package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   383
* Mon Feb 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   384
- Complete update of Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   385
* Thu Feb 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   386
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   387
- Move Requires SUNWj5rt to share package as postinstall that installs the 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   388
  symlink under a SUNWj5rt directory is in share package. Make base package
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   389
  require share package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   390
* Fri Dec 02 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   391
- Add Requires SUNWj5rt so that symlink can be created.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   392
* Mon Nov 21 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   393
- Add %post share code to accomodate zones. Bug 6347858. Copied from 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   394
  cinnabar-solaris branch.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   395
* Mon Sep 12 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   396
- define l10n subpkg
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   397
* Tue Jun 14 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   398
- Fix packaging.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   399
* Fri Jun 10 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   400
- Call %freetts.build, and add lib/freetts dir to share package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   401
* Mon Nov 22 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   402
- Fix for 6197816: gnopernicus moved to /usr/demo/jds so gnome-mag moved to
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   403
  SUNWgnome-a11y-libs package to remain in /usr/bin.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   404
* Sat Oct 02 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   405
- added %pkgbuild_postprocess
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   406
* Mon Aug 30 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   407
- Bug 5091588 : sman3/4  files should be in a devel package
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   408
* Mon Aug 23 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   409
- s/SUNWpl5u/SUNWperl584usr/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   410
* Wed Aug 18 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   411
- Added back gtk-docs to packaging.  Needed because the at-cspi docs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   412
  are referred to from the libcspi.3 man page.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   413
* Wed Aug 18 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   414
- Change manpage perms for Solaris integration.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   415
* Fri Jul 23 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   416
- Move freetts from SUNWgnome-a11y-speech.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   417
* Tue Jun 22 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   418
- changed install location to /usr/lib and /usr/bin
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   419
* Wed Apr 14 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   420
- Add entry to %files for accessibility.properties and gnome-java-bridge.jar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   421
* Fri Mar 26 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   422
- add panel dependency
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   423
* Wed Mar 24 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   424
- Added SGML man page integration
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   425
* Tue Mar 23 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   426
- Remove gtk-doc and _datadir/lib from %files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   427
* Thu Feb 26 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   428
- Add devel-share subpkg for idl files and api docs