gnome-settings-daemon.spec revision 18595
10139N/A#
11111N/A# spec file for package gnome-settings-daemon.
10139N/A#
10139N/A# Copyright (c) 2008 Sun Microsystems, Inc.
10374N/A# This file and all modifications and additions to the pristine
10374N/A# package are under the same license as the package itself.
10139N/A#
10139N/A#temporarily taken from dkenny
10139N/A%define owner stephen
12160N/A#
12160N/A
10139N/A%define OSR gnome.org:0
10139N/A
10139N/A%include l10n.inc
10139N/AName: gnome-settings-daemon
13354N/ALicense: GPL
10139N/AGroup: System/GUI/GNOME
10139N/AVersion: 2.30.0
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
10139N/ASummary: The GNOME Settings Daemon
12089N/ASource: http://ftp.gnome.org/pub/GNOME/sources/gnome-settings-daemon/2.30/gnome-settings-daemon-%{version}.tar.bz2
10139N/A%if %build_l10n
10139N/ASource1: l10n-configure.sh
10139N/A%endif
10139N/A# TODO - l10n extraction from existing gnome-control-center.
10139N/A#Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2
10139N/A# date:2006-12-07 owner:dcarbery type:bug bugzilla:383356
10139N/APatch1: gnome-settings-daemon-01-no-libgnomekbd.diff
10139N/A# date:2008-11-07 owner:jedy type:bug bugster:6767860 bugzilla:170175
10139N/APatch2: gnome-settings-daemon-02-sleep-action.diff
10139N/A# date:2004-10-19 owner:dkenny type:feature bugster:4878555
10374N/APatch3: gnome-settings-daemon-03-custom-keybinding.diff
10374N/A# date:2006-06-30 owner:stephen type:feature
10374N/APatch4: gnome-settings-daemon-04-trusted-extensions.diff
10374N/A# date:2006-08-28 owner:pwade type:bug bugster:6327546
10374N/APatch5: gnome-settings-daemon-05-sticky-timeout.diff
10374N/A# date:2008-01-24 owner:dkenny type:bug bugzilla:511733
10374N/APatch6: gnome-settings-daemon-06-xft.diff
10374N/A# date:2008-01-24 owner:erwannc type:bug doo:146 bugster:6717847
10374N/APatch7: gnome-settings-daemon-07-default-dpi-and-aa.diff
10374N/A# date:2008-09-23 owner:dkenny type:branding
10374N/APatch8: gnome-settings-daemon-08-find-xrdb.diff
10374N/A# date:2009-04-02 owner:lin type:branding bugster:6746963
10374N/APatch9: gnome-settings-daemon-09-default-keybinding.diff
10374N/A# date:2009-08-07 owner:dkenny type:branding bugzilla:
10374N/APatch10: gnome-settings-daemon-10-dispswitch-keybinding.diff
10374N/A# date:2009-04-16 owner:lin type:branding bugzilla:571145 doo:13512
10374N/APatch11: gnome-settings-daemon-11-gst-mediakeys.diff
10374N/AURL: http://www.gnome.org
10374N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10374N/ADocdir: %{_defaultdocdir}/control-center2
10374N/AAutoreqprov: on
13387N/APrereq: /sbin/ldconfig
13387N/APrereq: GConf
10374N/A
10374N/A%define libgnomeui_version 2.6.0
10139N/A%define esound_version 0.2.33
10139N/A%define gnome_desktop_version 2.6.1
10139N/A%define metacity_version 2.8.0
10139N/A%define nautilus_version 2.6.1
10139N/A%define fontilus_version 2.4.0
10139N/A%define acme_version 2.4.2
10139N/A%define desktop_file_utils_version 0.10
10139N/A%define xft_version 2.1.7
10139N/A
10139N/ABuildRequires: libgnomeui-devel >= %{libgnomeui_version}
10139N/ABuildRequires: esound-devel >= %{esound_version}
10139N/ABuildRequires: gnome-desktop-devel >= %{gnome_desktop_version}
10139N/ABuildRequires: metacity >= %{metacity_version}
10139N/ABuildRequires: nautilus-devel >= %{nautilus_version}
10139N/ABuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
10139N/ABuildRequires: automake >= 1.9
13387N/ABuildRequires: evolution-data-server-devel
13387N/ABuildRequires: gstreamer-plugins-devel
13354N/A
13354N/ARequires: gst-plugins-base
12089N/ARequires: libgnomeui >= %{libgnomeui_version}
12089N/ARequires: esound >= %{esound_version}
12089N/ARequires: gnome-desktop >= %{gnome_desktop_version}
10374N/ARequires: nautilus >= %{nautilus_version}
10374N/ARequires: evolution-data-server
10314N/A
10314N/AObsoletes: fontilus < %{fontilus_version}
10139N/AProvides: fontilus = %{fontilus_version}
10139N/AObsoletes: acme < %{acme_version}
10139N/AProvides: acme = %{acme_version}
10139N/A
10139N/A%description
10139N/AThis package contains the new control-center for the GNOME desktop.
10139N/A
10139N/A%package devel
10139N/ASummary: Development files for the GNOME Settings Daemon
10139N/AGroup: Development/Libraries/GNOME
10139N/ARequires: %name = %version-%release
10139N/A
10139N/A%description devel
10139N/AThis package contains the files need for development of GNOME control center capplets
10139N/A
10139N/A%prep
10139N/A%setup -q
10139N/A# TODO - l10n extraction from existing gnome-control-center.
10139N/A#%if %build_l10n
10139N/A#bzcat %SOURCE1 | tar xf -
10139N/A#cd po-sun; make; cd ..
10139N/A#%endif
10139N/A%patch1 -p1
10139N/A%patch2 -p1
10139N/A%patch3 -p1
10139N/A%patch4 -p1
10139N/A%patch5 -p1
10139N/A%patch6 -p1
10139N/A%patch7 -p1
10139N/A%patch8 -p1
10139N/A%patch9 -p1
10139N/A%patch10 -p1
10139N/A#%patch11 -p1
10139N/A
# 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
%build
%ifos linux
if [ -x /usr/bin/getconf ]; then
CPUS=`getconf _NPROCESSORS_ONLN`
fi
%else
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
%endif
if test "x$CPUS" = "x" -o $CPUS = 0; then
CPUS=1
fi
LC_ALL=
LANG=
export LC_ALL LANG
gnome-doc-common
gnome-doc-prepare --force
libtoolize --force
glib-gettextize -f
intltoolize --force --copy
%if %build_l10n
bash -x %SOURCE1 --enable-copyright
%endif
aclocal $ACLOCAL_FLAGS -I .
autoheader
automake -a -c -f
autoconf
%if %with_hal
export ENABLE_HAL_CONFIG="--enable-hal"
%else
export ENABLE_HAL_CONFIG="--disable-hal"
%endif
CFLAGS="$RPM_OPT_FLAGS -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/X11/share/include" \
./configure \
--prefix=%{_prefix} \
--datadir=%{_datadir} \
--libexecdir=%{_libexecdir} \
--sysconfdir=%{_sysconfdir} \
--disable-scrollkeeper \
--enable-aboutme \
--disable-gswitchit \
--disable-pulse \
--enable-gstreamer \
$ENABLE_HAL_CONFIG
make -j $CPUS
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make DESTDIR=$RPM_BUILD_ROOT install
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
#Copy zh_HK from zh_TW
#Fixes bug 4930405
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
rm $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-2.0/*.a
rm $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-2.0/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
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"
for S in $SCHEMAS; do
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
done
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%defattr (-, root, root)
%{_prefix}/bin/*
%{_datadir}/locale/*/LC_MESSAGES/*.mo
%{_datadir}/pixmaps/*
%{_datadir}/idl/*.idl
%{_datadir}/control-center-2.0/*
%{_sysconfdir}/gconf/schemas/*.schemas
%{_sysconfdir}/gnome-vfs-2.0/modules/*
%{_datadir}/gnome/vfolders/*
%{_datadir}/gnome/cursor-fonts/*
%{_datadir}/gnome/help/*
%{_datadir}/omf
%{_datadir}/applications/*
%{_datadir}/icons/hicolor/*
%{_datadir}/gnome-background-properties
%{_datadir}/gnome-default-applications
%{_libdir}/*.so.*
%{_libdir}/bonobo/servers/*
%{_libdir}/gnome-vfs-2.0/modules/*.so*
%{_libdir}/nautilus/extensions-2.0/*.so
%{_libdir}/window-manager-settings/*.so
%{_libexecdir}/gnome-settings-daemon
%{_mandir}/man1/*
%files devel
%{_includedir}/gnome-window-settings-2.0/*.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%changelog
* Wed Apr 14 2010 - brian.cameron@sun.com
- Re-add back patch gnome-settings-daemon-11-gst-mediakeys.diff. Update
the gvc-gstreamer-acme-vol.c file in the patch so it fixes doo bug 13512.
* Sat Apr 3 2010 - christian.kelly@sun.com
- Bump to 2.30.0.
* The Mar 11 2010 - christian.kelly@sun.com
- Bump to 2.29.92.
* Mon Feb 15 2010 - christian.kelly@sun.com
- Bump to 2.29.90.
* Mon Feb 1 2010 - christian.kelly@sun.com
- Bump to 2.29.6.
* Tue Oct 20 2009 - dave.lin@sun.com
- Bump to 2.28.1
* Wed Sep 23 2009 - dave.lin@sun.com
- Bump to 2.28.0
* Tue Sep 08 2009 - dave.lin@sun.com
- Bump to 2.27.92
- Add 12-return-value.diff to fix build issue.
* Thu Sep 03 2009 - lin.ma@sun.com
- Bump to 2.27.91 and update patch 10, 11.
* Fri Aug 07 2009 - darren.kenny@sun.com
Add patch gnome-settings-daemon-11-dispswitch-keybinding.diff as part of the
fix for bug#6846157 adding the feature to support Toggling of external
display using XF86Display, and use of XF86ScreenSaver for screensaver, where
that key is supported, while allowing the user to configure an alternative
should it be desired. This depends on the use of dispswitch and the -toggle
option.
* Fri Aug 7 2009 - darren.kenny@sun.com
- Bump to 2.27.5
* Tue Jun 16 2009 - christian.kelly@sun.com
- Bump to 2.27.3.
* Wed Apr 16 2009 - lin.ma@sun.com
- Readd gstreamer audo control code.
* Wed Apr 15 2009 - dave.lin@sun.com
- Bump to 2.26.1
* Thu Apr 02 2009 - lin.ma@sun.com
- Add patch 10 for fix bugzilla 6746963.
* Mon Mar 30 2009 - chris.wang@sun.com
- Add patch 09 to fix bugzilla 576535 notification crash on close
* Tue Mar 17 2009 - dave.lin@sun.com
- Bump to 2.26.0
* Fri Mar 13 2009 - dave.lin@sun.com
- Bump to 2.25.92
* Tue Feb 10 2009 - matt.keenan@sun.com
- Bump to 2.25.90
* Tue Jan 13 2009 - matt.keenan@sun.com
- Bump to 2.25.3
* Thu Jan 08 2008 - jedy.wang@sun.com
- Update patch comments for 02-sleep-action.diff.
* Wed Dec 03 2008 - dave.lin@sun.com
- Bump to 2.25.2
* Fri Nov 13 2008 - jedy.wang@sun.com
- Remove 02-logout-shortcut.diff and create 02-sleep-action.diff.
* Fri Sep 26 2008 - brian.cameron@sun.com
- Fix download link.
* Thu Sep 25 2008 - matt.keenan@sun.com
- Bump to 2.24.0 to get correct copyright info
* Tue Sep 23 2008 - darren.kenny@sun.com
- Add patch gnome-settings-daemon-08-find-xrdb.diff to handle issue where xrdb
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
- Fix g-s-d so that it can find /usr/lib/esd.
* Thu May 01 2008 - brian.cameron@sun.com
- Fix g-s-d so that it will start up if the user doesn't have a writable
$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
- Add patch 10-mv-src-dir to rename 'src' to 'gnome-settings-daemon' to
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.
- Removed gnome screensaver patch which isn't needed (and was actually
ineffective).