12248N/A#
12251N/A# spec file for package gnome-settings-daemon.
12248N/A#
20904N/A# Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
12248N/A# This file and all modifications and additions to the pristine
12248N/A# package are under the same license as the package itself.
12248N/A#
17835N/A#temporarily taken from dkenny
17835N/A%define owner stephen
12248N/A#
17178N/A
18603N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
17178N/A
12248N/A%include l10n.inc
12248N/AName: gnome-settings-daemon
18988N/ALicense: GPL v2, some code uses LGPL v2
12248N/AGroup: System/GUI/GNOME
20916N/AVersion: 3.4.2
12248N/ARelease: 1
12248N/ADistribution: Java Desktop System
18615N/AVendor: Gnome Community
12248N/ASummary: The GNOME Settings Daemon
20904N/ASource: http://ftp.gnome.org/pub/GNOME/sources/gnome-settings-daemon/3.4/gnome-settings-daemon-%{version}.tar.xz
12773N/A%if %build_l10n
12773N/ASource1: l10n-configure.sh
12773N/A%endif
12248N/A# TODO - l10n extraction from existing gnome-control-center.
12248N/A#Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2
19082N/A# date:2010-08-02 owner:ja208388 type:bug bugster:6868433
19082N/APatch1: gnome-settings-daemon-01-disable-xkb-init-for-xsun.diff
15622N/A# date:2008-11-07 owner:jedy type:bug bugster:6767860 bugzilla:170175
15338N/APatch2: gnome-settings-daemon-02-sleep-action.diff
12248N/A# date:2004-10-19 owner:dkenny type:feature bugster:4878555
12248N/APatch3: gnome-settings-daemon-03-custom-keybinding.diff
12248N/A# date:2006-06-30 owner:stephen type:feature
12248N/APatch4: gnome-settings-daemon-04-trusted-extensions.diff
12248N/A# date:2006-08-28 owner:pwade type:bug bugster:6327546
12248N/APatch5: gnome-settings-daemon-05-sticky-timeout.diff
12254N/A# date:2008-01-24 owner:dkenny type:bug bugzilla:511733
12361N/APatch6: gnome-settings-daemon-06-xft.diff
14531N/A# date:2008-01-24 owner:erwannc type:bug doo:146 bugster:6717847
14429N/APatch7: gnome-settings-daemon-07-default-dpi-and-aa.diff
14472N/A# date:2008-09-23 owner:dkenny type:branding
14472N/APatch8: gnome-settings-daemon-08-find-xrdb.diff
16972N/A# date:2009-08-07 owner:dkenny type:branding bugzilla:
20357N/APatch9: gnome-settings-daemon-09-dispswitch-keybinding.diff
18595N/A# date:2009-04-16 owner:lin type:branding bugzilla:571145 doo:13512
20357N/APatch10: gnome-settings-daemon-10-gst-mediakeys.diff
20025N/A# date:2011-02-14 owner:migi type:bug doo:14557
20357N/APatch11: gnome-settings-daemon-11-animations-uses-gconf.diff
20784N/A# date:2011-06-07 owner:yippi type:bug
20904N/APatch12: gnome-settings-daemon-12-dependencies.diff
20918N/A# date:2011-06-07 owner:yippi type:bug bugzilla:676620
20784N/APatch13: gnome-settings-daemon-13-uninstalled-pc.diff
20824N/A# date:2011-08-24 owner:yippi type:feature
20904N/APatch14: gnome-settings-daemon-14-mapfile.diff
20841N/A# date:2011-08-24 owner:yippi type:bug
20904N/APatch15: gnome-settings-daemon-15-libm.diff
20025N/A
12248N/AURL: http://www.gnome.org
12248N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12248N/ADocdir: %{_defaultdocdir}/control-center2
12248N/AAutoreqprov: on
12248N/APrereq: /sbin/ldconfig
12248N/APrereq: GConf
12248N/A
12248N/A%define libgnomeui_version 2.6.0
12248N/A%define esound_version 0.2.33
12248N/A%define gnome_desktop_version 2.6.1
12248N/A%define metacity_version 2.8.0
12248N/A%define nautilus_version 2.6.1
12248N/A%define fontilus_version 2.4.0
12248N/A%define acme_version 2.4.2
12248N/A%define desktop_file_utils_version 0.10
12248N/A%define xft_version 2.1.7
12248N/A
12248N/ABuildRequires: libgnomeui-devel >= %{libgnomeui_version}
12248N/ABuildRequires: esound-devel >= %{esound_version}
12248N/ABuildRequires: gnome-desktop-devel >= %{gnome_desktop_version}
12248N/ABuildRequires: metacity >= %{metacity_version}
12248N/ABuildRequires: nautilus-devel >= %{nautilus_version}
12248N/ABuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
12248N/ABuildRequires: automake >= 1.9
12248N/ABuildRequires: evolution-data-server-devel
12248N/ABuildRequires: gstreamer-plugins-devel
12248N/A
12248N/ARequires: gst-plugins-base
12248N/ARequires: libgnomeui >= %{libgnomeui_version}
12248N/ARequires: esound >= %{esound_version}
12248N/ARequires: gnome-desktop >= %{gnome_desktop_version}
12248N/ARequires: nautilus >= %{nautilus_version}
12248N/ARequires: evolution-data-server
12248N/A
12248N/AObsoletes: fontilus < %{fontilus_version}
12248N/AProvides: fontilus = %{fontilus_version}
12248N/AObsoletes: acme < %{acme_version}
12248N/AProvides: acme = %{acme_version}
12248N/A
12248N/A%description
12248N/AThis package contains the new control-center for the GNOME desktop.
12248N/A
12248N/A%package devel
12248N/ASummary: Development files for the GNOME Settings Daemon
12248N/AGroup: Development/Libraries/GNOME
12248N/ARequires: %name = %version-%release
12248N/A
12248N/A%description devel
12248N/AThis package contains the files need for development of GNOME control center capplets
12248N/A
12248N/A%prep
12248N/A%setup -q
12248N/A# TODO - l10n extraction from existing gnome-control-center.
12248N/A#%if %build_l10n
12248N/A#bzcat %SOURCE1 | tar xf -
12248N/A#cd po-sun; make; cd ..
12248N/A#%endif
20784N/A#%patch1 -p1
12248N/A%patch2 -p1
20904N/A#%patch3 -p1
20784N/A#%patch4 -p1
20784N/A#%patch5 -p1
12293N/A%patch6 -p1
20784N/A#%patch7 -p1
20784N/A#%patch8 -p1
20784N/A#%patch9 -p1
20784N/A#%patch10 -p1
20784N/A#%patch11 -p1
20784N/A%patch12 -p1
20784N/A%patch13 -p1
20824N/A%patch14 -p1
20824N/A%patch15 -p1
12293N/A
12263N/A# Rename dir so that #include does not have to change on gnome-control-center.
12263N/A# Combines with patch mv-src-dir.diff (see bugzilla 511820).
12330N/A##mv src gnome-settings-daemon
12248N/A
12248N/A%build
12248N/A%ifos linux
12248N/Aif [ -x /usr/bin/getconf ]; then
12248N/A CPUS=`getconf _NPROCESSORS_ONLN`
12248N/Afi
12248N/A%else
12248N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
12248N/A%endif
12248N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
12248N/A CPUS=1
12248N/Afi
12248N/A
12248N/ALC_ALL=
12248N/ALANG=
12248N/Aexport LC_ALL LANG
12248N/Agnome-doc-common
12248N/Agnome-doc-prepare --force
12248N/Alibtoolize --force
12248N/Aglib-gettextize -f
12248N/Aintltoolize --force --copy
12773N/A
12773N/A%if %build_l10n
12773N/Abash -x %SOURCE1 --enable-copyright
12773N/A%endif
12773N/A
20904N/Aaclocal-1.11 $ACLOCAL_FLAGS -I .
12248N/Aautoheader
20904N/Aautomake-1.11 -a -c -f
12248N/Aautoconf
12248N/A
12248N/ACFLAGS="$RPM_OPT_FLAGS -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/X11/share/include" \
12248N/A ./configure \
12248N/A --prefix=%{_prefix} \
12248N/A --datadir=%{_datadir} \
12248N/A --libexecdir=%{_libexecdir} \
12248N/A --sysconfdir=%{_sysconfdir} \
20904N/A --disable-packagekit \
20904N/A --disable-gudev
12248N/Amake -j $CPUS
12248N/A
12248N/A%install
12248N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
12248N/Amake DESTDIR=$RPM_BUILD_ROOT install
12248N/Aunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
12248N/A#Copy zh_HK from zh_TW
12248N/A#Fixes bug 4930405
12248N/Ainstall -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
12248N/Ainstall --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
20784N/A
12248N/A%clean
12248N/Arm -rf $RPM_BUILD_ROOT
12248N/A
12248N/A%post
12248N/A/sbin/ldconfig
12248N/Aexport GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
12248N/ASCHEMAS="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"
12248N/Afor S in $SCHEMAS; do
12248N/A gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
12248N/Adone
12248N/A
12248N/A%postun
12248N/A/sbin/ldconfig
12248N/A
12248N/A%files
12248N/A%defattr(-,root,root)
12248N/A%doc AUTHORS COPYING ChangeLog NEWS README
12248N/A%defattr (-, root, root)
12248N/A%{_prefix}/bin/*
12248N/A%{_datadir}/locale/*/LC_MESSAGES/*.mo
12248N/A%{_datadir}/pixmaps/*
12248N/A%{_datadir}/idl/*.idl
12248N/A%{_datadir}/control-center-2.0/*
12248N/A%{_sysconfdir}/gconf/schemas/*.schemas
12248N/A%{_sysconfdir}/gnome-vfs-2.0/modules/*
12248N/A%{_datadir}/gnome/vfolders/*
12248N/A%{_datadir}/gnome/cursor-fonts/*
12248N/A%{_datadir}/gnome/help/*
12248N/A%{_datadir}/omf
12248N/A%{_datadir}/applications/*
12248N/A%{_datadir}/icons/hicolor/*
12248N/A%{_datadir}/gnome-background-properties
12248N/A%{_datadir}/gnome-default-applications
12248N/A%{_libdir}/*.so.*
12248N/A%{_libdir}/bonobo/servers/*
12248N/A%{_libdir}/gnome-vfs-2.0/modules/*.so*
12248N/A%{_libdir}/nautilus/extensions-2.0/*.so
12248N/A%{_libdir}/window-manager-settings/*.so
12248N/A%{_libexecdir}/gnome-settings-daemon
12248N/A%{_mandir}/man1/*
12248N/A
12248N/A%files devel
12248N/A%{_includedir}/gnome-window-settings-2.0/*.h
12248N/A%{_libdir}/pkgconfig/*.pc
12248N/A%{_libdir}/*.so
12248N/A
12248N/A%changelog
20916N/A* Thu May 17 2012 - brian.cameron@oracle.com
20916N/A- Bump to 3.4.2.
20904N/A* Wed May 09 2012 - brian.cameron@oracle.com
20904N/A- Bump to 3.4.1.
20862N/A* Wed Oct 19 2011 - brian.cameron@oracle.com
20862N/A- Bump to 3.2.1.
20841N/A* Fri Sep 30 2011 - brian.cameron@oracle.com
20841N/A- Bump to 3.2.0.
20832N/A* Tue Sep 13 2011 - brian.cameron@oracle.com
20832N/A- Bump to 3.1.91.
20831N/A* Thu Sep 08 2011 - brian.cameron@oracle.com
20831N/A- Bump to 3.1.90.
20824N/A* Thu Aug 18 2011 - brian.cameron@oracle.com
20824N/A- Bump to 3.1.5.
20824N/A* Sat Aug 06 2011 - brian.cameron@oracle.com
20824N/A- Bump to 3.1.4.
20784N/A* Wed Jul 06 2011 - brian.cameron@oracle.com
20784N/A- Bump to 3.1.3.
20025N/A* Thu Feb 14 2011 - Michal.Pryc@Oracle.Com
20025N/A- gnome-settings-daemon-12-animations-uses-gconf.diff: added, so the gconf key
20025N/A /desktop/gnome/interface/enable_animations is also controlling animations
20025N/A in the same way as gtk-enable-animations.
19082N/A* Mon Oct 25 2010 - javier.acosta@oracle.com
19082N/A- Replace Patch1: gnome-settings-daemon-01-no-libgnomekbd.diff with Patch1:
19082N/A gnome-settings-daemon-01-disable-xkb-init-for-xsun.diff and remove gswitchit flag.
19032N/A* Wed Oct 20 2010 - brian.cameron@oracle.com
19032N/A- Bump to 2.30.2.
18685N/A* Mon Apr 26 2010 - christian.kelly@oracle.com
18685N/A- Bump to 2.30.1.
18595N/A* Wed Apr 14 2010 - brian.cameron@sun.com
18595N/A- Re-add back patch gnome-settings-daemon-11-gst-mediakeys.diff. Update
18595N/A the gvc-gstreamer-acme-vol.c file in the patch so it fixes doo bug 13512.
18544N/A* Sat Apr 3 2010 - christian.kelly@sun.com
18544N/A- Bump to 2.30.0.
18438N/A* The Mar 11 2010 - christian.kelly@sun.com
18438N/A- Bump to 2.29.92.
18303N/A* Mon Feb 15 2010 - christian.kelly@sun.com
18303N/A- Bump to 2.29.90.
18236N/A* Mon Feb 1 2010 - christian.kelly@sun.com
18236N/A- Bump to 2.29.6.
17570N/A* Tue Oct 20 2009 - dave.lin@sun.com
17570N/A- Bump to 2.28.1
17394N/A* Wed Sep 23 2009 - dave.lin@sun.com
17394N/A- Bump to 2.28.0
17299N/A* Tue Sep 08 2009 - dave.lin@sun.com
17299N/A- Bump to 2.27.92
17299N/A- Add 12-return-value.diff to fix build issue.
17212N/A* Thu Sep 03 2009 - lin.ma@sun.com
17212N/A- Bump to 2.27.91 and update patch 10, 11.
16972N/A* Fri Aug 07 2009 - darren.kenny@sun.com
16972N/A Add patch gnome-settings-daemon-11-dispswitch-keybinding.diff as part of the
16972N/A fix for bug#6846157 adding the feature to support Toggling of external
16972N/A display using XF86Display, and use of XF86ScreenSaver for screensaver, where
16972N/A that key is supported, while allowing the user to configure an alternative
16972N/A should it be desired. This depends on the use of dispswitch and the -toggle
16972N/A option.
16970N/A* Fri Aug 7 2009 - darren.kenny@sun.com
16970N/A- Bump to 2.27.5
16674N/A* Tue Jun 16 2009 - christian.kelly@sun.com
16674N/A- Bump to 2.27.3.
16384N/A* Wed Apr 16 2009 - lin.ma@sun.com
16384N/A- Readd gstreamer audo control code.
16372N/A* Wed Apr 15 2009 - dave.lin@sun.com
16372N/A- Bump to 2.26.1
16294N/A* Thu Apr 02 2009 - lin.ma@sun.com
16294N/A- Add patch 10 for fix bugzilla 6746963.
16270N/A* Mon Mar 30 2009 - chris.wang@sun.com
16270N/A- Add patch 09 to fix bugzilla 576535 notification crash on close
16159N/A* Tue Mar 17 2009 - dave.lin@sun.com
16159N/A- Bump to 2.26.0
16137N/A* Fri Mar 13 2009 - dave.lin@sun.com
16137N/A- Bump to 2.25.92
15805N/A* Tue Feb 10 2009 - matt.keenan@sun.com
15805N/A- Bump to 2.25.90
15656N/A* Tue Jan 13 2009 - matt.keenan@sun.com
15656N/A- Bump to 2.25.3
15622N/A* Thu Jan 08 2008 - jedy.wang@sun.com
15622N/A- Update patch comments for 02-sleep-action.diff.
15448N/A* Wed Dec 03 2008 - dave.lin@sun.com
15448N/A- Bump to 2.25.2
15338N/A* Fri Nov 13 2008 - jedy.wang@sun.com
15338N/A- Remove 02-logout-shortcut.diff and create 02-sleep-action.diff.
14525N/A* Fri Sep 26 2008 - brian.cameron@sun.com
14525N/A- Fix download link.
14501N/A* Thu Sep 25 2008 - matt.keenan@sun.com
14501N/A- Bump to 2.24.0 to get correct copyright info
14472N/A* Tue Sep 23 2008 - darren.kenny@sun.com
14472N/A- Add patch gnome-settings-daemon-08-find-xrdb.diff to handle issue where xrdb
14472N/A isn't on default user path - specific to Solaris so is branding patch.
14453N/A* Sun Sep 21 2008 - christian.kelly@sun.com
14453N/A- Bump to 2.23.92.
14110N/A* Tue Sep 02 2008 - christian.kelly@sun.com
14110N/A- Bump to 2.23.91.
13941N/A* Wed Aug 20 2008 - darren.kenny@sun.com
13941N/A- Attempt to fix gnome-settings-daemon-05-sticky-timeout.diff to apply.
13919N/A* Tue Aug 19 2008 - dave.lin@sun.com
13919N/A- Bump to 2.23.90
13773N/A* Tue Aug 05 2008 - damien.carbery@sun.com
13773N/A- Bump to 2.23.6.
13662N/A* Fri Jul 25 2008 - damien.carbery@sun.com
13662N/A- Bump to 2.23.5. Remove upstream patch, 07-uninstalled. Renumber
13662N/A 08-use-default-dpi to 07.
13429N/A* Tue Jun 17 2008 - damien.carbery@sun.com
13429N/A- Bump to 2.23.4. Remove upstream patch, 08-esound-prefix-branding.
13322N/A* Wed Jun 04 2008 - damien.carbery@sun.com
13322N/A- Bump to 2.23.3. Remove upstream patch, 08-gnomeinit. Renumber remainder.
13322N/A* Fri May 30 - darren.kenny@sun.com
13322N/A- Bump to 2.23.1.1.
13258N/A* Wed May 28 2008 - damien.carbery@sun.com
13258N/A- Bump to 2.22.2.
13058N/A* Fri May 16 2008 - stephen.browne@sun.com
13058N/A- remove conditional build of tx patch
12996N/A* Thu May 06 2008 - lin.ma@sun.com
12996N/A- Fix g-s-d so that it can find /usr/lib/esd.
12984N/A* Thu May 01 2008 - brian.cameron@sun.com
12984N/A- Fix g-s-d so that it will start up if the user doesn't have a writable
12984N/A $HOME directory via patch gnome-settings-daemon-08-gnomeinit.diff. This
12984N/A is needed for the new GDM rewrite, which needs to run g-s-d and does not
12984N/A have a writable $HOME directory.
12586N/A* Tue Mar 11 2008 - damien.carbery@sun.com
12586N/A- Bump to 2.22.0.
12586N/A* Mon Mar 3 2008 - damien.carbery@sun.com
12523N/A- Bump to 2.21.92.
12397N/A* Fri Feb 15 2008 - damien.carbery@sun.com
12397N/A- Add patch 07-uninstalled to correct Cflags path in the uninstalled.pc.in file. Correct path to the plugins.
12361N/A* Tue Feb 12 2008 - damien.carbery@sun.com
12361N/A- Bump to 2.21.91. Remove upstream patches 07-uninstalled and 09-mv-src-dir.
12361N/A Remove 06-relocate-plugins as the change is implemented in configure.
12322N/A* Fri Feb 01 2008 - damien.carbery@sun.com
12322N/A- Bump to 2.21.90.2.
12291N/A* Tue Jan 29 2008 - brian.cameron@sun.com
12291N/A- Bump to 2.21.90.1.
12263N/A* Thu Jan 24 2007 - damien.carbery@sun.com
12263N/A- Add patch 10-mv-src-dir to rename 'src' to 'gnome-settings-daemon' to
12263N/A simplify uninstalled building. Bugzilla 511820.
12263N/A* Thu Jan 24 2007 - darren.kenny@sun.com
12263N/A- Add patch 09-xft to fix bugzilla 511733.
12251N/A* Wed Jan 23 2007 - damien.carbery@sun.com
12251N/A- Add patch 08-uninstalled to create an uninstalled.pc.in file to permit
12251N/A building.
12248N/A* Wed Jan 23 2007 - darren.kenny@sun.com
12248N/A- Initial SPEC file for new g-s-d project.
12248N/A Extracted from control-center project.
12248N/A- Removed gnome screensaver patch which isn't needed (and was actually
12248N/A ineffective).