#
# spec file for package SUNWgnome-desktop-prefs
#
# includes module(s): desktop-file-utils, gnome-settings-daemon, control-center
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
#temporarily taken from dkenny
#
# NOTE: You must set up the OpenGL symlinks before building SUNWcompiz:
# # /lib/svc/method/ogl-select start
%use dfu = desktop-file-utils.spec
%use gsd = gnome-settings-daemon.spec
%use cc = control-center.spec
# date:2007-11-07 bugster:6531454 owner:dkenny type:bug
SUNW_BaseDir: %{_basedir}
%if %with_hal
%if %option_without_fox
%if %option_with_dt
SUNW_BaseDir: /
SUNW_BaseDir: %{_basedir}
%if %build_l10n
%prep
#cd %{_builddir}/%name-%version/%{cc.name}-%{cc.version}
#%patch1 -p1
#cd ..
# Hack to make the uninstalled pc file work.
cd ../..
export RPM_OPT_FLAGS="$CFLAGS"
export PKG_CONFIG_PATH="../gnome-settings-daemon-%{gsd.version}/data:%{_pkg_config_path}"
#FIXME: This stuff should be fixed in the component or the configure script
export LDFLAGS="%_ldflags -L/usr/X11/lib -R/usr/X11/lib -L/usr/sfw/lib -R/usr/sfw/lib -lfreetype -lresolv -lgthread-2.0"
# FIXME: Remove %{_datadir}/mime until clash with SUNWgnome-vfs resolved.
#rm -r $RPM_BUILD_ROOT%{_datadir}/mime
# put real version number in gnome-control-center.1
perl -pi -e 's/%%{cc_version}/%{cc.version}/g' $RPM_BUILD_ROOT%{_mandir}/man1/gnome-control-center.1
# Remove unused PolKit files.
%if %build_l10n
%else
# REMOVE l10n FILES
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
%post
%{_bindir}/*
# PulseAudio
#PulseAudio
#PulseAudio
#PulseAudio
#PulseAudio
%{_mandir}/*/*
%{_includedir}/*
%{_sysconfdir}/xdg
%if %build_l10n
after uninstalling update-desktop-database
* Fri Apr 3 2009 - laca@sun.com
- use desktop-cache instead of postrun
* Thu Mar 05 2009 - brian.cameron@sun.com
- Change SUNWdbus-bindings to SUNWdbus-glib.
* Tue Jan 13 2009 - matt.keenan@sun.com
- Remove sound capplet reference as removed from 2.25.3 tarball
* Tue Jan 06 2009 - takao.fujiwara@sun.com
- Modify pkgmap for omf.
* Thu Sep 25 2008 - matt.keenan@sun.com
- Update copyright
* Wed Sep 17 2008 - halton.huo@sun.com
- Add script to replace real control-center version number in
gnome-control-center.1
- Add %attr (-, root, other) for subfolders under %{_datadir}/icons
* Tue Aug 05 2008 - damien.carbery@sun.com
- Add apps_gnome_settings_daemon_xrandr.schemas to %post and %files. Remove
hack that created mimeinfo.cache - it is not needed because gnome-vfs is
obsolete now.
* Mon Aug 04 2008 - ghee.teo@sun.com
- Removed control-center-01-solaris-printmgr.diff now that the Presto's
structures.
* Thu Jan 3 2008 - laca@sun.com
- use gconf-install.script instead of an inline script
* Wed Nov 07 2007 - darren.kenny@sun.com
- Add new patch control-center-04-passwd-in-terminal.diff
- This is a tempoary fix for Bug#6531454 - using gnome-terminal & passwd - the
correct fix depends on ON RFE 6627014 being implemented.
* Tue Oct 30 2007 - laca@sun.com
* Mon Oct 1 2007 - laca@sun.com
- move export EMACS=no to %build from %prep and delete emacs dir from %files
* Mon Oct 1 2007 - damien.carbery@sun.com
- Add %{_datadir}/emacs to %files.
* Fri Sep 28 2007 - laca@sun.com
- add support to build on FOX instead of Nevada X
- disable emacs support
* Wed Sep 05 2007 - darren.kenny@sun.com
- Bump to 2.19.92
- Update files sections for new version.
* Tue Apr 24 2007 - laca@sun.com
- s/0755/-/ in defattr so that files are not made all executable
* Thu Mar 15 2007 - damien.carbery@sun.com
- Add Requires SUNWbash after check-deps.pl run.
* Wed Feb 14 2007 - damien.carbery@sun.com
- Update %files for new tarball.
* Thu Feb 8 2007 - takao.fujiwara@sun.com
- Update control-center-01-solaris-printmgr.diff for SUN_BRANDING
* Sun Jan 28 2007 - laca@sun.com
- update dir attributes so they work on both s10 and nevada
* Wed Jan 24 2007 - damien.carbery@sun.com
- Add %{_datadir}/icons to %files.
* Tue Dec 19 2006 - ghee.teo@sun.com
- Replace the script, solaris-printmgr-wrappper to use gksu instead of sticking
with the old CDE action script.
* Thu Dec 07 2006 - damien.carbery@sun.com
- Remove schema file from %preun root and %files as it is no longer in the
control-center module. Remove icons dir from %files as they are not installed.
* Fri Oct 20 2006 - damien.carbery@sun.com
- Remove SUNWhalh BuildRequires because header files are in SUNWhea in snv_51.
* Mon Sep 18 2006 - brian.cameron@sun.com
- Add SUNWhalh BuildRequires
* Tue Sep 05 2006 - brian.cameron@sun.com
- Now check for HAL so we can use --enable/disable-hal as appropriate in
the control-center.spec file. Remove panel dependency now that we no
longer link against libxklavier.
* Fri Sep 01 2006 - Matt.Keenan@sun.com
- New Manpage tarball
* Sat Aug 12 2006 - laca@sun.com
- delete some unnecessary env variables
* Sat Aug 12 2006 - laca@sun.com
* Fri Jul 14 2006 - laca@sun.com
part of 6448317
* Wed Jul 12 2006 - laca@sun.com
- set correct attributes for mimeinfo.cache, fixes #6431057
* Thu Jun 29 2006 - laca@sun.com
- update postrun scripts
* Fri Jun 23 2006 - christopher.hanna@sun.com
- removed manpages not needed: gnome-file-types-properties and gnome-settings-daemon
* Sun Jun 11 2006 - laca@sun.com
* Thu May 25 2006 - laca@sun.com
* Wed May 10 2006 - laca@sun.com
- merge -share pkg(s) into the base pkg(s)
* Tue Apr 18 2006 - damien.carbery@sun.com
- Add desktop-directories directory.
* Wed Apr 05 2006 - glynn.foster@sun.com
- Remove screensaver hack since xscreensaver installs into the
right location.
* Tue Feb 21 2006 - damien.carbery@sun.com
- Add X packages to Requires after running check-deps.pl script.
* Mon Feb 20 2006 - damien.carbery@sun.com
- Complete update of Build/Requires after running check-deps.pl script.
* Thu Feb 16 2006 - damien.carbery@sun.com
- Update Build/Requires after running check-deps.pl script.
* Thu Jan 19 2006 - brian.cameron@sun.com
- Added %{_datadir}/gnome-default-applications to share package.
* Sat Dec 3 2005 - laca@sun.com
- add %post script that runs update-desktop-database
* Thu Dec 01 2005 - damien.carbery@sun.com
* Tue Jul 19 2005 - damien.carbery@sun.com
- Add BuildRequires SUNWtltk because build was breaking without that package.
* Wed Jul 13 2005 - brian.cameron@sun.com
- Added SUNWgnome-panel dependency
* Thu Jun 02 2005 - brian.cameron@sun.com
- Bumped to 2.10, fixed packaging.
* Tue Oct 26 2004 - srirama.sharma@wipro.com
- Added patch control-center-03-sun-help-key.diff (to sparc only) to bind the
Sun help key to launch default help with Sun tpe Keyboards. Fixes the bugtraq
bug#6182405.
* Tue Oct 19 2004 - srirama.sharma@wipro.com
- Added patch control-center-02-sun-volume-keys.diff (to sparc only) to bind
Sun keys Volume up, Volume Down and Volume Mute to control volume with Sun type
keyboards. Fixes bugtraq bug#6173921.
* Sat Oct 02 2004 - laca@sun.com
- added %pkgbuild_postprocess
* Sat Sep 11 2004 - laca@sun.com
- Set LDFLAGS so Xrandr and Xrender can be found.
* Thu Sep 09 2004 - matt.keenan@sun.com
- Added gnome-at-properties.1, gnome-font-viewer.1 manpages
* Wed Aug 18 2004 - damien.carbery@sun.com
- Change manpage perms for Solaris integration.
* Fri Aug 6 2004 - danek.duvall@sun.com
- Add support for running the Solaris Print Manager (as root)
* Tue Jul 13 2004 - damien.carbery@sun.com
- Create symlink to screensaver-properties.desktop in capplets dir to fix
bug 5070633.
* Tue Jun 22 2004 - shirley.woo@sun.com
* Wed Jun 2 2004 - takao.fujiwara@sun.com
- Added %{_datadir}/locale to install l10n messages
* Wed Mar 24 2004 - brian.cameron@sun.com
- Added SGML man page integration
* Tue Mar 02 2004 - niall.power@sun.com
- add {_libdir}/window-manager-settings
* Mon Mar 01 2004 - laca@sun.com
- remove libxklavier
- add dependency on SUNWgnome-wm
* Mon Feb 23 2004 - Niall.Power@sun.com
- install gconf schemas at the end of the install
stage.
* Thu Feb 19 2004 - Niall.Power@sun.com
- initial Solaris spec file