SUNWgnome-system-tools.spec
author dcarbery
Thu, 10 Jan 2008 15:41:02 +0000
changeset 11433 7f144f30e85d
parent 11370 338c15c66cee
child 12114 348ecac3ecb1
permissions -rw-r--r--
2008-01-10 Damien Carbery <[email protected]> * SUNWgnome-system-tools.spec, SUNWgnome-archive-mgr.spec: Add gnome-vfs info to CFLAGS and LDFLAGS as configure no longer retrieves them with pkg-config (libnautilus-extension depends on gio instead of gnome-vfs). * base-specs/GConf.spec: Add upstream patch 04-glib-pc to fix gconf-2.0.pc file type: s/glib/glib-2.0/. * patches/GConf-04-glib-pc.diff: Added to fix typo in gconf-2.0.pc.
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
#
11370
338c15c66cee 2008-01-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10645
diff changeset
     6
# Copyright 2008 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
#
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
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
%use gnomesystemtools = gnome-system-tools.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
%use systemtoolsbackends = system-tools-backends.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Name:                    SUNWgnome-system-tools
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Summary:                 GNOME system tools
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Version:                 %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Source:                  %{name}-manpages-0.1.tar.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Source1:                 %{name}-exec_attr
10128
98a8602b763c 2007-06-27 Darren Kenny <[email protected]>
dkenny
parents: 9780
diff changeset
    24
Source2:                 %{name}-network-admin.ksh
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Requires:                SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Requires:                SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Requires:                SUNWgnome-file-mgr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Requires:                SUNWgnome-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Requires:                SUNWgnome-vfs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Requires:                SUNWlibms
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Requires:                SUNWlxml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Requires:                SUNWperl584core
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Requires:                SUNWperl-authen-pam
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Requires:                SUNWgksu
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
BuildRequires:           SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
BuildRequires:           SUNWgnome-file-mgr-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
BuildRequires:           SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
BuildRequires:           SUNWgnome-vfs-devel
10645
54c531404d86 2007-10-11 Damien Carbery <[email protected]>
dcarbery
parents: 10401
diff changeset
    39
BuildRequires:           SUNWgnome-doc-utils
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
BuildRequires:           SUNWgnome-config-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
BuildRequires:           SUNWgksu-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
                                                                                
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
Summary:                 %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
SUNW_BaseDir:            %{_basedir} 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
Requires: %name
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%package root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
Summary:                 %{summary} - / filesystem
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
SUNW_BaseDir:            /
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
Requires: SUNWpostrun-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
Requires: SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%systemtoolsbackends.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%gnomesystemtools.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
gzcat %SOURCE0 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal -I %{_builddir}/%{name}-%{version}/%{systemtoolsbackends.name}-%{systemtoolsbackends.version}/m4macros"
11433
7f144f30e85d 2008-01-10 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
    76
export LDFLAGS="%_ldflags -L%{_libdir} -lgnomevfs-2"
7f144f30e85d 2008-01-10 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
    77
export CFLAGS="%optflags -I%{_includedir}/gnome-vfs-2.0 -I%{_libdir}/gnome-vfs-2.0/include"
7f144f30e85d 2008-01-10 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
    78
export RPM_OPT_FLAGS="$CFLAGS"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
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
    80
%systemtoolsbackends.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%gnomesystemtools.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%systemtoolsbackends.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%gnomesystemtools.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/security
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
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
    89
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/inet/gnome-system-tools
10128
98a8602b763c 2007-06-27 Darren Kenny <[email protected]>
dkenny
parents: 9780
diff changeset
    90
# Change to allow for addition of a network wrapper script to allow
98a8602b763c 2007-06-27 Darren Kenny <[email protected]>
dkenny
parents: 9780
diff changeset
    91
# for a check whether NWAM is enabled or not.
98a8602b763c 2007-06-27 Darren Kenny <[email protected]>
dkenny
parents: 9780
diff changeset
    92
# Move binary to /usr/lib
98a8602b763c 2007-06-27 Darren Kenny <[email protected]>
dkenny
parents: 9780
diff changeset
    93
mv $RPM_BUILD_ROOT/%{_bindir}/network-admin $RPM_BUILD_ROOT/%{_libdir}/network-admin
98a8602b763c 2007-06-27 Darren Kenny <[email protected]>
dkenny
parents: 9780
diff changeset
    94
# Now place script in to bin dir.
98a8602b763c 2007-06-27 Darren Kenny <[email protected]>
dkenny
parents: 9780
diff changeset
    95
install --mode=0755 %SOURCE2 $RPM_BUILD_ROOT/%{_bindir}/network-admin
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
#Manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
rm -rf $RPM_BUILD_ROOT%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
#FIXME: Remove scrollkeeper files
10350
9744c4fe6d28 2007-08-18 Damien Carbery <[email protected]>
dcarbery
parents: 10128
diff changeset
   102
#rm -rf $RPM_BUILD_ROOT%{_prefix}/var/scrollkeeper
9744c4fe6d28 2007-08-18 Damien Carbery <[email protected]>
dcarbery
parents: 10128
diff changeset
   103
#rm -rf $RPM_BUILD_ROOT/var/lib/scrollkeeper
9744c4fe6d28 2007-08-18 Damien Carbery <[email protected]>
dcarbery
parents: 10128
diff changeset
   104
#rmdir $RPM_BUILD_ROOT/var
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
#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
   106
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
   107
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
   108
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
   109
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
   110
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
   111
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
   112
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
   113
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
   114
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
   115
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
   116
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
   117
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
   118
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
   119
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
   120
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
   121
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
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
   127
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
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
   129
# 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
   130
rmdir $RPM_BUILD_ROOT%{_datadir}/omf/gnome-system-tools
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
%{?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
   134
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
%post root
11370
338c15c66cee 2008-01-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10645
diff changeset
   139
%include gconf-install.script
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
%preun root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
test -x $BASEDIR/var/lib/postrun/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
( 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
   144
  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
   145
  echo '  exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
  echo '}';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
  echo 'umask 0022';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
  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
   149
  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
   150
  echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
  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
   152
  echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
  echo 'schemas="$SDIR/gnome-system-tools.schemas"';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
  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
   155
) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
%{_libdir}/nautilus
10128
98a8602b763c 2007-06-27 Darren Kenny <[email protected]>
dkenny
parents: 9780
diff changeset
   163
%{_libdir}/network-admin
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   164
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   165
%dir %attr (0755, root, other) %{_datadir}/applications
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   166
%{_datadir}/applications/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   167
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   168
%{_datadir}/gnome/help/*/C
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   169
%{_datadir}/omf/*/*-C.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   170
%{_datadir}/gnome-system-tools
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   171
%{_datadir}/setup-tool-backends
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   172
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
%{_mandir}/*/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   174
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   175
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   176
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   177
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   178
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   179
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   180
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   181
%dir %attr (0755, root, other) %{_datadir}/aclocal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   182
%{_datadir}/aclocal/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   183
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   184
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   185
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   186
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   187
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   188
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   189
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   190
%{_datadir}/gnome/help/*/[a-z][a-z]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   191
%{_datadir}/omf/*/*-[a-z][a-z].omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   192
#%{_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
   193
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   194
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   195
%files root
9780
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   196
%defattr (-, root, sys)
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   197
%dir %{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   198
%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
   199
%{_sysconfdir}/inet
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   200
%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
   201
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   202
%changelog
11433
7f144f30e85d 2008-01-10 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
   203
* Thu Jan 10 2008 - [email protected]
7f144f30e85d 2008-01-10 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
   204
- Add gnome-vfs info to CFLAGS and LDFLAGS as configure no longer retrieves
7f144f30e85d 2008-01-10 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
   205
  them with pkg-config (libnautilus-extension depends on gio instead of
7f144f30e85d 2008-01-10 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
   206
  gnome-vfs).
11370
338c15c66cee 2008-01-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10645
diff changeset
   207
* Thu Jan  3 2008 - [email protected]
338c15c66cee 2008-01-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10645
diff changeset
   208
- use gconf-install.script instead of an inline script
10645
54c531404d86 2007-10-11 Damien Carbery <[email protected]>
dcarbery
parents: 10401
diff changeset
   209
* Thu Oct 11 2007 - [email protected]
54c531404d86 2007-10-11 Damien Carbery <[email protected]>
dcarbery
parents: 10401
diff changeset
   210
- Remove install dependency on SUNWgnome-doc-utils and change the build
54c531404d86 2007-10-11 Damien Carbery <[email protected]>
dcarbery
parents: 10401
diff changeset
   211
  dependency from SUNWgnome-doc-utils-devel to SUNWgnome-doc-utils.
10401
c7c9997a1540 2007-08-29 Brian Cameron <[email protected]>
yippi
parents: 10350
diff changeset
   212
* Wed Aug 29 2007 - [email protected]
c7c9997a1540 2007-08-29 Brian Cameron <[email protected]>
yippi
parents: 10350
diff changeset
   213
- Remove comment that this package is not to reviewed by JDS ARC team, since
c7c9997a1540 2007-08-29 Brian Cameron <[email protected]>
yippi
parents: 10350
diff changeset
   214
  now we want it reviewed.
10350
9744c4fe6d28 2007-08-18 Damien Carbery <[email protected]>
dcarbery
parents: 10128
diff changeset
   215
* Sat Aug 18 2007 - [email protected]
9744c4fe6d28 2007-08-18 Damien Carbery <[email protected]>
dcarbery
parents: 10128
diff changeset
   216
- Comment out removal of /var dirs as they are no longer installed.
10128
98a8602b763c 2007-06-27 Darren Kenny <[email protected]>
dkenny
parents: 9780
diff changeset
   217
* Wed Jun 27 2007 - [email protected]
98a8602b763c 2007-06-27 Darren Kenny <[email protected]>
dkenny
parents: 9780
diff changeset
   218
- Fix for bug#6555581 - wrapper script for network-admin to first check
98a8602b763c 2007-06-27 Darren Kenny <[email protected]>
dkenny
parents: 9780
diff changeset
   219
  whether NWAM is running.
9780
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   220
* Tue Apr 24 2007 - [email protected]
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   221
- 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
   222
* Mon Nov 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   223
- 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
   224
  /usr/sadm/install/scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   225
* Fri Nov 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   226
- Add RBAC profiles
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   227
* Fri Nov 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   228
- Add manpages for build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   229
* Thu Nov 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   230
- 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
   231
* Mon Oct 23 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   232
- Add dependency on SUNWgksu and SUNWgksu-devel for builds.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   233
* Wed Sep 27 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   234
- Delete empty omf dir when not doing l10n build.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   235
* Wed Sep 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   236
- 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
   237
* Mon Aug 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   238
- 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
   239
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   240
- 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
   241
  part of 6448317
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   242
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   243
- update postrun scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   244
* Mon Jun 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   245
- Specify %dir %attr for %{_datadir} in the devel package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   246
- 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
   247
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   248
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   249
* Sat Jun 10 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   250
- split pkgconfig and aclocal files into a -devel subpkg
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   251
* Fri Jun  2 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   252
- 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
   253
* Wed Mar 15 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   254
- Add to Build/Requires after running check-deps.pl.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   255
* Tue Mar 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   256
- Set perms for %{_libdir} in %files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   257
* Mon Mar 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   258
- Add Build/Requires SUNWgnome-doc-utils/-devel.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   259
- Add to %files for l10n package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   260
* Fri Mar 03 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   261
- Initial spec-file created