SUNWgnome-a11y-libs.spec
author hawklu
Mon, 17 Nov 2008 03:35:17 +0000
branchopensolaris-2008-11
changeset 14389 2b15c067f4e1
parent 13809 478a2d0d7ce5
child 14110 a036cef35fd6
child 14424 9fe51489f5c0
permissions -rw-r--r--
base-specs/firefox.spec: bump to 3.0.4
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
13809
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
    58
%package root
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
    59
Summary:                 %{summary} - / filesystem
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
    60
SUNW_BaseDir:            /
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
    61
%include default-depend.inc
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
    62
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
Summary:                 %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
Requires: SUNWperl584usr
10451
844c5b59d61b 2007-09-05 Damien Carbery <[email protected]>
dcarbery
parents: 10017
diff changeset
    68
Requires: SUNWgnome-base-libs-devel
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
Requires: SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
mkdir %name-%version
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    82
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    83
%ifarch amd64 sparcv9
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    84
mkdir %name-%version/%_arch64
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    85
%at_spi_64.prep -d %name-%version/%_arch64
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    86
%endif
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    87
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    88
mkdir %name-%version/%base_arch
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    89
%at_spi.prep -d %name-%version/%base_arch
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    90
%libgail_gnome.prep -d %name-%version/%base_arch
10574
e3d308b2dd09 minor fixes
laca
parents: 10572
diff changeset
    91
%if %option_with_java
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    92
%java_access_bridge.prep -d %name-%version/%base_arch
10574
e3d308b2dd09 minor fixes
laca
parents: 10572
diff changeset
    93
%endif
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    94
%freetts.prep -d %name-%version/%base_arch
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
    95
%gnome_mag.prep -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
gzcat %SOURCE0 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
PKG_CONFIG_DISABLE_UNINSTALLED=
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
unset PKG_CONFIG_DISABLE_UNINSTALLED
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
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
   103
export CFLAGS="%optflags -I/usr/X11/include"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
export RPM_OPT_FLAGS="$CFLAGS"
12785
82b935aeed3f 2008-07-09 Damien Carbery <[email protected]>
dcarbery
parents: 12778
diff changeset
   105
export LDFLAGS="%_ldflags"
12774
1b0d4214642a 2008-07-08 Damien Carbery <[email protected]>
dcarbery
parents: 12763
diff changeset
   106
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   107
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   108
%ifarch amd64 sparcv9
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   109
%at_spi_64.build -d %name-%version/%_arch64
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   110
%endif
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   111
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   112
%at_spi.build -d %name-%version/%base_arch
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   113
%libgail_gnome.build -d %name-%version/%base_arch
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   114
%if %option_with_java
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   115
%java_access_bridge.build -d %name-%version/%base_arch
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   116
%endif
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   117
%freetts.build -d %name-%version/%base_arch
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   118
%gnome_mag.build -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
%install
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   121
%ifarch amd64 sparcv9
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   122
%at_spi_64.install -d %name-%version/%_arch64
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   123
%endif
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   124
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   125
%at_spi.install -d %name-%version/%base_arch
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   126
%libgail_gnome.install -d %name-%version/%base_arch
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   127
%if %option_with_java
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   128
%java_access_bridge.install -d %name-%version/%base_arch
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   129
%endif
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   130
%freetts.install -d %name-%version/%base_arch
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   131
%gnome_mag.install -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
rm -rf $RPM_BUILD_ROOT%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
# Remove .la files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
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
   138
# Remove .pyo files
11acbc57a6bf 2007-06-07 Damien Carbery <[email protected]>
dcarbery
parents: 9546
diff changeset
   139
find $RPM_BUILD_ROOT -name '*.pyo' -exec rm {} \;
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
13716
f956bdb1a19e 2008-09-22 Dave Lin <[email protected]>
davelam
parents: 13714
diff changeset
   141
# Remove empty dir
13717
3e8a0e755d62 removed the subdirs under /usr/share/doc/ as well
davelam
parents: 13716
diff changeset
   142
rmdir $RPM_BUILD_ROOT%{_datadir}/doc/gnome-mag-*/reference/html
3e8a0e755d62 removed the subdirs under /usr/share/doc/ as well
davelam
parents: 13716
diff changeset
   143
rmdir $RPM_BUILD_ROOT%{_datadir}/doc/gnome-mag-*/reference
13716
f956bdb1a19e 2008-09-22 Dave Lin <[email protected]>
davelam
parents: 13714
diff changeset
   144
rmdir $RPM_BUILD_ROOT%{_datadir}/doc/gnome-mag-*
f956bdb1a19e 2008-09-22 Dave Lin <[email protected]>
davelam
parents: 13714
diff changeset
   145
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
%{?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
   153
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   157
%if %option_with_java
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
#  This script works by
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
#   1. If pkgcond exec exists it uses it to determine whether to
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
#	   make any file system modifications
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
#   2. if pkgcond does not exist it works by using the older FCS logic in CheckZones()
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   163
#	   The LocalZones() function now calls the function that modified /usr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   164
#	   based on whether /usr/java/jre/lib is writable
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   165
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   166
#  Basically local zones can have any arbitrary directory readonly or writable
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   167
#  So a script that needs to modify say /usr/java needs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   168
#  to figure out if this is actually doable first.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   169
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   170
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   171
PKGCOND=/usr/bin/pkgcond
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   172
CheckZones()
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
{
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   174
	if [ "${PKG_INSTALL_ROOT:=/}" = "/" -a -x /usr/bin/zonename ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   175
		ZONENAME=`/usr/bin/zonename`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   176
		if [ ${ZONENAME} = "global" ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   177
			GLOBAL_ZONE=true
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   178
		else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   179
                    	GLOBAL_ZONE=false
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   180
		fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   181
	else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   182
            	# Unable to determine zone
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   183
		GLOBAL_ZONE=true
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   184
	fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   185
}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   186
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   187
#  I am testing if /usr/java/jre/lib/ is writable as this is the only dir touched by this postinstall script
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   188
#  If there are other dirs that are touched later then need to add them here as well
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   189
LocalZones () {
9546
d3f1546e9b49 2007-03-13 Damien Carbery <[email protected]>
dcarbery
parents: 9441
diff changeset
   190
    /usr/bin/touch  ${BASEDIR}/java/jre/lib/.test.$$ > /dev/null 2>&1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   191
    if [ $? !=	0 ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   192
	   return 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   193
    fi
9546
d3f1546e9b49 2007-03-13 Damien Carbery <[email protected]>
dcarbery
parents: 9441
diff changeset
   194
    rm -f  ${BASEDIR}/java/jre/lib/.test.$$ > /dev/null 2>&1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   195
    ExecuteDefaultCmds
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   196
    return $?
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
}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   199
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   200
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   201
ExecuteDefaultCmds() {
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   202
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   203
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   204
  if [ -h ${BASEDIR}/java/jre/lib/accessibility.properties ];
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   205
then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   206
	rm -f ${BASEDIR}/java/jre/lib/accessibility.properties
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   207
  fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   208
  # Remove the incorrect /usr/java entries from the packaging database.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   209
  # Ignore errors for situation where files no longer in db as removing a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   210
  # non-existant reference does not cause any harm.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   211
  removef $PKGINST /usr/java/jre/lib/accessibility.properties >/dev/null 2>&1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   212
  removef $PKGINST /usr/java/jre/lib/ext/gnome-java-bridge.jar >/dev/null 2>&1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   213
  removef -f $PKGINST >/dev/null 2>&1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   214
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   215
  # Determine the full path (symlinks resolved) to JDK pointed to by /usr/java.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   216
  cd $BASEDIR
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   217
  JAVADIR=java
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   218
  JDK_DIR=$BASEDIR
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   219
  # If $JAVADIR is a symlink then we must resolve it.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   220
  if [ -d $JAVADIR -a -h $JAVADIR ]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   221
  then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   222
    # Get symlink target.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   223
    DIR=`ls -l $JAVADIR | awk '{print $NF}'`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   224
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   225
    # If the target is a symlink then need to resolve it.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   226
    if [ -d $DIR -a -h $DIR ]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   227
    then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   228
      nextdir=`dirname $DIR`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   229
      cd $nextdir
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   230
      JDK_DIR="$JDK_DIR/$nextdir"  # Append this bit.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   231
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   232
      f=`basename $DIR`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   233
      nextdir=`ls -l $f | awk '{print $NF}'`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   234
      JDK_DIR="$JDK_DIR/$nextdir"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   235
    else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   236
      # otherwise just append to $JDK_DIR and we're done.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   237
      JDK_DIR="$JDK_DIR/$DIR"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   238
    fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   239
  else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   240
    # If the 'java' item is not a symlink (presumably a dir) there will be no
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   241
    # symlink to installf items to.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   242
    return 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   243
  fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   244
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   245
  cd ${JDK_DIR}/jre/lib || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   246
  # Dynamically determine number of '..' required.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   247
  JAR_DIR=share/jar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   248
  DOTS=.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   249
  LEVEL=0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   250
  FILE=accessibility.properties
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   251
  # Keep testing, up to a max of 10 levels to avoid infinite loop.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   252
  while [ ! -f $DOTS/$JAR_DIR/$FILE ] && [ $LEVEL -lt 10 ]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   253
  do
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   254
    DOTS="$DOTS/.."
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   255
    LEVEL=`expr $LEVEL + 1`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   256
  done
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   257
  if [ -f $DOTS/$JAR_DIR/$FILE ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   258
    ln -s $DOTS/$JAR_DIR/$FILE . || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   259
    installf $PKGINST  ${JDK_DIR}/jre/lib/$FILE=$DOTS/$JAR_DIR/$FILE s || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   260
  fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   261
  FILE=gnome-java-bridge.jar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   262
  if [ -f $DOTS/$JAR_DIR/$FILE ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   263
    cp $DOTS/$JAR_DIR/$FILE ext || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   264
    installf $PKGINST  ${JDK_DIR}/jre/lib/ext/$FILE f 0644 root bin || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   265
  fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   266
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   267
  installf -f $PKGINST || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   268
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   269
  return 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   270
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   271
}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   272
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   273
ExecuteWholerootCmds() {
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   274
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   275
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   276
  if [ -h ${BASEDIR}/java/jre/lib/accessibility.properties ];
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   277
then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   278
	rm -f ${BASEDIR}/java/jre/lib/accessibility.properties
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   279
  fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   280
  # Remove the incorrect /usr/java entries from the packaging database.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   281
  # Ignore errors for situation where files no longer in db as removing a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   282
  # non-existant reference does not cause any harm.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   283
  removef $PKGINST /usr/java/jre/lib/accessibility.properties >/dev/null 2>&1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   284
  removef $PKGINST /usr/java/jre/lib/ext/gnome-java-bridge.jar >/dev/null 2>&1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   285
  removef -f $PKGINST >/dev/null 2>&1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   286
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   287
  # Determine the full path (symlinks resolved) to JDK pointed to by /usr/java.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   288
  cd $BASEDIR
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   289
  JAVADIR=java
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   290
  JDK_DIR=$BASEDIR
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   291
  # If $JAVADIR is a symlink then we must resolve it.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   292
  if [ -d $JAVADIR -a -h $JAVADIR ]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   293
  then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   294
    # Get symlink target.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   295
    DIR=`ls -l $JAVADIR | awk '{print $NF}'`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   296
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   297
    # If the target is a symlink then need to resolve it.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   298
    if [ -d $DIR -a -h $DIR ]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   299
    then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   300
      nextdir=`dirname $DIR`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   301
      cd $nextdir
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   302
      JDK_DIR="$JDK_DIR/$nextdir"  # Append this bit.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   303
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   304
      f=`basename $DIR`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   305
      nextdir=`ls -l $f | awk '{print $NF}'`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   306
      JDK_DIR="$JDK_DIR/$nextdir"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   307
    else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   308
      # otherwise just append to $JDK_DIR and we're done.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   309
      JDK_DIR="$JDK_DIR/$DIR"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   310
    fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   311
  else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   312
    # If the 'java' item is not a symlink (presumably a dir) there will be no
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   313
    # symlink to installf items to.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   314
    return 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   315
  fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   316
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   317
  cd ${JDK_DIR}/jre/lib || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   318
  # Extra '..' because traversing up through symlink.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   319
  #
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   320
  # Due to bugid 6358671, need to check whether we are running pkgadd relative to /export/Solaris_1*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   321
  # and the link ${PKG_INSTALL_ROOT}/usr_${ARCH}.all to see whether this is smosservice.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   322
  #  Also not do installf since diskless client root and user packages are not in installed relative 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   323
  #  to the same directory.  installf/removef will never work properly
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   324
  #
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   325
  if [ -h ${PKG_INSTALL_ROOT}/usr_${ARCH}.all ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   326
        # Dynamically determine number of '..' required.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   327
        JAR_DIR=share/jar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   328
        DOTS=.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   329
        LEVEL=0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   330
        FILE=accessibility.properties
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   331
        # Keep testing, up to a max of 10 levels to avoid infinite loop.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   332
        while [ ! -f $DOTS/$JAR_DIR/$FILE ] && [ $LEVEL -lt 10 ]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   333
        do
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   334
          DOTS="$DOTS/.."
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   335
          LEVEL=`expr $LEVEL + 1`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   336
        done
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   337
        if [ -f $DOTS/$JAR_DIR/$FILE ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   338
          ln -s $DOTS/$JAR_DIR/$FILE . || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   339
        fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   340
        FILE=gnome-java-bridge.jar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   341
        if [ -f $DOTS/$JAR_DIR/$FILE ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   342
          cp $DOTS/$JAR_DIR/$FILE ext || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   343
        fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   344
  else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   345
        # Dynamically determine number of '..' required.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   346
        JAR_DIR=share/jar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   347
        DOTS=.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   348
        LEVEL=0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   349
        FILE=accessibility.properties
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   350
        # Keep testing, up to a max of 10 levels to avoid infinite loop.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   351
        while [ ! -f $DOTS/$JAR_DIR/$FILE ] && [ $LEVEL -lt 10 ]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   352
        do
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   353
          DOTS="$DOTS/.."
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   354
          LEVEL=`expr $LEVEL + 1`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   355
        done
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   356
        if [ -f $DOTS/$JAR_DIR/$FILE ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   357
          ln -s $DOTS/$JAR_DIR/$FILE . || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   358
  	  installf $PKGINST  ${JDK_DIR}/jre/lib/$FILE=$DOTS/$JAR_DIR/$FILE s || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   359
        fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   360
        FILE=gnome-java-bridge.jar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   361
        if [ -f $DOTS/$JAR_DIR/$FILE ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   362
          cp $DOTS/$JAR_DIR/$FILE ext || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   363
  	  installf $PKGINST  ${JDK_DIR}/jre/lib/ext/$FILE f 0644 root bin || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   364
        fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   365
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   366
  	installf -f $PKGINST || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   367
  fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   368
  	return 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   369
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   370
}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   371
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   372
ExecuteDisklessCmds() {
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   373
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   374
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   375
  if [ -h ${BASEDIR}/java/jre/lib/accessibility.properties ];
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   376
then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   377
	rm -f ${BASEDIR}/java/jre/lib/accessibility.properties
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   378
  fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   379
  # Remove the incorrect /usr/java entries from the packaging database.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   380
  # Ignore errors for situation where files no longer in db as removing a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   381
  # non-existant reference does not cause any harm.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   382
  removef $PKGINST /usr/java/jre/lib/accessibility.properties >/dev/null 2>&1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   383
  removef $PKGINST /usr/java/jre/lib/ext/gnome-java-bridge.jar >/dev/null 2>&1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   384
  removef -f $PKGINST >/dev/null 2>&1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   385
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   386
  # Determine the full path (symlinks resolved) to JDK pointed to by /usr/java.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   387
  cd $BASEDIR
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   388
  JAVADIR=java
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   389
  JDK_DIR=$BASEDIR
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   390
  # If $JAVADIR is a symlink then we must resolve it.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   391
  if [ -d $JAVADIR -a -h $JAVADIR ]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   392
  then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   393
    # Get symlink target.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   394
    DIR=`ls -l $JAVADIR | awk '{print $NF}'`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   395
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   396
    # If the target is a symlink then need to resolve it.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   397
    if [ -d $DIR -a -h $DIR ]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   398
    then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   399
      nextdir=`dirname $DIR`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   400
      cd $nextdir
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   401
      JDK_DIR="$JDK_DIR/$nextdir"  # Append this bit.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   402
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   403
      f=`basename $DIR`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   404
      nextdir=`ls -l $f | awk '{print $NF}'`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   405
      JDK_DIR="$JDK_DIR/$nextdir"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   406
    else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   407
      # otherwise just append to $JDK_DIR and we're done.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   408
      JDK_DIR="$JDK_DIR/$DIR"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   409
    fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   410
  else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   411
    # If the 'java' item is not a symlink (presumably a dir) there will be no
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   412
    # symlink to installf items to.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   413
    return 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   414
  fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   415
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   416
  cd ${JDK_DIR}/jre/lib || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   417
  # Dynamically determine number of '..' required.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   418
  JAR_DIR=share/jar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   419
  DOTS=.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   420
  LEVEL=0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   421
  FILE=accessibility.properties
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   422
  # Keep testing, up to a max of 10 levels to avoid infinite loop.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   423
  while [ ! -f $DOTS/$JAR_DIR/$FILE ] && [ $LEVEL -lt 10 ]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   424
  do
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   425
    DOTS="$DOTS/.."
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   426
    LEVEL=`expr $LEVEL + 1`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   427
  done
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   428
  if [ -f $DOTS/$JAR_DIR/$FILE ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   429
    ln -s $DOTS/$JAR_DIR/$FILE . || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   430
  fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   431
  FILE=gnome-java-bridge.jar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   432
  if [ -f $DOTS/$JAR_DIR/$FILE ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   433
    cp $DOTS/$JAR_DIR/$FILE ext || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   434
  fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   435
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   436
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   437
# Comment this out since diskless service root and usr packages are installed in seperate directories and do not have a common package database.  installf and removef will not work
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   438
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   439
#  installf $PKGINST  ${JDK_DIR}/jre/lib/accessibility.properties=../../../../../share/jar/accessibility.properties s || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   440
#  installf $PKGINST  ${JDK_DIR}/jre/lib/ext/gnome-java-bridge.jar f 0644 root bin || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   441
#  installf -f $PKGINST || exit 2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   442
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   443
  return 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   444
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   445
}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   446
ExecuteInProperEnvironment () {
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   447
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   448
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   449
# The following is comment out since pkgcond does not support smosservice
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   450
# if $PKGCOND is_smosservice > /dev/null 2>&1 ; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   451
	# Execute smosservice for diskless clients service commands.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   452
	# We use $BASEDIR because of diskless client restrictions
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   453
#	ExecuteDisklessCmds
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   454
#	return 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   455
#  fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   456
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   457
  if $PKGCOND is_whole_root_nonglobal_zone > /dev/null 2>&1 ; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   458
	# Execute non-global whole root zone commands.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   459
	# Should be same action as the default action.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   460
	ExecuteWholerootCmds
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   461
	return 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   462
  fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   463
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   464
  if $PKGCOND is_nonglobal_zone > /dev/null 2>&1 ; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   465
     # Execute non-global zone commands. Should be no action here
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   466
    return 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   467
  fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   468
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   469
  if $PKGCOND is_alternative_root > /dev/null 2>&1 ; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   470
	# Execute commands specific to an alternate root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   471
	ExecuteDefaultCmds
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   472
	return 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   473
   fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   474
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   475
   if $PKGCOND is_global_zone > /dev/null 2>&1 ; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   476
	# In a global zone and system is mounted on /.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   477
	# Execute all commands.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   478
	ExecuteDefaultCmds
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   479
	return 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   480
   fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   481
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   482
   return 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   483
}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   484
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   485
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   486
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   487
if [ -n "$PKG_INIT_INSTALL" ] ; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   488
   # initial installation of Solaris
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   489
	ExecuteDefaultCmds
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   490
elif [ -n "$SUNW_PKG_INSTALL_ZONENAME" ] ; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   491
   # initial installation of non-global zone
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   492
   # Execute non-global zone commands. Should be no action here
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   493
	exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   494
elif [ -x $PKGCOND ] ; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   495
   # use pkgcond to determine what the package is being installed to
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   496
	   ExecuteInProperEnvironment && exit 0 || exit 1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   497
else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   498
   CheckZones
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   499
   if [ "${GLOBAL_ZONE}" = "true" ]; then
9546
d3f1546e9b49 2007-03-13 Damien Carbery <[email protected]>
dcarbery
parents: 9441
diff changeset
   500
        # Call LocalZones() to verify that the /usr/java/jre/lib dir is
d3f1546e9b49 2007-03-13 Damien Carbery <[email protected]>
dcarbery
parents: 9441
diff changeset
   501
        # writeable before trying to create the symlink and copy the file. The
d3f1546e9b49 2007-03-13 Damien Carbery <[email protected]>
dcarbery
parents: 9441
diff changeset
   502
	# function name is unfortunate. To minimize changes it is not being
d3f1546e9b49 2007-03-13 Damien Carbery <[email protected]>
dcarbery
parents: 9441
diff changeset
   503
	# renamed nor this 'if' statement removed. Fixes 6531193.
d3f1546e9b49 2007-03-13 Damien Carbery <[email protected]>
dcarbery
parents: 9441
diff changeset
   504
	LocalZones
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   505
   else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   506
	LocalZones
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   507
   fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   508
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   509
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   510
exit 0
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   511
%endif
9546
d3f1546e9b49 2007-03-13 Damien Carbery <[email protected]>
dcarbery
parents: 9441
diff changeset
   512
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   513
%files
12778
c355e9d3d16a 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12776
diff changeset
   514
%defattr (-, root, bin)
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   515
%ifarch amd64 sparcv9
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   516
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   517
%{_libdir}/%{_arch64}/lib*.so*
12778
c355e9d3d16a 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12776
diff changeset
   518
%{_libdir}/%{_arch64}/bonobo
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   519
%{_libdir}/%{_arch64}/gtk-2.0/modules/*.so
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   520
%{_libexecdir}/%{_arch64}/at-spi-registryd
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   521
%{_libdir}/%{_arch64}/orbit-2.0/*.so
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   522
%endif
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   523
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   524
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   525
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   526
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   527
%{_libdir}/lib*.so*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   528
%{_libdir}/bonobo
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   529
%{_libdir}/gtk-2.0/modules/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   530
%{_libdir}/orbit-2.0/*.so
10017
11acbc57a6bf 2007-06-07 Damien Carbery <[email protected]>
dcarbery
parents: 9546
diff changeset
   531
%{_libdir}/python?.?
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   532
%{_libexecdir}/at-spi-registryd
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   533
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   534
%dir %attr (0755, root, sys) %{_datadir}/lib
13654
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   535
%doc -d %{base_arch} at-spi-%{at_spi.version}/README 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   536
%doc -d %{base_arch} at-spi-%{at_spi.version}/AUTHORS
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   537
%doc(bzip2) -d %{base_arch} at-spi-%{at_spi.version}/COPYING 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   538
%doc(bzip2) -d %{base_arch} at-spi-%{at_spi.version}/NEWS 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   539
%doc(bzip2) -d %{base_arch} at-spi-%{at_spi.version}/ChangeLog
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   540
%doc -d %{base_arch} freetts/freetts-%{freetts.version}/license.terms 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   541
%doc -d %{base_arch} freetts/freetts-%{freetts.version}/acknowledgments.txt 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   542
%doc -d %{base_arch} freetts/freetts-%{freetts.version}/ANNOUNCE.txt 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   543
%doc -d %{base_arch} freetts/freetts-%{freetts.version}/RELEASE_NOTES 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   544
%doc -d %{base_arch} freetts/freetts-%{freetts.version}/README.txt
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   545
%doc -d %{base_arch} gnome-mag-%{gnome_mag.version}/README 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   546
%doc -d %{base_arch} gnome-mag-%{gnome_mag.version}/AUTHORS 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   547
%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
   548
%doc(bzip2) -d %{base_arch} gnome-mag-%{gnome_mag.version}/COPYING 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   549
%doc(bzip2) -d %{base_arch} gnome-mag-%{gnome_mag.version}/NEWS 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   550
%doc(bzip2) -d %{base_arch} gnome-mag-%{gnome_mag.version}/ChangeLog
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   551
%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
   552
%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
   553
%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
   554
%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
   555
%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
   556
%doc -d %{base_arch} libgail-gnome-%{libgail_gnome.version}/README 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   557
%doc -d %{base_arch} libgail-gnome-%{libgail_gnome.version}/AUTHORS
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   558
%doc(bzip2) -d %{base_arch} libgail-gnome-%{libgail_gnome.version}/COPYING 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   559
%doc(bzip2) -d %{base_arch} libgail-gnome-%{libgail_gnome.version}/NEWS 
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   560
%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
   561
%dir %attr (0755, root, other) %{_datadir}/doc
13654
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   562
%{_datadir}/doc/at-spi-%{at_spi.version}/*
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   563
%{_datadir}/gnome-mag
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   564
%if %option_with_java
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   565
%{_datadir}/jar
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   566
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   567
%{_datadir}/lib/freetts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   568
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   569
%files devel
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   570
%ifarch amd64 sparcv9
13376
c7eaeece45f4 2008-09-03 Dave Lin <[email protected]>
davelam
parents: 13018
diff changeset
   571
%defattr (-, root, bin)
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   572
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   573
%{_libdir}/%{_arch64}/pkgconfig/*
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   574
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   575
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   576
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   577
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   578
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   579
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   580
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   581
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   582
%{_datadir}/idl
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   583
%{_datadir}/gtk-doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   584
%dir %attr(0755, root, bin) %{_mandir}
13018
f2e9d53afe1b 2008-08-05 Liyan Zhang <[email protected]>
liyuan
parents: 12785
diff changeset
   585
%dir %attr(0755, root, bin) %{_mandir}/*
f2e9d53afe1b 2008-08-05 Liyan Zhang <[email protected]>
liyuan
parents: 12785
diff changeset
   586
%{_mandir}/*/*
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   587
13809
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   588
%files root
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   589
%defattr (-, root, sys)
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   590
%attr (0755, root, sys) %dir %{_sysconfdir}
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   591
%{_sysconfdir}/gconf/schemas/at-spi.schemas
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   592
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   593
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   594
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   595
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   596
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   597
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   598
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   599
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   600
%changelog
13809
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   601
* Mon Sep 29 2008 - [email protected]
478a2d0d7ce5 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13717
diff changeset
   602
- Added -root pkg for /etc/gconf/schemas/at-spi-schmeas.
13714
7583b79ecff5 2008-09-22 Dave Lin <[email protected]>
davelam
parents: 13654
diff changeset
   603
* Mon Sep 22 2008 - [email protected]
7583b79ecff5 2008-09-22 Dave Lin <[email protected]>
davelam
parents: 13654
diff changeset
   604
- Removed the empty dir /usr/share/doc/gnome-mag*
13654
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   605
* Thu Sep 18 2008 - [email protected]
c8faa3142749 2008-09-18 Li Yuan <liyuan@match>
liyuan
parents: 13376
diff changeset
   606
- Added %doc to %files for copyright.
13376
c7eaeece45f4 2008-09-03 Dave Lin <[email protected]>
davelam
parents: 13018
diff changeset
   607
* Wed Sep 03 2008 - [email protected]
c7eaeece45f4 2008-09-03 Dave Lin <[email protected]>
davelam
parents: 13018
diff changeset
   608
- Add %defattr (-, root, bin) for "/usr/lib/amd/pkgconfig" dir, otherwise
c7eaeece45f4 2008-09-03 Dave Lin <[email protected]>
davelam
parents: 13018
diff changeset
   609
  the pc files have "gbuild" ownership
13018
f2e9d53afe1b 2008-08-05 Liyan Zhang <[email protected]>
liyuan
parents: 12785
diff changeset
   610
* Tue Aug 05 2008 - [email protected]
f2e9d53afe1b 2008-08-05 Liyan Zhang <[email protected]>
liyuan
parents: 12785
diff changeset
   611
- Add manpages.
12785
82b935aeed3f 2008-07-09 Damien Carbery <[email protected]>
dcarbery
parents: 12778
diff changeset
   612
* Wed Jul 09 2008 - [email protected]
82b935aeed3f 2008-07-09 Damien Carbery <[email protected]>
dcarbery
parents: 12778
diff changeset
   613
- Remove EXTRA_LDFLAGS after adding patch to at-spi.
12776
04d7306ff911 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12774
diff changeset
   614
* Wed Jul 09 2008 - [email protected]
12778
c355e9d3d16a 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12776
diff changeset
   615
- Put %defattr prior to new files.
c355e9d3d16a 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12776
diff changeset
   616
* Wed Jul 09 2008 - [email protected]
12776
04d7306ff911 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12774
diff changeset
   617
- 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
   618
  on it can find it in the right place. Also add 
04d7306ff911 2008-07-09 Li Yuan <[email protected]>
liyuan
parents: 12774
diff changeset
   619
  %{_libdir}/%{_arch64}/bonobo/servers/*.server to the file section.
12774
1b0d4214642a 2008-07-08 Damien Carbery <[email protected]>
dcarbery
parents: 12763
diff changeset
   620
* Tue Jul 08 2008 - [email protected]
1b0d4214642a 2008-07-08 Damien Carbery <[email protected]>
dcarbery
parents: 12763
diff changeset
   621
- Set ACLOCAL_FLAGS for use in gnome-mag.spec.
12763
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   622
* Mon Jul 07 2008 - [email protected]
63d744a55e5f 2008-07-07 Li Yuan <[email protected]>
liyuan
parents: 11976
diff changeset
   623
- Fix 6697334. Add 64 bit libraries support for at-spi.
11976
798f0ce46ec6 2008-03-31 Li Yuan <[email protected]>
liyuan
parents: 11878
diff changeset
   624
* Mon Mar 31 2008 - [email protected]
798f0ce46ec6 2008-03-31 Li Yuan <[email protected]>
liyuan
parents: 11878
diff changeset
   625
- Add copyright file
11878
8d2087fad20b 2008-03-19 Dermot McCluskey <[email protected]>
dermot
parents: 11430
diff changeset
   626
* Wed Mar 19 2008 - [email protected]
8d2087fad20b 2008-03-19 Dermot McCluskey <[email protected]>
dermot
parents: 11430
diff changeset
   627
- 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
   628
  get installed in correct /usr/java link location. Fixes 6641866.
11430
c628da44e2b8 2008-01-10 Li Yuan <[email protected]>
liyuan
parents: 10620
diff changeset
   629
* Thu Jan 10 2008 - [email protected]
c628da44e2b8 2008-01-10 Li Yuan <[email protected]>
liyuan
parents: 10620
diff changeset
   630
- change owner to liyuan.
10619
a50a4a72fa9a 2007-10-07 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10574
diff changeset
   631
* Sun Oct  7 2007 - [email protected]
10620
ef0b1170eb49 2007-10-07 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10619
diff changeset
   632
- add /usr/X11/include to CFLAGS
10619
a50a4a72fa9a 2007-10-07 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10574
diff changeset
   633
- delete Nevada X deps
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   634
* Fri Sep 28 2007 - [email protected]
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10451
diff changeset
   635
- disable java access bridge if build without java support
10451
844c5b59d61b 2007-09-05 Damien Carbery <[email protected]>
dcarbery
parents: 10017
diff changeset
   636
* Wed Sep 05 2007 - [email protected]
844c5b59d61b 2007-09-05 Damien Carbery <[email protected]>
dcarbery
parents: 10017
diff changeset
   637
- 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
   638
  moved to SUNWgnome-base-libs.
10017
11acbc57a6bf 2007-06-07 Damien Carbery <[email protected]>
dcarbery
parents: 9546
diff changeset
   639
* Thu Jun 07 2007 - [email protected]
11acbc57a6bf 2007-06-07 Damien Carbery <[email protected]>
dcarbery
parents: 9546
diff changeset
   640
- 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
   641
* Tue Mar 13 2007 - [email protected]
d3f1546e9b49 2007-03-13 Damien Carbery <[email protected]>
dcarbery
parents: 9441
diff changeset
   642
- Incorporate %post changes from Mary Ding. Fixes 6531193.
9441
24105511a782 2007-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   643
* Mon Mar 05 2007 - [email protected]
24105511a782 2007-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   644
- 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
   645
* Fri Sep 01 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   646
- New Manpage tarball
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   647
* Sat Aug 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   648
- delete some unnecessary env variables
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   649
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   650
- Remove .la files before packaging.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   651
* Thu Jun 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   652
- 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
   653
* Tue Jun 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   654
- 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
   655
  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
   656
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   657
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   658
* Tue May 30 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   659
- 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
   660
* Tue May 09 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   661
- merge -share pkg(s) into the base pkg(s)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   662
* Fri May 05 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   663
- 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
   664
* Tue Mar 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   665
- Add doc dir to share package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   666
* Mon Feb 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   667
- 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
   668
* Thu Feb 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   669
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   670
- 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
   671
  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
   672
  require share package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   673
* Fri Dec 02 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   674
- Add Requires SUNWj5rt so that symlink can be created.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   675
* Mon Nov 21 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   676
- 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
   677
  cinnabar-solaris branch.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   678
* Mon Sep 12 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   679
- define l10n subpkg
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   680
* Tue Jun 14 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   681
- Fix packaging.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   682
* Fri Jun 10 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   683
- 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
   684
* Mon Nov 22 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   685
- 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
   686
  SUNWgnome-a11y-libs package to remain in /usr/bin.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   687
* Sat Oct 02 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   688
- added %pkgbuild_postprocess
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   689
* Mon Aug 30 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   690
- 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
   691
* Mon Aug 23 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   692
- s/SUNWpl5u/SUNWperl584usr/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   693
* Wed Aug 18 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   694
- 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
   695
  are referred to from the libcspi.3 man page.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   696
* Wed Aug 18 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   697
- Change manpage perms for Solaris integration.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   698
* Fri Jul 23 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   699
- Move freetts from SUNWgnome-a11y-speech.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   700
* Tue Jun 22 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   701
- changed install location to /usr/lib and /usr/bin
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   702
* Wed Apr 14 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   703
- 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
   704
* Fri Mar 26 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   705
- add panel dependency
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   706
* Wed Mar 24 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   707
- Added SGML man page integration
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   708
* Tue Mar 23 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   709
- Remove gtk-doc and _datadir/lib from %files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   710
* Thu Feb 26 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   711
- Add devel-share subpkg for idl files and api docs