SUNWgnome-system-tools.spec
author laca
Wed, 25 Apr 2007 01:42:08 +0000
changeset 9780 21510eb397b1
parent 9397 b16e349d18c5
child 10128 98a8602b763c
permissions -rw-r--r--
2007-04-24 Laszlo (Laca) Peter <[email protected]> * SUNWgksu.spec: fix default attributes * SUNWevolution-exchange.spec, SUNWevolution.spec, SUNWfirefox.spec, SUNWgnome-a11y-dasher.spec, SUNWgnome-applets.spec, SUNWgnome-archive-mgr.spec, SUNWgnome-calculator.spec, SUNWgnome-cd.spec, SUNWgnome-crash-report.spec, SUNWgnome-desktop-prefs.spec, SUNWgnome-devhelp.spec, SUNWgnome-file-mgr.spec, SUNWgnome-gtksourceview.spec, SUNWgnome-hex-editor.spec, SUNWgnome-im-client.spec, SUNWgnome-img-editor.spec, SUNWgnome-img-organizer.spec, SUNWgnome-img-viewer.spec, SUNWgnome-keyring-manager.spec, SUNWgnome-libs.spec, SUNWgnome-media-player.spec, SUNWgnome-panel.spec, SUNWgnome-pdf-viewer.spec, SUNWgnome-pilot.spec, SUNWgnome-print.spec, SUNWgnome-remote-desktop.spec, SUNWgnome-session.spec, SUNWgnome-system-tools.spec, SUNWgnome-terminal.spec, SUNWgnome-text-editor.spec, SUNWgnome-themes.spec, SUNWgnome-vfs.spec, SUNWopenjade.spec, SUNWthunderbird.spec: s/0755/-/ in defattr so that files are not made all executable * SUNWvirt-manager.spec: s/0755/-/ in defattr so that files are not made all executable and define l10n subpkg
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-system-tools
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): gnome-system-tools, system-tools-backends
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# Copyright (c) 2004 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: dkenny
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
# DO NOT REMOVE NEXT LINE
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
# PACKAGE NOT ARC REVIEWED BY SUN JDS TEAM
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
%use gnomesystemtools = gnome-system-tools.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
%use systemtoolsbackends = system-tools-backends.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Name:                    SUNWgnome-system-tools
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Summary:                 GNOME system tools
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Version:                 %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Source:                  %{name}-manpages-0.1.tar.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Source1:                 %{name}-exec_attr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Requires:                SUNWgnome-doc-utils
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Requires:                SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Requires:                SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Requires:                SUNWgnome-file-mgr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Requires:                SUNWgnome-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Requires:                SUNWgnome-vfs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Requires:                SUNWlibms
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Requires:                SUNWlxml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Requires:                SUNWperl584core
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Requires:                SUNWperl-authen-pam
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
Requires:                SUNWgksu
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
BuildRequires:           SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
BuildRequires:           SUNWgnome-file-mgr-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
BuildRequires:           SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
BuildRequires:           SUNWgnome-vfs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
BuildRequires:           SUNWgnome-doc-utils-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
BuildRequires:           SUNWgnome-config-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
BuildRequires:           SUNWgksu-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
                                                                                
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
Summary:                 %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
SUNW_BaseDir:            %{_basedir} 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
Requires: %name
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
%package root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
Summary:                 %{summary} - / filesystem
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
SUNW_BaseDir:            /
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
Requires: SUNWpostrun-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
Requires: SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%systemtoolsbackends.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%gnomesystemtools.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
gzcat %SOURCE0 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal -I %{_builddir}/%{name}-%{version}/%{systemtoolsbackends.name}-%{systemtoolsbackends.version}/m4macros"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
export LDFLAGS="%_ldflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
export CFLAGS="%optflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
export PKG_CONFIG_PATH=%{_builddir}/%{name}-%{version}/%{systemtoolsbackends.name}-%{systemtoolsbackends.version}:%{_pkg_config_path}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%systemtoolsbackends.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%gnomesystemtools.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%systemtoolsbackends.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%gnomesystemtools.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/security
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_sysconfdir}/security/exec_attr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/inet/gnome-system-tools
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
#Manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
rm -rf $RPM_BUILD_ROOT%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
#FIXME: Remove scrollkeeper files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
rm -rf $RPM_BUILD_ROOT%{_prefix}/var/scrollkeeper
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
rm -rf $RPM_BUILD_ROOT/var/lib/scrollkeeper
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
rmdir $RPM_BUILD_ROOT/var
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
#Delete all files we don't need at the moment from /usr/share/setup-tool-backends/scripts/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
rm $RPM_BUILD_ROOT%{_datadir}/setup-tool-backends/scripts/boot*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
rm $RPM_BUILD_ROOT%{_datadir}/setup-tool-backends/scripts/dhcpd*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
rm $RPM_BUILD_ROOT%{_datadir}/setup-tool-backends/scripts/print*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
rm $RPM_BUILD_ROOT%{_datadir}/setup-tool-backends/scripts/font*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
rm $RPM_BUILD_ROOT%{_datadir}/setup-tool-backends/scripts/display-conf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
rm $RPM_BUILD_ROOT%{_datadir}/setup-tool-backends/scripts/media.pl
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
rm $RPM_BUILD_ROOT%{_datadir}/setup-tool-backends/scripts/memory-conf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
rm $RPM_BUILD_ROOT%{_datadir}/setup-tool-backends/scripts/mouse-conf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
rm $RPM_BUILD_ROOT%{_datadir}/setup-tool-backends/scripts/type1inst
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
rm $RPM_BUILD_ROOT%{_datadir}/setup-tool-backends/scripts/package-conf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
rm $RPM_BUILD_ROOT%{_datadir}/setup-tool-backends/scripts/x.pl
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
rm $RPM_BUILD_ROOT%{_datadir}/setup-tool-backends/scripts/internetsharing-conf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
rm $RPM_BUILD_ROOT%{_datadir}/setup-tool-backends/scripts/partition.pl
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
rm $RPM_BUILD_ROOT%{_datadir}/setup-tool-backends/scripts/disks-conf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
rm $RPM_BUILD_ROOT%{_datadir}/setup-tool-backends/scripts/ishare.pl
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z][a-z]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z].omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
# Remove empty dirs i.e. those with no C locale omf file.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
rmdir $RPM_BUILD_ROOT%{_datadir}/omf/gnome-system-tools
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
%{?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
   130
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
%post root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
( echo 'test -x /usr/bin/gconftool-2 || {';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
  echo '  echo "ERROR: gconftool-2 not found"';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
  echo '  exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
  echo '}';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
  echo 'umask 0022';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
  echo 'GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
  echo 'export GCONF_CONFIG_SOURCE';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
  echo '/usr/bin/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
) | $BASEDIR/var/lib/postrun/postrun -u -c JDS_wait
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
%preun root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
test -x $BASEDIR/var/lib/postrun/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
( echo 'test -x $PKG_INSTALL_ROOT/usr/bin/gconftool-2 || {';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
  echo '  echo "WARNING: gconftool-2 not found; not uninstalling gconf schemas"';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
  echo '  exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
  echo '}';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
  echo 'umask 0022';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
  echo 'GCONF_CONFIG_SOURCE=xml:merged:$BASEDIR/etc/gconf/gconf.xml.defaults';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
  echo 'GCONF_BACKEND_DIR=$PKG_INSTALL_ROOT/usr/lib/GConf/2';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
  echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
  echo 'export GCONF_CONFIG_SOURCE GCONF_BACKEND_DIR LD_LIBRARY_PATH';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
  echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
  echo 'schemas="$SDIR/gnome-system-tools.schemas"';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
  echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule $schemas'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   163
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   164
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   165
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   166
%{_libdir}/nautilus
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   167
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   168
%dir %attr (0755, root, other) %{_datadir}/applications
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   169
%{_datadir}/applications/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   170
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   171
%{_datadir}/gnome/help/*/C
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   172
%{_datadir}/omf/*/*-C.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
%{_datadir}/gnome-system-tools
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   174
%{_datadir}/setup-tool-backends
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   175
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   176
%{_mandir}/*/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   177
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   178
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   179
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   180
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   181
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   182
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   183
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   184
%dir %attr (0755, root, other) %{_datadir}/aclocal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   185
%{_datadir}/aclocal/*
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
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   188
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   189
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   190
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   191
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   192
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   193
%{_datadir}/gnome/help/*/[a-z][a-z]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   194
%{_datadir}/omf/*/*-[a-z][a-z].omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   195
#%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z][A-Z].omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   196
%endif
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
%files root
9780
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   199
%defattr (-, root, sys)
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   200
%dir %{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   201
%attr (0644, root, sys) %{_sysconfdir}/gconf/schemas/gnome-system-tools.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   202
%{_sysconfdir}/inet
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   203
%config %class(rbac) %attr (0644, root, sys) %{_sysconfdir}/security/exec_attr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   204
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   205
%changelog
9780
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   206
* Tue Apr 24 2007 - [email protected]
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   207
- s/0755/-/ in defattr so that files are not made all executable
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   208
* Mon Nov 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   209
- Removed the need for [ir].rbac since they already exist in
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   210
  /usr/sadm/install/scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   211
* Fri Nov 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   212
- Add RBAC profiles
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   213
* Fri Nov 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   214
- Add manpages for build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   215
* Thu Nov 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   216
- Delete all files we don't need now from /usr/share/setup-tool-backends/scripts/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   217
* Mon Oct 23 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   218
- Add dependency on SUNWgksu and SUNWgksu-devel for builds.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   219
* Wed Sep 27 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   220
- Delete empty omf dir when not doing l10n build.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   221
* Wed Sep 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   222
- Fix l10n package - nl locale omf file was in base and l10n package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   223
* Mon Aug 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   224
- Fix l10n package - nl locale omf file was in base and l10n package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   225
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   226
- update %post/%postun/etc scripts to support diskless client setup,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   227
  part of 6448317
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   228
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   229
- update postrun scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   230
* Mon Jun 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   231
- Specify %dir %attr for %{_datadir} in the devel package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   232
- Change devel package to have a basedir of %{_basedir} instead of /.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   233
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   234
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   235
* Sat Jun 10 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   236
- split pkgconfig and aclocal files into a -devel subpkg
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   237
* Fri Jun  2 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   238
- use post/preun scripts to install schemas into the merged gconf files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   239
* Wed Mar 15 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   240
- Add to Build/Requires after running check-deps.pl.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   241
* Tue Mar 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   242
- Set perms for %{_libdir} in %files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   243
* Mon Mar 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   244
- Add Build/Requires SUNWgnome-doc-utils/-devel.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   245
- Add to %files for l10n package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   246
* Fri Mar 03 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   247
- Initial spec-file created