gnome-settings-daemon.spec revision 15656
10139N/A#
10139N/A# spec file for package gnome-settings-daemon.
10139N/A#
17185N/A# Copyright (c) 2008 Sun Microsystems, Inc.
13600N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
18644N/A# Owner: dkenny
18593N/A#
10139N/A%include l10n.inc
10139N/AName: gnome-settings-daemon
10139N/ALicense: GPL
10139N/AGroup: System/GUI/GNOME
10139N/AVersion: 2.25.3
10139N/ARelease: 1
18609N/ADistribution: Java Desktop System
17928N/AVendor: Sun Microsystems, Inc.
17928N/ASummary: The GNOME Settings Daemon
17928N/ASource: http://ftp.gnome.org/pub/GNOME/sources/gnome-settings-daemon/2.25/gnome-settings-daemon-%{version}.tar.bz2
17928N/A%if %build_l10n
17928N/ASource1: l10n-configure.sh
18609N/A%endif
10139N/A# TODO - l10n extraction from existing gnome-control-center.
18632N/A#Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2
18632N/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
18593N/APatch2: gnome-settings-daemon-02-sleep-action.diff
17953N/A# date:2004-10-19 owner:dkenny type:feature bugster:4878555
10139N/APatch3: gnome-settings-daemon-03-custom-keybinding.diff
10139N/A# date:2006-06-30 owner:stephen type:feature
18243N/APatch4: gnome-settings-daemon-04-trusted-extensions.diff
18067N/A# date:2006-08-28 owner:pwade type:bug bugster:6327546
18243N/APatch5: gnome-settings-daemon-05-sticky-timeout.diff
18243N/A# date:2008-01-24 owner:dkenny type:bug bugzilla:511733
10139N/APatch6: gnome-settings-daemon-06-xft.diff
16555N/A# date:2008-01-24 owner:erwannc type:bug doo:146 bugster:6717847
16555N/APatch7: gnome-settings-daemon-07-default-dpi-and-aa.diff
16555N/A# date:2008-09-23 owner:dkenny type:branding
16555N/APatch8: gnome-settings-daemon-08-find-xrdb.diff
16633N/A
11999N/AURL: http://www.gnome.org
16051N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10354N/ADocdir: %{_defaultdocdir}/control-center2
15191N/AAutoreqprov: on
17940N/APrereq: /sbin/ldconfig
16051N/APrereq: GConf
15191N/A
16597N/A%define libgnomeui_version 2.6.0
16051N/A%define esound_version 0.2.33
16051N/A%define gnome_desktop_version 2.6.1
15715N/A%define metacity_version 2.8.0
18251N/A%define nautilus_version 2.6.1
18251N/A%define fontilus_version 2.4.0
18251N/A%define acme_version 2.4.2
18251N/A%define desktop_file_utils_version 0.10
16845N/A%define xft_version 2.1.7
17940N/A
16845N/ABuildRequires: libgnomeui-devel >= %{libgnomeui_version}
16845N/ABuildRequires: esound-devel >= %{esound_version}
16053N/ABuildRequires: gnome-desktop-devel >= %{gnome_desktop_version}
16053N/ABuildRequires: metacity >= %{metacity_version}
16053N/ABuildRequires: nautilus-devel >= %{nautilus_version}
16053N/ABuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
16053N/ABuildRequires: automake >= 1.9
16053N/ABuildRequires: evolution-data-server-devel
16053N/ABuildRequires: gstreamer-plugins-devel
16053N/A
17339N/ARequires: gst-plugins-base
17940N/ARequires: libgnomeui >= %{libgnomeui_version}
17339N/ARequires: esound >= %{esound_version}
17339N/ARequires: gnome-desktop >= %{gnome_desktop_version}
16053N/ARequires: nautilus >= %{nautilus_version}
16053N/ARequires: evolution-data-server
16053N/A
16555N/AObsoletes: fontilus < %{fontilus_version}
16555N/AProvides: fontilus = %{fontilus_version}
16555N/AObsoletes: acme < %{acme_version}
16555N/AProvides: acme = %{acme_version}
16555N/A
16601N/A%description
16555N/AThis package contains the new control-center for the GNOME desktop.
16555N/A
17940N/A%package devel
16846N/ASummary: Development files for the GNOME Settings Daemon
16845N/AGroup: Development/Libraries/GNOME
16845N/ARequires: %name = %version-%release
17940N/A
16845N/A%description devel
16555N/AThis package contains the files need for development of GNOME control center capplets
17214N/A
17214N/A%prep
17214N/A%setup -q
17940N/A# TODO - l10n extraction from existing gnome-control-center.
17940N/A#%if %build_l10n
17940N/A#bzcat %SOURCE1 | tar xf -
17940N/A#cd po-sun; make; cd ..
18012N/A#%endif
18012N/A%patch1 -p1
18012N/A%patch2 -p1
18012N/A%patch3 -p1
18012N/A%patch4 -p1
18012N/A%patch5 -p1
18728N/A%patch6 -p1
18728N/A%patch7 -p1
18728N/A%patch8 -p1
10139N/A
10139N/A# Rename dir so that #include does not have to change on gnome-control-center.
10139N/A# Combines with patch mv-src-dir.diff (see bugzilla 511820).
10139N/A##mv src gnome-settings-daemon
10139N/A
10139N/A%build
10139N/A%ifos linux
10139N/Aif [ -x /usr/bin/getconf ]; then
10139N/A CPUS=`getconf _NPROCESSORS_ONLN`
10139N/Afi
10139N/A%else
10139N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10139N/A%endif
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
10139N/Afi
10139N/A
10139N/ALC_ALL=
10139N/ALANG=
10139N/Aexport LC_ALL LANG
10139N/Agnome-doc-common
10139N/Agnome-doc-prepare --force
10139N/Alibtoolize --force
10139N/Aglib-gettextize -f
10139N/Aintltoolize --force --copy
10139N/A
10139N/A%if %build_l10n
10139N/Abash -x %SOURCE1 --enable-copyright
10139N/A%endif
10139N/A
17953N/Aaclocal $ACLOCAL_FLAGS -I .
17953N/Aautoheader
17953N/Aautomake -a -c -f
17953N/Aautoconf
17953N/A
17953N/A%if %with_hal
17953N/Aexport ENABLE_HAL_CONFIG="--enable-hal"
10139N/A%else
17773N/Aexport ENABLE_HAL_CONFIG="--disable-hal"
10139N/A%endif
10139N/A
18251N/ACFLAGS="$RPM_OPT_FLAGS -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/X11/share/include" \
16849N/A ./configure \
16053N/A --prefix=%{_prefix} \
16053N/A --datadir=%{_datadir} \
17339N/A --libexecdir=%{_libexecdir} \
16053N/A --sysconfdir=%{_sysconfdir} \
16555N/A --disable-scrollkeeper \
16845N/A --enable-aboutme \
17940N/A --disable-gswitchit \
16555N/A $ENABLE_HAL_CONFIG
16555N/Amake -j $CPUS
16555N/A
16555N/A%install
15550N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
15550N/Amake DESTDIR=$RPM_BUILD_ROOT install
15550N/Aunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
17706N/A#Copy zh_HK from zh_TW
16555N/A#Fixes bug 4930405
17359N/Ainstall -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
18012N/Ainstall --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
18012N/Arm $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-2.0/*.a
18728N/Arm $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-2.0/*.la
18012N/A
16051N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
10139N/A/sbin/ldconfig
10139N/Aexport GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
10139N/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"
10139N/Afor S in $SCHEMAS; do
10139N/A gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
10139N/Adone
10139N/A
10139N/A%postun
10139N/A/sbin/ldconfig
10139N/A
10139N/A%files
10139N/A%defattr(-,root,root)
10139N/A%doc AUTHORS COPYING ChangeLog NEWS README
10139N/A%defattr (-, root, root)
10139N/A%{_prefix}/bin/*
10139N/A%{_datadir}/locale/*/LC_MESSAGES/*.mo
10139N/A%{_datadir}/pixmaps/*
10139N/A%{_datadir}/idl/*.idl
10139N/A%{_datadir}/control-center-2.0/*
10139N/A%{_sysconfdir}/gconf/schemas/*.schemas
15550N/A%{_sysconfdir}/gnome-vfs-2.0/modules/*
10139N/A%{_datadir}/gnome/vfolders/*
15550N/A%{_datadir}/gnome/cursor-fonts/*
15550N/A%{_datadir}/gnome/help/*
16062N/A%{_datadir}/omf
17773N/A%{_datadir}/applications/*
17773N/A%{_datadir}/icons/hicolor/*
16062N/A%{_datadir}/gnome-background-properties
10465N/A%{_datadir}/gnome-default-applications
10139N/A%{_libdir}/*.so.*
16682N/A%{_libdir}/bonobo/servers/*
16682N/A%{_libdir}/gnome-vfs-2.0/modules/*.so*
16682N/A%{_libdir}/nautilus/extensions-2.0/*.so
16682N/A%{_libdir}/window-manager-settings/*.so
10139N/A%{_libexecdir}/gnome-settings-daemon
16682N/A%{_mandir}/man1/*
16682N/A
15550N/A%files devel
15550N/A%{_includedir}/gnome-window-settings-2.0/*.h
18407N/A%{_libdir}/pkgconfig/*.pc
16555N/A%{_libdir}/*.so
16555N/A
16555N/A%changelog
16555N/A* Tue Jan 13 2009 - matt.keenan@sun.com
16555N/A- Bump to 2.25.3
16555N/A* Thu Jan 08 2008 - jedy.wang@sun.com
16555N/A- Update patch comments for 02-sleep-action.diff.
18349N/A* Wed Dec 03 2008 - dave.lin@sun.com
17940N/A- Bump to 2.25.2
10139N/A* Fri Nov 13 2008 - jedy.wang@sun.com
10139N/A- Remove 02-logout-shortcut.diff and create 02-sleep-action.diff.
10139N/A* Fri Sep 26 2008 - brian.cameron@sun.com
10139N/A- Fix download link.
10139N/A* Thu Sep 25 2008 - matt.keenan@sun.com
10139N/A- Bump to 2.24.0 to get correct copyright info
10139N/A* Tue Sep 23 2008 - darren.kenny@sun.com
10139N/A- Add patch gnome-settings-daemon-08-find-xrdb.diff to handle issue where xrdb
16555N/A isn't on default user path - specific to Solaris so is branding patch.
15550N/A* Sun Sep 21 2008 - christian.kelly@sun.com
16555N/A- Bump to 2.23.92.
16555N/A* Tue Sep 02 2008 - christian.kelly@sun.com
16555N/A- Bump to 2.23.91.
16555N/A* Wed Aug 20 2008 - darren.kenny@sun.com
16555N/A- Attempt to fix gnome-settings-daemon-05-sticky-timeout.diff to apply.
16555N/A* Tue Aug 19 2008 - dave.lin@sun.com
16555N/A- Bump to 2.23.90
16555N/A* Tue Aug 05 2008 - damien.carbery@sun.com
16555N/A- Bump to 2.23.6.
17372N/A* Fri Jul 25 2008 - damien.carbery@sun.com
17773N/A- Bump to 2.23.5. Remove upstream patch, 07-uninstalled. Renumber
17372N/A 08-use-default-dpi to 07.
10139N/A* Tue Jun 17 2008 - damien.carbery@sun.com
15550N/A- Bump to 2.23.4. Remove upstream patch, 08-esound-prefix-branding.
10139N/A* Wed Jun 04 2008 - damien.carbery@sun.com
10139N/A- Bump to 2.23.3. Remove upstream patch, 08-gnomeinit. Renumber remainder.
10139N/A* Fri May 30 - darren.kenny@sun.com
10139N/A- Bump to 2.23.1.1.
15550N/A* Wed May 28 2008 - damien.carbery@sun.com
10139N/A- Bump to 2.22.2.
10139N/A* Fri May 16 2008 - stephen.browne@sun.com
15715N/A- remove conditional build of tx patch
10139N/A* Thu May 06 2008 - lin.ma@sun.com
10139N/A- Fix g-s-d so that it can find /usr/lib/esd.
10139N/A* Thu May 01 2008 - brian.cameron@sun.com
18243N/A- Fix g-s-d so that it will start up if the user doesn't have a writable
18243N/A $HOME directory via patch gnome-settings-daemon-08-gnomeinit.diff. This
18243N/A is needed for the new GDM rewrite, which needs to run g-s-d and does not
18243N/A have a writable $HOME directory.
10139N/A* Tue Mar 11 2008 - damien.carbery@sun.com
10139N/A- Bump to 2.22.0.
10139N/A* Mon Mar 3 2008 - damien.carbery@sun.com
10139N/A- Bump to 2.21.92.
10139N/A* Fri Feb 15 2008 - damien.carbery@sun.com
10139N/A- Add patch 07-uninstalled to correct Cflags path in the uninstalled.pc.in file. Correct path to the plugins.
10550N/A* Tue Feb 12 2008 - damien.carbery@sun.com
10550N/A- Bump to 2.21.91. Remove upstream patches 07-uninstalled and 09-mv-src-dir.
10550N/A Remove 06-relocate-plugins as the change is implemented in configure.
10550N/A* Fri Feb 01 2008 - damien.carbery@sun.com
10550N/A- Bump to 2.21.90.2.
10550N/A* Tue Jan 29 2008 - brian.cameron@sun.com
10139N/A- Bump to 2.21.90.1.
10139N/A* Thu Jan 24 2007 - damien.carbery@sun.com
10139N/A- Add patch 10-mv-src-dir to rename 'src' to 'gnome-settings-daemon' to
10358N/A simplify uninstalled building. Bugzilla 511820.
18728N/A* Thu Jan 24 2007 - darren.kenny@sun.com
18728N/A- Add patch 09-xft to fix bugzilla 511733.
18609N/A* Wed Jan 23 2007 - damien.carbery@sun.com
18710N/A- Add patch 08-uninstalled to create an uninstalled.pc.in file to permit
18407N/A building.
18407N/A* Wed Jan 23 2007 - darren.kenny@sun.com
18404N/A- Initial SPEC file for new g-s-d project.
18404N/A Extracted from control-center project.
18404N/A- Removed gnome screensaver patch which isn't needed (and was actually
18376N/A ineffective).
18376N/A