gnome-settings-daemon.spec revision 15805
#
# spec file for package gnome-settings-daemon.
#
# Copyright (c) 2008 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner: dkenny
#
Release: 1
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-settings-daemon/2.25/gnome-settings-daemon-%{version}.tar.bz2
%if %build_l10n
# TODO - l10n extraction from existing gnome-control-center.
#Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2
# date:2006-12-07 owner:dcarbery type:bug bugzilla:383356
# date:2008-11-07 owner:jedy type:bug bugster:6767860 bugzilla:170175
# date:2004-10-19 owner:dkenny type:feature bugster:4878555
# date:2006-06-30 owner:stephen type:feature
# date:2006-08-28 owner:pwade type:bug bugster:6327546
# date:2008-01-24 owner:dkenny type:bug bugzilla:511733
# date:2008-01-24 owner:erwannc type:bug doo:146 bugster:6717847
# date:2008-09-23 owner:dkenny type:branding
%prep
%setup -q
# TODO - l10n extraction from existing gnome-control-center.
#%if %build_l10n
#bzcat %SOURCE1 | tar xf -
#cd po-sun; make; cd ..
#%endif
# Rename dir so that #include does not have to change on gnome-control-center.
# Combines with patch mv-src-dir.diff (see bugzilla 511820).
##mv src gnome-settings-daemon
fi
%else
CPUS=1
fi
LANG=
glib-gettextize -f
%if %build_l10n
aclocal $ACLOCAL_FLAGS -I .
automake -a -c -f
%if %with_hal
export ENABLE_HAL_CONFIG="--enable-hal"
%else
export ENABLE_HAL_CONFIG="--disable-hal"
./configure \
--libexecdir=%{_libexecdir} \
--sysconfdir=%{_sysconfdir} \
--disable-scrollkeeper \
#Copy zh_HK from zh_TW
#Fixes bug 4930405
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="apps_gnome_settings_daemon_default_editor.schemas apps_gnome_settings_daemon_screensaver.schemas desktop_gnome_font_rendering.schemas desktop_gnome_peripherals_keyboard_xkb.schemas apps_gnome_settings_daemon_keybindings.schemas"
done
%{_datadir}/applications/*
isn't on default user path - specific to Solaris so is branding patch.
* Sun Sep 21 2008 - christian.kelly@sun.com
- Bump to 2.23.92.
* Tue Sep 02 2008 - christian.kelly@sun.com
- Bump to 2.23.91.
* Wed Aug 20 2008 - darren.kenny@sun.com
- Attempt to fix gnome-settings-daemon-05-sticky-timeout.diff to apply.
* Tue Aug 19 2008 - dave.lin@sun.com
- Bump to 2.23.90
* Tue Aug 05 2008 - damien.carbery@sun.com
- Bump to 2.23.6.
* Fri Jul 25 2008 - damien.carbery@sun.com
- Bump to 2.23.5. Remove upstream patch, 07-uninstalled. Renumber
08-use-default-dpi to 07.
* Tue Jun 17 2008 - damien.carbery@sun.com
- Bump to 2.23.4. Remove upstream patch, 08-esound-prefix-branding.
* Wed Jun 04 2008 - damien.carbery@sun.com
- Bump to 2.23.3. Remove upstream patch, 08-gnomeinit. Renumber remainder.
* Fri May 30 - darren.kenny@sun.com
- Bump to 2.23.1.1.
* Wed May 28 2008 - damien.carbery@sun.com
- Bump to 2.22.2.
* Fri May 16 2008 - stephen.browne@sun.com
- remove conditional build of tx patch
* Thu May 06 2008 - lin.ma@sun.com
* Thu May 01 2008 - brian.cameron@sun.com
- Add patch 07-uninstalled to correct Cflags path in the uninstalled.pc.in file. Correct path to the plugins.
ineffective).