Home | History | Annotate | Download | only in gnome-2-24
      1 #
      2 # spec file for package SUNWgnome-applets
      3 #
      4 # includes module(s): gnome-applets, quick-lounge-applet
      5 #		      gnome-netstatus, deskbar-applet
      6 #
      7 # Copyright 2008 Sun Microsystems, Inc.
      8 # This file and all modifications and additions to the pristine
      9 # package are under the same license as the package itself.
     10 #
     11 # Owner: migi
     12 #
     13 %include Solaris.inc
     14 %use gapplets = gnome-applets.spec
     15 %use qlounge = quick-lounge-applet.spec
     16 %use gnetstatus = gnome-netstatus.spec
     17 %use deskbar_applet = deskbar-applet.spec
     18 
     19 Name:                    SUNWgnome-applets
     20 Summary:                 GNOME panel applets
     21 Version:                 %{default_pkg_version}
     22 SUNW_BaseDir:            %{_basedir}
     23 SUNW_Copyright:          %{name}.copyright
     24 BuildRoot:               %{_tmppath}/%{name}-%{version}-build
     25 %include default-depend.inc
     26 BuildRequires: SUNWgnome-media
     27 BuildRequires: SUNWgnome-media-devel
     28 BuildRequires: SUNWgnome-character-map-devel
     29 BuildRequires: SUNWgnome-doc-utils
     30 BuildRequires: SUNWgnome-vfs-devel
     31 BuildRequires: SUNWgnome-panel-devel
     32 BuildRequires: SUNWgnome-python-desktop-devel
     33 BuildRequires: SUNWpython-setuptools
     34 BuildRequires: SUNWsolnm
     35 BuildRequires: SUNWarc
     36 BuildRequires: SUNWevolution-data-server-devel
     37 BuildRequires: SUNWlibgtop
     38 Requires: SUNWgnome-python-desktop
     39 Requires: SUNWgnome-character-map
     40 Requires: SUNWgnome-panel
     41 Requires: SUNWgnome-libs
     42 Requires: SUNWgnome-config
     43 Requires: SUNWgnome-base-libs
     44 Requires: SUNWgnome-vfs
     45 Requires: SUNWlxml
     46 Requires: SUNWgnome-component
     47 Requires: SUNWlibpopt
     48 Requires: SUNWlibms
     49 Requires: SUNWpng
     50 Requires: SUNWlibgtop
     51 
     52 %if %option_without_fox
     53 %ifarch i386
     54 Requires: SUNWxorg-xkb
     55 BuildRequires: SUNWxorg-xkb
     56 %endif
     57 %endif
     58 
     59 %package -n SUNWgnome-fun-applets
     60 Summary:                 %{summary} - amusements
     61 SUNW_BaseDir:            %{_basedir}
     62 %include default-depend.inc
     63 Requires: SUNWgnome-fun-applets-root
     64 Requires: SUNWgnome-applets
     65 Requires: SUNWgnome-panel
     66 Requires: SUNWgnome-libs
     67 Requires: SUNWgnome-base-libs
     68 Requires: SUNWgnome-config
     69 Requires: SUNWlibms
     70 Requires: SUNWpostrun
     71 
     72 %package -n SUNWgnome-fun-applets-root
     73 Summary:                 %{summary} - amusements - / filesystem
     74 SUNW_BaseDir:            /
     75 %include default-depend.inc
     76 Requires: SUNWpostrun-root
     77 Requires: SUNWgnome-config
     78 
     79 %package -n SUNWgnome-internet-applets
     80 Summary:                 %{summary} - internet
     81 SUNW_BaseDir:            %{_basedir}
     82 %include default-depend.inc
     83 Requires: SUNWgnome-applets
     84 Requires: SUNWgnome-panel
     85 Requires: SUNWgnome-libs
     86 Requires: SUNWgnome-base-libs
     87 Requires: SUNWgnome-config
     88 Requires: SUNWgnome-vfs
     89 Requires: SUNWlibms
     90 Requires: SUNWlxml
     91 Requires: SUNWpostrun
     92 
     93 %package -n SUNWgnome-intranet-applets
     94 Summary:                 %{summary} - intranet
     95 SUNW_BaseDir:            %{_basedir}
     96 %include default-depend.inc
     97 Requires: SUNWgnome-intranet-applets-root
     98 Requires: SUNWgnome-applets
     99 Requires: SUNWgnome-panel
    100 Requires: SUNWgnome-libs
    101 Requires: SUNWgnome-base-libs
    102 Requires: SUNWgnome-config
    103 Requires: SUNWlibms
    104 Requires: SUNWpostrun
    105 
    106 %package -n SUNWgnome-intranet-applets-root
    107 Summary:                 %{summary} - intranet - / filesystem
    108 SUNW_BaseDir:            /
    109 %include default-depend.inc
    110 Requires: SUNWpostrun-root
    111 Requires: SUNWgnome-config
    112 
    113 %package -n SUNWgnome-mm-applets
    114 Summary:                 %{summary} - multimedia
    115 SUNW_BaseDir:            %{_basedir}
    116 %include default-depend.inc
    117 Requires: SUNWgnome-mm-applets-root
    118 Requires: SUNWgnome-applets
    119 Requires: SUNWgnome-panel
    120 Requires: SUNWgnome-media
    121 Requires: SUNWgnome-libs
    122 Requires: SUNWgnome-base-libs
    123 Requires: SUNWgnome-config
    124 Requires: SUNWlibms
    125 Requires: SUNWpostrun
    126 
    127 %package -n SUNWgnome-mm-applets-root
    128 Summary:                 %{summary} - multimedia - / filesystem
    129 SUNW_BaseDir:            /
    130 %include default-depend.inc
    131 Requires: SUNWpostrun-root
    132 Requires: SUNWgnome-config
    133 
    134 %package -n SUNWgnome-utility-applets
    135 Summary:                 %{summary} - utility
    136 SUNW_BaseDir:            %{_basedir}
    137 %include default-depend.inc
    138 Requires: SUNWgnome-python-desktop
    139 Requires: SUNWgnome-utility-applets-root
    140 Requires: SUNWgnome-applets
    141 Requires: SUNWgnome-panel
    142 Requires: SUNWgnome-libs
    143 Requires: SUNWgnome-base-libs
    144 Requires: SUNWgnome-config
    145 Requires: SUNWgnome-character-map
    146 Requires: SUNWgnome-component
    147 Requires: SUNWgnome-vfs
    148 Requires: SUNWevolution-data-server
    149 Requires: SUNWlxml
    150 Requires: SUNWlibms
    151 Requires: SUNWpostrun
    152 
    153 %package -n SUNWgnome-utility-applets-root
    154 Summary:                 %{summary} - utility - / filesystem
    155 SUNW_BaseDir:            /
    156 %include default-depend.inc
    157 Requires: SUNWpostrun-root
    158 Requires: SUNWgnome-config
    159 
    160 %package -n SUNWgnome-utility-applets-devel
    161 Summary:                 %{summary} - utility - development files
    162 SUNW_BaseDir:            %{_basedir}
    163 %include default-depend.inc
    164 
    165 %if %build_l10n
    166 %package l10n
    167 Summary:                 %{summary} - l10n files
    168 SUNW_BaseDir:            %{_basedir}
    169 %include default-depend.inc
    170 Requires:                %{name}
    171 %endif
    172 
    173 %prep
    174 rm -rf %name-%version
    175 mkdir %name-%version
    176 %gapplets.prep -d %name-%version
    177 %qlounge.prep -d %name-%version
    178 %gnetstatus.prep -d %name-%version
    179 %deskbar_applet.prep -d %name-%version
    180 chmod -R u+w %{_builddir}/%name-%version
    181 
    182 %build
    183 PKG_CONFIG_DISABLE_UNINSTALLED=
    184 unset PKG_CONFIG_DISABLE_UNINSTALLED
    185 export CPPFLAGS="-I/usr/sfw/include"
    186 export CFLAGS="%optflags -I/usr/sfw/include -DANSICPP"
    187 export RPM_OPT_FLAGS="$CFLAGS"
    188 export LDFLAGS="%_ldflags -L/usr/sfw/lib -R/usr/sfw/lib -L/usr/X11/lib -R/usr/X11/lib -lX11"
    189 export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
    190 
    191 %gapplets.build -d %name-%version
    192 
    193 export LDFLAGS="%_ldflags -L/usr/sfw/lib -R/usr/sfw/lib"
    194 
    195 %qlounge.build -d %name-%version
    196 %gnetstatus.build -d %name-%version
    197 %deskbar_applet.build -d %name-%version
    198 
    199 %install
    200 rm -rf $RPM_BUILD_ROOT
    201 %gapplets.install -d %name-%version
    202 %qlounge.install -d %name-%version
    203 %gnetstatus.install -d %name-%version
    204 %deskbar_applet.install -d %name-%version
    205 
    206 # Remove the invest-chart files as it is not in the UI spec (#6488895).
    207 rm $RPM_BUILD_ROOT%{_bindir}/invest-chart
    208 
    209 chmod 0644 $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/C/*.xml
    210 
    211 #rm -r $RPM_BUILD_ROOT%{_prefix}/var
    212 
    213 # Never install English locales because should support full functions
    214 # on English locales as same as Solaris. See SUNWzz-gnome-l10n.spec.
    215 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/en_GB
    216 rm -r $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/en_GB
    217 rm -r $RPM_BUILD_ROOT%{_datadir}/omf/*/*-en_GB.omf
    218 
    219 # Remove the drivemount files
    220 rm    $RPM_BUILD_ROOT%{_datadir}/omf/drivemount/drivemount-C.omf
    221 rm -r $RPM_BUILD_ROOT%{_datadir}/omf/drivemount
    222 rm -r $RPM_BUILD_ROOT%{_datadir}/gnome/help/drivemount
    223 rm    $RPM_BUILD_ROOT%{_libdir}/drivemount_applet2
    224 rm    $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/drivemount.schemas
    225 rm    $RPM_BUILD_ROOT%{_datadir}/gnome-2.0/ui/GNOME_DriveMountApplet.xml
    226 rm    $RPM_BUILD_ROOT%{_libdir}/bonobo/servers/GNOME_DriveMountApplet.server
    227 
    228 %if %build_l10n
    229 %else
    230 # REMOVE l10n FILES
    231 rm -r $RPM_BUILD_ROOT%{_datadir}/locale
    232 rm -r $RPM_BUILD_ROOT%{_datadir}/gnome/help/[a-c]*/[a-z]*
    233 rm -r $RPM_BUILD_ROOT%{_datadir}/gnome/help/deskbar/[a-z]*
    234 rm -r $RPM_BUILD_ROOT%{_datadir}/gnome/help/[e-z]*/[a-z]*
    235 rm -r $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z].omf
    236 rm -r $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z][A-Z].omf
    237 %endif
    238 
    239 %{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
    240 
    241 %clean
    242 rm -rf $RPM_BUILD_ROOT
    243 
    244 %post -n SUNWgnome-fun-applets
    245 %include scrollkeeper-update.script
    246 %include icon-cache.script
    247 
    248 %postun -n SUNWgnome-fun-applets
    249 %include scrollkeeper-update.script
    250 %include icon-cache.script
    251 
    252 %post -n SUNWgnome-internet-applets
    253 %include scrollkeeper-update.script
    254 
    255 %postun -n SUNWgnome-internet-applets
    256 %include scrollkeeper-update.script
    257 
    258 %post -n SUNWgnome-intranet-applets
    259 %include scrollkeeper-update.script
    260 %include icon-cache.script
    261 
    262 %postun -n SUNWgnome-intranet-applets
    263 %include scrollkeeper-update.script
    264 %include icon-cache.script
    265 
    266 %post -n SUNWgnome-mm-applets
    267 %include scrollkeeper-update.script
    268 
    269 %postun -n SUNWgnome-mm-applets
    270 %include scrollkeeper-update.script
    271 
    272 %post -n SUNWgnome-utility-applets
    273 %include scrollkeeper-update.script
    274 %include icon-cache.script
    275 
    276 %postun -n SUNWgnome-utility-applets
    277 %include scrollkeeper-update.script
    278 %include icon-cache.script
    279 
    280 %post -n SUNWgnome-fun-applets-root
    281 %include gconf-install.script
    282 
    283 %preun -n SUNWgnome-fun-applets-root
    284 test -x $BASEDIR/var/lib/postrun/postrun || exit 0
    285 ( echo 'test -x $PKG_INSTALL_ROOT/usr/bin/gconftool-2 || {';
    286   echo '  echo "WARNING: gconftool-2 not found; not uninstalling gconf schemas"';
    287   echo '  exit 0';
    288   echo '}';
    289   echo 'umask 0022';
    290   echo 'GCONF_CONFIG_SOURCE=xml:merged:$BASEDIR/etc/gconf/gconf.xml.defaults';
    291   echo 'GCONF_BACKEND_DIR=$PKG_INSTALL_ROOT/usr/lib/GConf/2';
    292   echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib';
    293   echo 'export GCONF_CONFIG_SOURCE GCONF_BACKEND_DIR LD_LIBRARY_PATH';
    294   echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas';
    295   echo 'schemas="$SDIR/geyes.schemas"';
    296   echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule $schemas > /dev/null'
    297 ) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a
    298 
    299 %post -n SUNWgnome-intranet-applets-root
    300 %include gconf-install.script
    301 
    302 %preun -n SUNWgnome-intranet-applets-root
    303 test -x $BASEDIR/var/lib/postrun/postrun || exit 0
    304 ( echo 'test -x $PKG_INSTALL_ROOT/usr/bin/gconftool-2 || {';
    305   echo '  echo "WARNING: gconftool-2 not found; not uninstalling gconf schemas"';
    306   echo '  exit 0';
    307   echo '}';
    308   echo 'umask 0022';
    309   echo 'GCONF_CONFIG_SOURCE=xml:merged:$BASEDIR/etc/gconf/gconf.xml.defaults';
    310   echo 'GCONF_BACKEND_DIR=$PKG_INSTALL_ROOT/usr/lib/GConf/2';
    311   echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib';
    312   echo 'export GCONF_CONFIG_SOURCE GCONF_BACKEND_DIR LD_LIBRARY_PATH';
    313   echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas';
    314   echo 'schemas="$SDIR/netstatus.schemas"';
    315   echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule $schemas > /dev/null'
    316 ) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a
    317 
    318 %post -n SUNWgnome-mm-applets-root
    319 %include gconf-install.script
    320 
    321 %preun -n SUNWgnome-mm-applets-root
    322 test -x $BASEDIR/var/lib/postrun/postrun || exit 0
    323 ( echo 'test -x $PKG_INSTALL_ROOT/usr/bin/gconftool-2 || {';
    324   echo '  echo "WARNING: gconftool-2 not found; not uninstalling gconf schemas"';
    325   echo '  exit 0';
    326   echo '}';
    327   echo 'umask 0022';
    328   echo 'GCONF_CONFIG_SOURCE=xml:merged:$BASEDIR/etc/gconf/gconf.xml.defaults';
    329   echo 'GCONF_BACKEND_DIR=$PKG_INSTALL_ROOT/usr/lib/GConf/2';
    330   echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib';
    331   echo 'export GCONF_CONFIG_SOURCE GCONF_BACKEND_DIR LD_LIBRARY_PATH';
    332   echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas';
    333   echo 'schemas="$SDIR/mixer.schemas"';
    334   echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule $schemas > /dev/null'
    335 ) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a
    336 
    337 %post -n SUNWgnome-utility-applets-root
    338 %include gconf-install.script
    339 
    340 %preun -n SUNWgnome-utility-applets-root
    341 test -x $BASEDIR/var/lib/postrun/postrun || exit 0
    342 ( echo 'test -x $PKG_INSTALL_ROOT/usr/bin/gconftool-2 || {';
    343   echo '  echo "WARNING: gconftool-2 not found; not uninstalling gconf schemas"';
    344   echo '  exit 0';
    345   echo '}';
    346   echo 'umask 0022';
    347   echo 'GCONF_CONFIG_SOURCE=xml:merged:$BASEDIR/etc/gconf/gconf.xml.defaults';
    348   echo 'GCONF_BACKEND_DIR=$PKG_INSTALL_ROOT/usr/lib/GConf/2';
    349   echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib';
    350   echo 'export GCONF_CONFIG_SOURCE GCONF_BACKEND_DIR LD_LIBRARY_PATH';
    351   echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas';
    352   echo 'schemas="$SDIR/charpick.schemas';
    353   echo '         $SDIR/battstat.schemas';
    354   echo '         $SDIR/deskbar-applet.schemas';
    355   echo '         $SDIR/quick-lounge.schemas';
    356   echo '         $SDIR/multiload.schemas';
    357   echo '         $SDIR/stickynotes.schemas"';
    358   echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule $schemas'
    359 ) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a
    360 
    361 %files
    362 %defattr (-, root, bin)
    363 %dir %attr (0755, root, bin) %{_libdir}
    364 %{_libdir}/bonobo/servers/GNOME_NullApplet_Factory.server
    365 %{_libdir}/null_applet
    366 
    367 %files -n SUNWgnome-fun-applets
    368 %defattr (-, root, bin)
    369 %dir %attr (0755, root, bin) %{_libdir}
    370 %{_libdir}/bonobo/servers/GNOME_GeyesApplet.server
    371 %{_libexecdir}/geyes_applet2
    372 %dir %attr(0755, root, sys) %{_datadir}
    373 %dir %attr (0755, root, other) %{_datadir}/gnome
    374 %{_datadir}/gnome/help/geyes/C
    375 %{_datadir}/omf/geyes/geyes-C.omf
    376 %{_datadir}/gnome-2.0/ui/GNOME_GeyesApplet.xml
    377 %{_datadir}/gnome-applets/geyes
    378 %dir %attr (-, root, other) %{_datadir}/icons
    379 %dir %attr (-, root, other) %{_datadir}/icons/hicolor
    380 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16
    381 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
    382 %{_datadir}/icons/hicolor/16x16/apps/gnome-eyes-applet.*
    383 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22
    384 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22/apps
    385 %{_datadir}/icons/hicolor/22x22/apps/gnome-eyes-applet.*
    386 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24
    387 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps
    388 %{_datadir}/icons/hicolor/24x24/apps/gnome-eyes-applet.*
    389 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32
    390 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps
    391 %{_datadir}/icons/hicolor/32x32/apps/gnome-eyes-applet.*
    392 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable
    393 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps
    394 %{_datadir}/icons/hicolor/scalable/apps/gnome-eyes-applet.*
    395 %{_datadir}/xmodmap
    396 
    397 %files -n SUNWgnome-fun-applets-root
    398 %defattr(-, root, sys)
    399 %dir %attr(0755, root, sys) %{_sysconfdir}
    400 %{_sysconfdir}/gconf/schemas/geyes.schemas
    401 
    402 %files -n SUNWgnome-internet-applets
    403 %defattr (-, root, bin)
    404 %dir %attr (0755, root, bin) %{_bindir}
    405 %dir %attr (0755, root, bin) %{_libdir}
    406 %{_libdir}/bonobo/servers/GNOME_GWeatherApplet_Factory.server
    407 %{_libdir}/bonobo/servers/Invest_Applet.server
    408 %{_libdir}/bonobo/servers/GNOME_GtikApplet.server
    409 %{_libdir}/invest-applet
    410 %{_libdir}/python?.?/vendor-packages/invest
    411 %{_libexecdir}/gweather-applet-2
    412 %dir %attr(0755, root, sys) %{_datadir}
    413 %dir %attr (0755, root, other) %{_datadir}/gnome
    414 %{_datadir}/gnome/help/gweather/C
    415 %{_datadir}/gnome/help/invest-applet/C
    416 %{_datadir}/gnome-applets/invest-applet
    417 %{_datadir}/omf/gweather/gweather*-C.omf
    418 %{_datadir}/omf/invest-applet/invest-applet*-C.omf
    419 %{_datadir}/gnome-2.0/ui/GNOME_GWeatherApplet.xml
    420 %{_datadir}/gnome-2.0/ui/Invest_Applet.xml
    421 %dir %attr (0755, root, other) %{_datadir}/pixmaps
    422 #%{_datadir}/pixmaps/invest-48_neutral.png
    423 %dir %attr (-, root, other) %{_datadir}/icons
    424 %dir %attr (-, root, other) %{_datadir}/icons/hicolor
    425 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16
    426 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
    427 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22
    428 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22/apps
    429 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48
    430 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48/apps
    431 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable
    432 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps
    433 %{_datadir}/icons/hicolor/48x48/apps/invest-applet.png
    434 %{_datadir}/icons/hicolor/16x16/apps/invest-applet.png
    435 %{_datadir}/icons/hicolor/scalable/apps/invest-applet.svg
    436 %{_datadir}/icons/hicolor/22x22/apps/invest-applet.png
    437 
    438 %files -n SUNWgnome-intranet-applets
    439 %defattr (-, root, bin)
    440 %dir %attr (0755, root, bin) %{_libdir}
    441 %{_libdir}/bonobo/servers/GNOME_MailcheckApplet_Factory.server
    442 %{_libdir}/bonobo/servers/GNOME_Panel_NowApplet.server
    443 %{_libdir}/bonobo/servers/GNOME_NetstatusApplet_Factory.server
    444 %{_libdir}/bonobo/servers/GNOME_Panel_WirelessApplet.server
    445 %{_libexecdir}/gnome-netstatus-applet
    446 %{_libexecdir}/gnome-netstatus-wifi-info
    447 %dir %attr(0755, root, sys) %{_datadir}
    448 %dir %attr (0755, root, other) %{_datadir}/gnome
    449 %{_datadir}/gnome/help/gnome-netstatus/C
    450 %dir %attr (0755, root, other) %{_datadir}/pixmaps
    451 %{_datadir}/omf/gnome-netstatus/*-C.omf
    452 #%{_datadir}/gnome-2.0/ui/GNOME_Panel_NowApplet.xml
    453 %{_datadir}/gnome-2.0/ui/GNOME_NetstatusApplet.xml
    454 %{_datadir}/gnome-netstatus
    455 
    456 %files -n SUNWgnome-intranet-applets-root
    457 %defattr(-, root, sys)
    458 %dir %attr(0755, root, sys) %{_sysconfdir}
    459 %dir %attr(0755, root, sys) %{_sysconfdir}/security
    460 %{_sysconfdir}/gconf/schemas/netstatus.schemas
    461 %config %class(rbac) %attr (0644, root, sys) %{_sysconfdir}/security/exec_attr
    462 %config %class(rbac) %attr (0644, root, sys) %{_sysconfdir}/security/prof_attr
    463 
    464 %files -n SUNWgnome-mm-applets
    465 %defattr (-, root, bin)
    466 %dir %attr (0755, root, bin) %{_libdir}
    467 %{_libdir}/bonobo/servers/GNOME_MixerApplet.server
    468 %{_libdir}/bonobo/servers/GNOME_CDPlayerApplet.server
    469 %{_libexecdir}/mixer_applet2
    470 %dir %attr(0755, root, sys) %{_datadir}
    471 %dir %attr (0755, root, other) %{_datadir}/gnome
    472 %{_datadir}/gnome/help/mixer_applet2/C
    473 %{_datadir}/omf/mixer_applet*/mixer_applet*-C.omf
    474 %{_datadir}/gnome-2.0/ui/GNOME_MixerApplet.xml
    475 
    476 %files -n SUNWgnome-mm-applets-root
    477 %defattr(-, root, sys)
    478 %dir %attr(0755, root, sys) %{_sysconfdir}
    479 %{_sysconfdir}/gconf/schemas/mixer.schemas
    480 
    481 %files -n SUNWgnome-utility-applets
    482 %defattr (-, root, bin)
    483 %dir %attr (0755, root, bin) %{_libdir}
    484 %{_libdir}/trashapplet
    485 %{_libdir}/bonobo/servers/GNOME_CharpickerApplet.server
    486 %{_libdir}/bonobo/servers/GNOME_MiniCommanderApplet.server
    487 %{_libdir}/bonobo/servers/GNOME_StickyNotesApplet.server
    488 %{_libdir}/bonobo/servers/GNOME_AccessxStatusApplet.server
    489 %{_libdir}/bonobo/servers/GNOME_QuickLoungeApplet_Factory.server
    490 %{_libdir}/bonobo/servers/GNOME_Panel_TrashApplet.server
    491 %{_libdir}/bonobo/servers/GNOME_MultiLoadApplet_Factory.server
    492 %{_libdir}/bonobo/servers/Deskbar_Applet.server
    493 %{_libdir}/bonobo/servers/GNOME_WebEyes.server
    494 %{_libdir}/bonobo/servers/GNOME_BattstatApplet.server
    495 %{_libdir}/deskbar-applet
    496 %{_libdir}/python?.?/vendor-packages/deskbar
    497 %{_libexecdir}/charpick_applet2
    498 %{_libexecdir}/stickynotes_applet
    499 %{_libexecdir}/accessx-status-applet
    500 %{_libexecdir}/quick-lounge-applet
    501 %{_libexecdir}/multiload-applet-2
    502 %{_libexecdir}/battstat-applet-2
    503 %dir %attr(0755, root, sys) %{_datadir}
    504 %{_datadir}/gnome-applets/builder
    505 %dir %attr (0755, root, other) %{_datadir}/gnome
    506 %{_datadir}/gnome/help/char-palette/C
    507 %{_datadir}/gnome/help/deskbar/C
    508 %{_datadir}/gnome/help/stickynotes_applet/C
    509 %{_datadir}/gnome/help/accessx-status/C
    510 %{_datadir}/gnome/help/quick-lounge/C
    511 %{_datadir}/gnome/help/multiload/C
    512 %{_datadir}/gnome/help/trashapplet/C
    513 %{_datadir}/gnome/help/battstat/C
    514 %dir %attr (0755, root, other) %{_datadir}/pixmaps
    515 %{_datadir}/pixmaps/accessx-status-applet
    516 %{_datadir}/pixmaps/stickynotes
    517 %{_datadir}/omf/char-palette/char-palette-C.omf
    518 %{_datadir}/omf/deskbar/deskbar-C.omf
    519 %{_datadir}/omf/stickynotes_applet/stickynotes_applet-C.omf
    520 %{_datadir}/omf/accessx-status/accessx-status-C.omf
    521 %{_datadir}/omf/quick-lounge-applet/quick-lounge-C.omf
    522 %{_datadir}/omf/trashapplet/trashapplet-C.omf
    523 %{_datadir}/omf/multiload/multiload-C.omf
    524 %{_datadir}/omf/battstat/battstat-C.omf
    525 %{_datadir}/gnome-2.0/ui/GNOME_CharpickerApplet.xml
    526 %{_datadir}/gnome-2.0/ui/GNOME_StickyNotesApplet.xml
    527 %{_datadir}/gnome-2.0/ui/GNOME_AccessxApplet.xml
    528 %{_datadir}/gnome-2.0/ui/GNOME_QuickLoungeApplet.xml
    529 %{_datadir}/gnome-2.0/ui/GNOME_Panel_TrashApplet.xml
    530 %{_datadir}/gnome-2.0/ui/GNOME_MultiloadApplet.xml
    531 %{_datadir}/gnome-2.0/ui/GNOME_BattstatApplet.xml
    532 %dir %attr (-, root, other) %{_datadir}/icons
    533 %dir %attr (-, root, other) %{_datadir}/icons/hicolor
    534 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16
    535 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
    536 %{_datadir}/icons/hicolor/16x16/apps/gnome-sticky-notes-applet.*
    537 %{_datadir}/icons/hicolor/16x16/apps/deskbar-applet.*
    538 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22
    539 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22/apps
    540 %{_datadir}/icons/hicolor/22x22/apps/gnome-sticky-notes-applet.*
    541 %{_datadir}/icons/hicolor/22x22/apps/deskbar-applet.*
    542 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24
    543 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps
    544 %{_datadir}/icons/hicolor/24x24/apps/gnome-sticky-notes-applet.*
    545 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32
    546 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps
    547 %{_datadir}/icons/hicolor/32x32/apps/gnome-sticky-notes-applet.*
    548 %{_datadir}/icons/hicolor/32x32/apps/deskbar-applet.*
    549 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48
    550 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48/apps
    551 %{_datadir}/icons/hicolor/48x48/apps/ax-applet*
    552 %{_datadir}/icons/hicolor/48x48/apps/deskbar-applet*
    553 %{_datadir}/icons/hicolor/48x48/apps/quick-lounge*
    554 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable
    555 %dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps
    556 %{_datadir}/icons/hicolor/scalable/apps/deskbar-applet*
    557 %{_datadir}/icons/hicolor/scalable/apps/gnome-sticky-notes-applet.*
    558 %{_datadir}/quick-lounge-applet
    559 %{_datadir}/deskbar-applet
    560 
    561 %files -n SUNWgnome-utility-applets-root
    562 %defattr(-, root, sys)
    563 %dir %attr(0755, root, sys) %{_sysconfdir}
    564 %{_sysconfdir}/gconf/schemas/charpick.schemas
    565 %{_sysconfdir}/gconf/schemas/stickynotes.schemas
    566 %{_sysconfdir}/gconf/schemas/quick-lounge.schemas
    567 %{_sysconfdir}/gconf/schemas/deskbar-applet.schemas
    568 %{_sysconfdir}/gconf/schemas/multiload.schemas
    569 %{_sysconfdir}/gconf/schemas/battstat.schemas
    570 %{_sysconfdir}/sound/events/battstat_applet.soundlist
    571 
    572 %files -n SUNWgnome-utility-applets-devel
    573 %defattr (-, root, bin)
    574 %dir %attr (0755, root, bin) %{_libdir}
    575 %dir %attr (0755, root, other) %{_libdir}/pkgconfig
    576 %{_libdir}/pkgconfig/deskbar-applet.pc
    577 
    578 %if %build_l10n
    579 %files l10n
    580 %defattr (-, root, bin)
    581 %dir %attr (0755, root, sys) %{_datadir}
    582 %attr (-, root, other) %{_datadir}/locale
    583 %dir %attr (0755, root, other) %{_datadir}/gnome
    584 %{_datadir}/gnome/help/[a-c]*/[a-z]*
    585 %{_datadir}/gnome/help/deskbar/[a-z]*
    586 %{_datadir}/gnome/help/[e-z]*/[a-z]*
    587 %{_datadir}/omf/*/*-[a-z][a-z].omf
    588 %{_datadir}/omf/*/*-[a-z][a-z]_[A-Z][A-Z].omf
    589 %endif
    590 
    591 # Put back in when localized help is delivered from l10n 
    592 # %{_datadir}/omf/gnome-desktop/*-[a-z][a-z].omf
    593 # %{_datadir}/omf/gnome-desktop/*-[a-z][a-z]_*.omf
    594 # %{_datadir}/omf/gnome-feedback/*-[a-z][a-z].omf
    595 # %{_datadir}/omf/gnome-feedback/*-[a-z][a-z]_*.omf
    596 # %{_datadir}/omf/gnome-netstatus/*-[a-z][a-z].omf
    597 # %{_datadir}/omf/gnome-netstatus/*-[a-z][a-z]_*.omf
    598 
    599 %changelog
    600 * Mon Sep 15 2008 - darren.kenny@sun.com
    601 - Removed icon dirs not being used any more.
    602 - Added line to remove empty drivemount directory that was causing build
    603   error.
    604 * Mon Sep 08 2008 - dave.lin@sun.com
    605 - Fixed /usr/share/icons/... attribute issue for SUNWgnome-internet-applets
    606 * Fri Aug 22 2008 - darren.kenny@sun.com
    607 - Update for additional netstatus wireless files (icons and helper).
    608 * Fri May 30 2008 - damien.carbery@sun.com
    609 - Update %files for new tarballs.
    610 * Fri May 16 2008 - jedy.wang@sun.com
    611 - Remove panel-default-setup-laptop.entries and corresponding post and preun
    612   script to fix 6703518.
    613 * Thu Feb 28 2008 - damien.carbery@sun.com
    614 - Update %files for new tarballs.
    615 * Tue Jan 22 2008 - damien.carbery@sun.com
    616 - Remove Requires: SUNWgnome-internet-applets-root from
    617   SUNWgnome-internet-applets list.
    618 * Thu Jan 17 2008 - damien.carbery@sun.com
    619 - Remove SUNWgnome-internet-applets-root and SUNWgnome-internet-applets-devel
    620   packages as the libgweather module is in SUNWgnome-panel now.
    621 * Thu Jan  3 2008 - laca@sun.com
    622 - use gconf-install.script instead of an inline script
    623 * Thu Jan  3 2008 - laca@sun.com
    624 - use includes instead of inline scripts
    625 * Thu Oct 11 2007 - brian.cameron@sun.com
    626 - Fix packaging so that invest applet's python code gets installed.
    627   Fixes bug #6502277.
    628 * Fri Sep 28 2007 - laca (at] sun.com
    629 - delete Nevada X deps; make xorg-xkb dep dependent upon nevada X build
    630 * Thu Sep 27 2007 - laca (at] sun.com
    631 - add postrun script that rebuilds the icon cache for each package that
    632   installs icons
    633 * Sat Aug 18 2007 - damien.carbery (at] sun.com
    634 - Comment out removal of %{_prefix}/var dir as it's no longer created.
    635 * Tue Aug 07 2007 - damien.carbery@sun.com
    636 - Update l10n %files for new deskbar-applet tarball.
    637 * Wed Aug 01 2007 - damien.carbery@sun.com
    638 - Update %files for new tarball.
    639 * Tue Apr 24 2007 - laca@sun.com
    640 - s/0755/-/ in defattr so that files are not made all executable
    641 * Sun Apr 15 2007 - jedy.wang@sun.com
    642 - Ship battstat applet on sparc.
    643 * Wed Mar 07 2007 - damien.carbery@sun.com
    644 - Delete en_GB locale files in %install as it breaks SUNWzz-gnome-l10n build. 
    645 * Mon Feb 19 2007 - damien.carbery@sun.com
    646 - Add now applet back to %files.
    647 * Sun Feb 18 2007 - glynn.foster@sun.com
    648 - Update the install location for the python files into vendor-packages.
    649 * Tue Jan 23 2007 - damien.carbery@sun.com
    650 - Rename %{_datadir}/quick-lounge to quick-lounge-applet.
    651 * Wed Jan 10 2007 - damien.carbery@sun.com
    652 - Add deskbar help files to %files.
    653 * Wed Jan 03 2007 - damien.carbery@sun.com
    654 - Changes in %files for 2.17.1 update. Remove GNOME_KeyboardApplet.server as the
    655   base patch that creates it has been removed. Added %{_datadir}/xmodmap dir.
    656 * Fri Nov 03 2006 - damien.carbery@sun.com
    657 - Remove the 'rm' of invest-big.png as it is referenced in %files.
    658 * Thu Nov 02 2006 - damien.carbery@sun.com
    659 - Remove the invest-chart files as it is not in the UI spec (#6488895).
    660 * Thu Oct 19 2006 - damien.carbery@sun.com
    661 - Remove obsolete 'rm -r' calls from %install.
    662 * Tue Oct 17 2006 - glynn.foster@sun.com
    663 - Remove webeyes from the build. deskbar-applet is the natural
    664   (and better) replacement. Compatibility is preserved through 
    665   user migration to the new applet.
    666 * Mon Sep 04 2006 - brian.cameron@sun.com
    667 - Remove libical since we no longer ship the now applet.  Also
    668   remove -g from CFLAGS.  Not good to have on by default for
    669   performance.
    670 * Fri Aug 25 2006 - damien.carbery@sun.com
    671 - More updates to %files for new deskbar-applet tarball.
    672 * Thu Aug 24 2006 - damien.carbery@sun.com
    673 - Minor update to %files.
    674 * Wed Aug 23 2006 - damien.carbery@sun.com
    675 - Update %files for new icons.
    676 * Wed Aug 16 2006 - damien.carbery@sun.com
    677 - Add invest-applet to internet-applets package.
    678 * Sat Aug 12 2006 - laca@sun.com
    679 - delete some unnecessary env variables
    680 * Sat Aug 12 2006 - laca@sun.com
    681 - change datadir/icons permissions back to root:other since it's a stable
    682   interface and wasn't supposed to be changed
    683 * Thu Aug 03 2006 - damien.carbery@sun.com
    684 - Add 'multiload' files back to %files.
    685 * Tue Aug 01 2006 - darren.kenny@sun.com
    686 - Add SUNWlibgtop build dependency for multiload
    687 * Sat Jul 29 2006 - damien.carbery@sun.com
    688 - Remove 'multiload' files from %files.
    689 * Fri Jul 28 2006 - damien.carbery@sun.com
    690 - Remove 'gtik' stuff and add deskbar stuff to %files. Fix dir perms.
    691 * Fri Jul 28 2006 - darren.kenny@sun.com
    692 - Add multiload applet.
    693 * Fri Jul 14 2006 - laca@sun.com
    694 - update %post/%postun/etc scripts to support diskless client setup,
    695   part of 6448317
    696 * Sat Jul 15 2006 - glynn.foster@sun.com
    697 - Remove gswitchit and friends.
    698 * Thu Jun 29 2006 - laca@sun.com
    699 - update postrun scripts
    700 * Sun Jun 11 2006 - laca@sun.com
    701 - change group from other to bin/sys
    702 * Tue May 09 2006 - laca@sun.com
    703 - merge -share pkg(s) into the base pkg(s)
    704 * Wed Mar 15 2006 - damien.carbery@sun.com
    705 - Add to Build/Requires after running check-deps.pl.
    706 * Wed Mar 15 2006 - glynn.foster@sun.com
    707 - Add deskbar-applet to the utility package.
    708 * Fri Feb 17 2006 - damien.carbery@sun.com
    709 - Update Build/Requires after running check-deps.pl script.
    710 * Mon Feb 13 2006 - damien.carbery@sun.com
    711 - Remove mini-commander stuff that is gone.
    712 * Fri Jan 06 2006 - damien.carbery@sun.com
    713 - Add internet-applets-devel for gweather files.
    714 * Tue Nov 29 2005 - laca@sun.com
    715 - remove javahelp stuff
    716 * Wed Oct 19 2005 - damien.carbery@sun.com
    717 - Add SUNWgnome-doc-utils build dependency for /usr/bin/xml2po.
    718 * Tue Sep 13 2005 - laca@sun.com
    719 - remove unpackaged files or add to %files
    720 * Wed Jul 13 2005 - brian.cameron@sun.com
    721 - Split from SUNWgnome-panel.spec.
    722