SUNWgnome-a11y-libs.spec
author daniell
Wed, 13 Oct 2010 16:43:58 +0000
branchopensolaris-2009-06
changeset 20159 f18a6979f732
parent 14176 5cc67df929f8
permissions -rw-r--r--
6965295 [CVE-2010-1205/CVE-2010-2249] Multiple security issues in libpng 1.2 versions before 1.2.44
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
14176
5cc67df929f8 2009-01-20 Jeff Cai <[email protected]>
qc161282
parents: 14173
diff changeset
   168
mv ${RPM_BUILD_ROOT}/usr/lib/libjava-access-bridge-jni.so.0.0.0 ./ext/libjava-access-bridge-jni.so
5cc67df929f8 2009-01-20 Jeff Cai <[email protected]>
qc161282
parents: 14173
diff changeset
   169
rm ${RPM_BUILD_ROOT}/usr/lib/libjava-access-bridge-jni.*
5cc67df929f8 2009-01-20 Jeff Cai <[email protected]>
qc161282
parents: 14173
diff changeset
   170
14110
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   171
# Dynamically determine number of '..' required.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   172
JAR_DIR=share/jar
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   173
DOTS=.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   174
LEVEL=0
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   175
FILE=accessibility.properties
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   176
# 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
   177
while [ ! -f $DOTS/$JAR_DIR/$FILE ] && [ $LEVEL -lt 10 ]
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   178
do
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   179
  DOTS="$DOTS/.."
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   180
  LEVEL=`expr $LEVEL + 1`
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   181
done
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   182
if [ -f $DOTS/$JAR_DIR/$FILE ]; then
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   183
  rm -f ${RPM_BUILD_ROOT}/${JDK_DIR}/jre/lib/$FILE
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   184
  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
   185
fi
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   186
FILE=gnome-java-bridge.jar
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   187
if [ -f $DOTS/$JAR_DIR/$FILE ]; then
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   188
  rm -f ${RPM_BUILD_ROOT}/${JDK_DIR}/jre/lib/ext/$FILE
14176
5cc67df929f8 2009-01-20 Jeff Cai <[email protected]>
qc161282
parents: 14173
diff changeset
   189
  cp ${RPM_BUILD_ROOT}/usr/share/jar/$FILE ${RPM_BUILD_ROOT}/${JDK_DIR}/jre/lib/ext/$FILE || exit 2
5cc67df929f8 2009-01-20 Jeff Cai <[email protected]>
qc161282
parents: 14173
diff changeset
   190
14110
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   191
fi
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   192
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   193
cd %{_builddir}
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   194
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   195
%endif
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   196
%freetts.install -d %name-%version/%base_arch
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   197
%gnome_mag.install -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   198
rm -rf $RPM_BUILD_ROOT%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   199
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   200
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   201
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   202
# Remove .la files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   203
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
   204
# Remove .pyo files
11acbc57a6bf 2007-06-07 Damien Carbery <[email protected]>
dcarbery
parents: 9546
diff changeset
   205
find $RPM_BUILD_ROOT -name '*.pyo' -exec rm {} \;
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   206
13716
f956bdb1a19e 2008-09-22 Dave Lin <[email protected]>
davelam
parents: 13714
diff changeset
   207
# Remove empty dir
14110
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   208
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/gnome-mag-*/reference/html
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   209
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/gnome-mag-*/reference
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   210
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/gnome-mag-*
13716
f956bdb1a19e 2008-09-22 Dave Lin <[email protected]>
davelam
parents: 13714
diff changeset
   211
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   212
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   213
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   214
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   215
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   216
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   217
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   218
%{?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
   219
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   220
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   221
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   222
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   223
%files
12778
c355e9d3d16a 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12776
diff changeset
   224
%defattr (-, root, bin)
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   225
%ifarch amd64 sparcv9
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   226
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   227
%{_libdir}/%{_arch64}/lib*.so*
12778
c355e9d3d16a 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12776
diff changeset
   228
%{_libdir}/%{_arch64}/bonobo
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   229
%{_libdir}/%{_arch64}/gtk-2.0/modules/*.so
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   230
%{_libexecdir}/%{_arch64}/at-spi-registryd
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   231
%{_libdir}/%{_arch64}/orbit-2.0/*.so
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   232
%endif
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   233
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   234
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   235
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   236
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   237
%{_libdir}/lib*.so*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   238
%{_libdir}/bonobo
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   239
%{_libdir}/gtk-2.0/modules/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   240
%{_libdir}/orbit-2.0/*.so
10017
11acbc57a6bf 2007-06-07 Damien Carbery <[email protected]>
dcarbery
parents: 9546
diff changeset
   241
%{_libdir}/python?.?
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   242
%{_libexecdir}/at-spi-registryd
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   243
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   244
%dir %attr (0755, root, sys) %{_datadir}/lib
13654
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   245
%doc -d %{base_arch} at-spi-%{at_spi.version}/README 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   246
%doc -d %{base_arch} at-spi-%{at_spi.version}/AUTHORS
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   247
%doc(bzip2) -d %{base_arch} at-spi-%{at_spi.version}/COPYING 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   248
%doc(bzip2) -d %{base_arch} at-spi-%{at_spi.version}/NEWS 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   249
%doc(bzip2) -d %{base_arch} at-spi-%{at_spi.version}/ChangeLog
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   250
%doc -d %{base_arch} freetts/freetts-%{freetts.version}/license.terms 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   251
%doc -d %{base_arch} freetts/freetts-%{freetts.version}/acknowledgments.txt 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   252
%doc -d %{base_arch} freetts/freetts-%{freetts.version}/ANNOUNCE.txt 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   253
%doc -d %{base_arch} freetts/freetts-%{freetts.version}/RELEASE_NOTES 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   254
%doc -d %{base_arch} freetts/freetts-%{freetts.version}/README.txt
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   255
%doc -d %{base_arch} gnome-mag-%{gnome_mag.version}/README 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   256
%doc -d %{base_arch} gnome-mag-%{gnome_mag.version}/AUTHORS 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   257
%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
   258
%doc(bzip2) -d %{base_arch} gnome-mag-%{gnome_mag.version}/COPYING 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   259
%doc(bzip2) -d %{base_arch} gnome-mag-%{gnome_mag.version}/NEWS 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   260
%doc(bzip2) -d %{base_arch} gnome-mag-%{gnome_mag.version}/ChangeLog
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   261
%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
   262
%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
   263
%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
   264
%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
   265
%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
   266
%doc -d %{base_arch} libgail-gnome-%{libgail_gnome.version}/README 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   267
%doc -d %{base_arch} libgail-gnome-%{libgail_gnome.version}/AUTHORS
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   268
%doc(bzip2) -d %{base_arch} libgail-gnome-%{libgail_gnome.version}/COPYING 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   269
%doc(bzip2) -d %{base_arch} libgail-gnome-%{libgail_gnome.version}/NEWS 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   270
%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
   271
%dir %attr (0755, root, other) %{_datadir}/doc
13654
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   272
%{_datadir}/doc/at-spi-%{at_spi.version}/*
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   273
%{_datadir}/gnome-mag
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   274
%if %option_with_java
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   275
%{_datadir}/jar
14110
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   276
%{_basedir}/jdk/instances/*/jre/lib/accessibility.properties
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   277
%{_basedir}/jdk/instances/*/jre/lib/ext/gnome-java-bridge.jar
14176
5cc67df929f8 2009-01-20 Jeff Cai <[email protected]>
qc161282
parents: 14173
diff changeset
   278
%{_basedir}/jdk/instances/*/jre/lib/ext/*.so
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   279
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   280
%{_datadir}/lib/freetts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   281
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   282
%files devel
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   283
%ifarch amd64 sparcv9
13376
c7eaeece45f4 2008-09-03 Dave Lin <[email protected]>
davelam
parents: 13018
diff changeset
   284
%defattr (-, root, bin)
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   285
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   286
%{_libdir}/%{_arch64}/pkgconfig/*
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   287
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   288
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   289
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   290
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   291
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   292
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   293
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   294
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   295
%{_datadir}/idl
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   296
%{_datadir}/gtk-doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   297
%dir %attr(0755, root, bin) %{_mandir}
13018
f2e9d53afe1b 2008-08-05 Liyan Zhang <[email protected]>
liyuan
parents: 12785
diff changeset
   298
%dir %attr(0755, root, bin) %{_mandir}/*
f2e9d53afe1b 2008-08-05 Liyan Zhang <[email protected]>
liyuan
parents: 12785
diff changeset
   299
%{_mandir}/*/*
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   300
13809
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   301
%files root
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   302
%defattr (-, root, sys)
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   303
%attr (0755, root, sys) %dir %{_sysconfdir}
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   304
%{_sysconfdir}/gconf/schemas/at-spi.schemas
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   305
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   306
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   307
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   308
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   309
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   310
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   311
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   312
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   313
%changelog
14176
5cc67df929f8 2009-01-20 Jeff Cai <[email protected]>
qc161282
parents: 14173
diff changeset
   314
* Wed Jan 20 2009 - [email protected]
5cc67df929f8 2009-01-20 Jeff Cai <[email protected]>
qc161282
parents: 14173
diff changeset
   315
- Ship a JNI library for java-access-bridge
14110
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   316
* Fri Oct 16 2008 - [email protected]
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   317
- Create symbol links for accessibility.properties and gnome-java-bridge.jar
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   318
  as parts of the package.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   319
  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
   320
  will not be executed in OpenSolaris.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   321
  Fix d.o.o bug #5253
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   322
- 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
   323
  empty after the integration of SUNWdoxygen.
a036cef35fd6 2008-12-16 Jeff Cai <[email protected]>
qc161282
parents: 13809
diff changeset
   324
  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
   325
* Mon Sep 29 2008 - [email protected]
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   326
- Added -root pkg for /etc/gconf/schemas/at-spi-schmeas.
13714
7583b79ecff5 2008-09-22 Dave Lin <[email protected]>
davelam
parents: 13654
diff changeset
   327
* Mon Sep 22 2008 - [email protected]
7583b79ecff5 2008-09-22 Dave Lin <[email protected]>
davelam
parents: 13654
diff changeset
   328
- Removed the empty dir /usr/share/doc/gnome-mag*
13654
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   329
* Thu Sep 18 2008 - [email protected]
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   330
- Added %doc to %files for copyright.
13376
c7eaeece45f4 2008-09-03 Dave Lin <[email protected]>
davelam
parents: 13018
diff changeset
   331
* Wed Sep 03 2008 - [email protected]
c7eaeece45f4 2008-09-03 Dave Lin <[email protected]>
davelam
parents: 13018
diff changeset
   332
- Add %defattr (-, root, bin) for "/usr/lib/amd/pkgconfig" dir, otherwise
c7eaeece45f4 2008-09-03 Dave Lin <[email protected]>
davelam
parents: 13018
diff changeset
   333
  the pc files have "gbuild" ownership
13018
f2e9d53afe1b 2008-08-05 Liyan Zhang <[email protected]>
liyuan
parents: 12785
diff changeset
   334
* Tue Aug 05 2008 - [email protected]
f2e9d53afe1b 2008-08-05 Liyan Zhang <[email protected]>
liyuan
parents: 12785
diff changeset
   335
- Add manpages.
12785
82b935aeed3f 2008-07-09 Damien Carbery <[email protected]>
dcarbery
parents: 12778
diff changeset
   336
* Wed Jul 09 2008 - [email protected]
82b935aeed3f 2008-07-09 Damien Carbery <[email protected]>
dcarbery
parents: 12778
diff changeset
   337
- Remove EXTRA_LDFLAGS after adding patch to at-spi.
12776
04d7306ff911 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12774
diff changeset
   338
* Wed Jul 09 2008 - [email protected]
12778
c355e9d3d16a 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12776
diff changeset
   339
- Put %defattr prior to new files.
c355e9d3d16a 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12776
diff changeset
   340
* Wed Jul 09 2008 - [email protected]
12776
04d7306ff911 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12774
diff changeset
   341
- 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
   342
  on it can find it in the right place. Also add 
04d7306ff911 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12774
diff changeset
   343
  %{_libdir}/%{_arch64}/bonobo/servers/*.server to the file section.
12774
1b0d4214642a 2008-07-08 Damien Carbery <[email protected]>
dcarbery
parents: 12763
diff changeset
   344
* Tue Jul 08 2008 - [email protected]
1b0d4214642a 2008-07-08 Damien Carbery <[email protected]>
dcarbery
parents: 12763
diff changeset
   345
- Set ACLOCAL_FLAGS for use in gnome-mag.spec.
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   346
* Mon Jul 07 2008 - [email protected]
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   347
- Fix 6697334. Add 64 bit libraries support for at-spi.
11976
798f0ce46ec6 2008-03-31 Li Yuan <[email protected]>
liyuan
parents: 11878
diff changeset
   348
* Mon Mar 31 2008 - [email protected]
798f0ce46ec6 2008-03-31 Li Yuan <[email protected]>
liyuan
parents: 11878
diff changeset
   349
- Add copyright file
11878
8d2087fad20b 2008-03-19 Dermot McCluskey <[email protected]>
dermot
parents: 11430
diff changeset
   350
* Wed Mar 19 2008 - [email protected]
8d2087fad20b 2008-03-19 Dermot McCluskey <[email protected]>
dermot
parents: 11430
diff changeset
   351
- 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
   352
  get installed in correct /usr/java link location. Fixes 6641866.
11430
c628da44e2b8 2008-01-10 Li Yuan <[email protected]>
liyuan
parents: 10620
diff changeset
   353
* Thu Jan 10 2008 - [email protected]
c628da44e2b8 2008-01-10 Li Yuan <[email protected]>
liyuan
parents: 10620
diff changeset
   354
- change owner to liyuan.
10619
a50a4a72fa9a 2007-10-07 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10574
diff changeset
   355
* Sun Oct  7 2007 - [email protected]
10620
ef0b1170eb49 2007-10-07 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10619
diff changeset
   356
- add /usr/X11/include to CFLAGS
10619
a50a4a72fa9a 2007-10-07 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10574
diff changeset
   357
- delete Nevada X deps
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   358
* Fri Sep 28 2007 - [email protected]
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   359
- disable java access bridge if build without java support
10451
844c5b59d61b 2007-09-05 Damien Carbery <[email protected]>
dcarbery
parents: 10017
diff changeset
   360
* Wed Sep 05 2007 - [email protected]
844c5b59d61b 2007-09-05 Damien Carbery <[email protected]>
dcarbery
parents: 10017
diff changeset
   361
- 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
   362
  moved to SUNWgnome-base-libs.
10017
11acbc57a6bf 2007-06-07 Damien Carbery <[email protected]>
dcarbery
parents: 9546
diff changeset
   363
* Thu Jun 07 2007 - [email protected]
11acbc57a6bf 2007-06-07 Damien Carbery <[email protected]>
dcarbery
parents: 9546
diff changeset
   364
- 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
   365
* Tue Mar 13 2007 - [email protected]
d3f1546e9b49 2007-03-13 Damien Carbery <[email protected]>
dcarbery
parents: 9441
diff changeset
   366
- Incorporate %post changes from Mary Ding. Fixes 6531193.
9441
24105511a782 2007-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   367
* Mon Mar 05 2007 - [email protected]
24105511a782 2007-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   368
- 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
   369
* Fri Sep 01 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   370
- New Manpage tarball
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   371
* Sat Aug 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   372
- delete some unnecessary env variables
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   373
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   374
- Remove .la files before packaging.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   375
* Thu Jun 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   376
- 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
   377
* Tue Jun 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   378
- 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
   379
  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
   380
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   381
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   382
* Tue May 30 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   383
- 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
   384
* Tue May 09 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   385
- merge -share pkg(s) into the base pkg(s)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   386
* Fri May 05 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   387
- 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
   388
* Tue Mar 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   389
- Add doc dir to share package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   390
* Mon Feb 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   391
- 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
   392
* Thu Feb 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   393
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   394
- 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
   395
  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
   396
  require share package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   397
* Fri Dec 02 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   398
- Add Requires SUNWj5rt so that symlink can be created.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   399
* Mon Nov 21 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   400
- 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
   401
  cinnabar-solaris branch.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   402
* Mon Sep 12 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   403
- define l10n subpkg
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   404
* Tue Jun 14 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   405
- Fix packaging.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   406
* Fri Jun 10 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   407
- 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
   408
* Mon Nov 22 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   409
- 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
   410
  SUNWgnome-a11y-libs package to remain in /usr/bin.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   411
* Sat Oct 02 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   412
- added %pkgbuild_postprocess
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   413
* Mon Aug 30 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   414
- 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
   415
* Mon Aug 23 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   416
- s/SUNWpl5u/SUNWperl584usr/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   417
* Wed Aug 18 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   418
- 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
   419
  are referred to from the libcspi.3 man page.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   420
* Wed Aug 18 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   421
- Change manpage perms for Solaris integration.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   422
* Fri Jul 23 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   423
- Move freetts from SUNWgnome-a11y-speech.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   424
* Tue Jun 22 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   425
- changed install location to /usr/lib and /usr/bin
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   426
* Wed Apr 14 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   427
- 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
   428
* Fri Mar 26 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   429
- add panel dependency
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   430
* Wed Mar 24 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   431
- Added SGML man page integration
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   432
* Tue Mar 23 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   433
- Remove gtk-doc and _datadir/lib from %files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   434
* Thu Feb 26 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   435
- Add devel-share subpkg for idl files and api docs