SUNWgnome-system-tools.spec
author laca
Wed, 22 Oct 2008 03:25:32 +0000
branchopensolaris-2008-11
changeset 14363 2a7a35a50343
parent 13569 72d623d6e95b
child 15556 79756053d7da
permissions -rw-r--r--
2008-10-22 Laszlo (Laca) Peter <[email protected]> * indiana/SUNWopensolaris-welcome.spec: bump to 0.0.17
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
12798
7e9d34a965b9 2008-07-11 Takao Fujiwara <[email protected]>
fujiwara
parents: 12783
diff changeset
    15
%define network_admin_sh %gnomesystemtools.SOURCE3
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Name:                    SUNWgnome-system-tools
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Summary:                 GNOME system tools
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Version:                 %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
SUNW_BaseDir:            %{_basedir}
12114
348ecac3ecb1 2008-04-14 Darren Kenny <[email protected]>
dkenny
parents: 11433
diff changeset
    22
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Source:                  %{name}-manpages-0.1.tar.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Source1:                 %{name}-exec_attr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Requires:                SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Requires:                SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Requires:                SUNWgnome-file-mgr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Requires:                SUNWgnome-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Requires:                SUNWgnome-vfs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Requires:                SUNWlibms
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Requires:                SUNWlxml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Requires:                SUNWperl584core
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Requires:                SUNWperl-authen-pam
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Requires:                SUNWgksu
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
BuildRequires:           SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
BuildRequires:           SUNWgnome-file-mgr-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
BuildRequires:           SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
BuildRequires:           SUNWgnome-vfs-devel
10645
54c531404d86 2007-10-11 Damien Carbery <[email protected]>
dcarbery
parents: 10401
diff changeset
    40
BuildRequires:           SUNWgnome-doc-utils
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
BuildRequires:           SUNWgnome-config-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
BuildRequires:           SUNWgksu-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
                                                                                
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%include default-depend.inc
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
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
Summary:                 %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
SUNW_BaseDir:            %{_basedir} 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
Requires: %name
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%package root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
Summary:                 %{summary} - / filesystem
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
SUNW_BaseDir:            /
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
Requires: SUNWpostrun-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
Requires: SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%systemtoolsbackends.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%gnomesystemtools.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
gzcat %SOURCE0 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
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
    77
export LDFLAGS="%_ldflags -L%{_libdir} -lgnomevfs-2"
7f144f30e85d 2008-01-10 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
    78
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
    79
export RPM_OPT_FLAGS="$CFLAGS"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
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
    81
%systemtoolsbackends.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%gnomesystemtools.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%systemtoolsbackends.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%gnomesystemtools.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/security
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
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
    90
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/inet/gnome-system-tools
10128
98a8602b763c 2007-06-27 Darren Kenny <[email protected]>
dkenny
parents: 9780
diff changeset
    91
# 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
    92
# for a check whether NWAM is enabled or not.
98a8602b763c 2007-06-27 Darren Kenny <[email protected]>
dkenny
parents: 9780
diff changeset
    93
# Move binary to /usr/lib
98a8602b763c 2007-06-27 Darren Kenny <[email protected]>
dkenny
parents: 9780
diff changeset
    94
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
    95
# Now place script in to bin dir.
12798
7e9d34a965b9 2008-07-11 Takao Fujiwara <[email protected]>
fujiwara
parents: 12783
diff changeset
    96
install --mode=0755 %network_admin_sh $RPM_BUILD_ROOT/%{_bindir}/network-admin
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
#Manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
rm -rf $RPM_BUILD_ROOT%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
#FIXME: Remove scrollkeeper files
10350
9744c4fe6d28 2007-08-18 Damien Carbery <[email protected]>
dcarbery
parents: 10128
diff changeset
   103
#rm -rf $RPM_BUILD_ROOT%{_prefix}/var/scrollkeeper
9744c4fe6d28 2007-08-18 Damien Carbery <[email protected]>
dcarbery
parents: 10128
diff changeset
   104
#rm -rf $RPM_BUILD_ROOT/var/lib/scrollkeeper
9744c4fe6d28 2007-08-18 Damien Carbery <[email protected]>
dcarbery
parents: 10128
diff changeset
   105
#rmdir $RPM_BUILD_ROOT/var
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
#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
   107
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
   108
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
   109
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
   110
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
   111
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
   112
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
   113
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
   114
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
   115
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
   116
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
   117
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
   118
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
   119
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
   120
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
   121
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
   122
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
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
   128
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
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
   130
# 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
   131
rmdir $RPM_BUILD_ROOT%{_datadir}/omf/gnome-system-tools
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
%endif
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
%{?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
   135
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
%post root
11370
338c15c66cee 2008-01-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10645
diff changeset
   140
%include gconf-install.script
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
%preun root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
test -x $BASEDIR/var/lib/postrun/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
( 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
   145
  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
   146
  echo '  exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
  echo '}';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
  echo 'umask 0022';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
  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
   150
  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
   151
  echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
  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
   153
  echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
  echo 'schemas="$SDIR/gnome-system-tools.schemas"';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
  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
   156
) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   163
%{_libdir}/nautilus
10128
98a8602b763c 2007-06-27 Darren Kenny <[email protected]>
dkenny
parents: 9780
diff changeset
   164
%{_libdir}/network-admin
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   165
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   166
%dir %attr (0755, root, other) %{_datadir}/applications
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   167
%{_datadir}/applications/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   168
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   169
%{_datadir}/gnome/help/*/C
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   170
%{_datadir}/omf/*/*-C.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   171
%{_datadir}/gnome-system-tools
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   172
%{_datadir}/setup-tool-backends
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   174
%{_mandir}/*/*
13569
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   175
%doc gnome-system-tools-%{gnomesystemtools.version}/AUTHORS
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   176
%doc gnome-system-tools-%{gnomesystemtools.version}/README
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   177
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/COPYING
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   178
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/NEWS
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   179
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   180
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/doc/network/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   181
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/doc/services/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   182
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/doc/time/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   183
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/doc/users/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   184
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/interfaces/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   185
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/pixmaps/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   186
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/po/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   187
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/src/common/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   188
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/src/network/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   189
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/src/services/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   190
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/src/shares/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   191
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/src/time/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   192
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/src/time/e-map/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   193
%doc(bzip2) gnome-system-tools-%{gnomesystemtools.version}/src/users/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   194
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   195
%doc system-tools-backends-%{systemtoolsbackends.version}/AUTHORS
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   196
%doc system-tools-backends-%{systemtoolsbackends.version}/README
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   197
%doc(bzip2) system-tools-backends-%{systemtoolsbackends.version}/COPYING
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   198
%doc(bzip2) system-tools-backends-%{systemtoolsbackends.version}/NEWS
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   199
%doc(bzip2) system-tools-backends-%{systemtoolsbackends.version}/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   200
%doc(bzip2) system-tools-backends-%{systemtoolsbackends.version}/po/ChangeLog
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   201
%dir %attr (0755, root, other) %{_datadir}/doc
9397
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
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   204
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   205
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   206
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   207
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   208
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   209
%dir %attr (0755, root, other) %{_datadir}/aclocal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   210
%{_datadir}/aclocal/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   211
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   212
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   213
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   214
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   215
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   216
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   217
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   218
%{_datadir}/gnome/help/*/[a-z][a-z]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   219
%{_datadir}/omf/*/*-[a-z][a-z].omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   220
#%{_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
   221
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   222
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   223
%files root
9780
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   224
%defattr (-, root, sys)
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   225
%dir %{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   226
%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
   227
%{_sysconfdir}/inet
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   228
%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
   229
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   230
%changelog
13569
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   231
* Fri Sep 12 2008 - [email protected]
72d623d6e95b * SUNWgnome-system-tools.spec: Add %doc to %files
mattman
parents: 12798
diff changeset
   232
- Update copyright
12783
5c70add7bda0 2008-07-09 Takao Fujiwara <[email protected]>
fujiwara
parents: 12114
diff changeset
   233
* Wed Jul  9 2008 - [email protected]
5c70add7bda0 2008-07-09 Takao Fujiwara <[email protected]>
fujiwara
parents: 12114
diff changeset
   234
- Renamed %{name}-network-admin.ksh to %gnomesystemtools.SOURCE3
5c70add7bda0 2008-07-09 Takao Fujiwara <[email protected]>
fujiwara
parents: 12114
diff changeset
   235
  to get the SUN_BRANDING translation.
11433
7f144f30e85d 2008-01-10 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
   236
* Thu Jan 10 2008 - [email protected]
7f144f30e85d 2008-01-10 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
   237
- 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
   238
  them with pkg-config (libnautilus-extension depends on gio instead of
7f144f30e85d 2008-01-10 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
   239
  gnome-vfs).
11370
338c15c66cee 2008-01-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10645
diff changeset
   240
* Thu Jan  3 2008 - [email protected]
338c15c66cee 2008-01-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10645
diff changeset
   241
- use gconf-install.script instead of an inline script
10645
54c531404d86 2007-10-11 Damien Carbery <[email protected]>
dcarbery
parents: 10401
diff changeset
   242
* Thu Oct 11 2007 - [email protected]
54c531404d86 2007-10-11 Damien Carbery <[email protected]>
dcarbery
parents: 10401
diff changeset
   243
- Remove install dependency on SUNWgnome-doc-utils and change the build
54c531404d86 2007-10-11 Damien Carbery <[email protected]>
dcarbery
parents: 10401
diff changeset
   244
  dependency from SUNWgnome-doc-utils-devel to SUNWgnome-doc-utils.
10401
c7c9997a1540 2007-08-29 Brian Cameron <[email protected]>
yippi
parents: 10350
diff changeset
   245
* Wed Aug 29 2007 - [email protected]
c7c9997a1540 2007-08-29 Brian Cameron <[email protected]>
yippi
parents: 10350
diff changeset
   246
- 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
   247
  now we want it reviewed.
10350
9744c4fe6d28 2007-08-18 Damien Carbery <[email protected]>
dcarbery
parents: 10128
diff changeset
   248
* Sat Aug 18 2007 - [email protected]
9744c4fe6d28 2007-08-18 Damien Carbery <[email protected]>
dcarbery
parents: 10128
diff changeset
   249
- 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
   250
* Wed Jun 27 2007 - [email protected]
98a8602b763c 2007-06-27 Darren Kenny <[email protected]>
dkenny
parents: 9780
diff changeset
   251
- 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
   252
  whether NWAM is running.
9780
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   253
* Tue Apr 24 2007 - [email protected]
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   254
- 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
   255
* Mon Nov 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   256
- 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
   257
  /usr/sadm/install/scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   258
* Fri Nov 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   259
- Add RBAC profiles
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   260
* Fri Nov 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   261
- Add manpages for build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   262
* Thu Nov 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   263
- 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
   264
* Mon Oct 23 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   265
- Add dependency on SUNWgksu and SUNWgksu-devel for builds.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   266
* Wed Sep 27 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   267
- Delete empty omf dir when not doing l10n build.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   268
* Wed Sep 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   269
- 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
   270
* Mon Aug 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   271
- 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
   272
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   273
- 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
   274
  part of 6448317
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   275
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   276
- update postrun scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   277
* Mon Jun 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   278
- Specify %dir %attr for %{_datadir} in the devel package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   279
- 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
   280
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   281
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   282
* Sat Jun 10 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   283
- split pkgconfig and aclocal files into a -devel subpkg
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   284
* Fri Jun  2 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   285
- 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
   286
* Wed Mar 15 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   287
- Add to Build/Requires after running check-deps.pl.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   288
* Tue Mar 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   289
- Set perms for %{_libdir} in %files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   290
* Mon Mar 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   291
- Add Build/Requires SUNWgnome-doc-utils/-devel.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   292
- Add to %files for l10n package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   293
* Fri Mar 03 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   294
- Initial spec-file created