gnome-settings-daemon.spec revision 13773
#
# 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.23/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:2004-10-06 owner:dkenny type:bug bugster:5101706
# 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 bugster:146
%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/*
$HOME directory via patch gnome-settings-daemon-08-gnomeinit.diff. This
is needed for the new GDM rewrite, which needs to run g-s-d and does not
have a writable $HOME directory.
* Tue Mar 11 2008 - damien.carbery@sun.com
- Bump to 2.22.0.
* Mon Mar 3 2008 - damien.carbery@sun.com
- Bump to 2.21.92.
* Fri Feb 15 2008 - damien.carbery@sun.com
- Add patch 07-uninstalled to correct Cflags path in the uninstalled.pc.in file. Correct path to the plugins.
* Tue Feb 12 2008 - damien.carbery@sun.com
- Bump to 2.21.91. Remove upstream patches 07-uninstalled and 09-mv-src-dir.
Remove 06-relocate-plugins as the change is implemented in configure.
* Fri Feb 01 2008 - damien.carbery@sun.com
- Bump to 2.21.90.2.
* Tue Jan 29 2008 - brian.cameron@sun.com
- Bump to 2.21.90.1.
* Thu Jan 24 2007 - damien.carbery@sun.com
simplify uninstalled building. Bugzilla 511820.
* Thu Jan 24 2007 - darren.kenny@sun.com
- Add patch 09-xft to fix bugzilla 511733.
* Wed Jan 23 2007 - damien.carbery@sun.com
- Add patch 08-uninstalled to create an uninstalled.pc.in file to permit
building.
* Wed Jan 23 2007 - darren.kenny@sun.com
- Initial SPEC file for new g-s-d project.
Extracted from control-center project.