author | convert-repo |
Tue, 28 Sep 2010 11:41:29 +0000 | |
changeset 20122 | 34a34bffcb68 |
parent 20111 | ed60a8cf3939 |
child 20154 | 21bfc321b6da |
permissions | -rw-r--r-- |
11506 | 1 |
# |
11509 | 2 |
# spec file for package gnome-settings-daemon. |
11506 | 3 |
# |
18247 | 4 |
# Copyright (c) 2010 Sun Microsystems, Inc. |
11506 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
17084 | 8 |
#temporarily taken from dkenny |
9 |
%define owner stephen |
|
11506 | 10 |
# |
16427 | 11 |
|
17852 | 12 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
16427 | 13 |
|
11506 | 14 |
%include l10n.inc |
15 |
Name: gnome-settings-daemon |
|
20052 | 16 |
License: GPL v2, some code uses LGPL v2 |
11506 | 17 |
Group: System/GUI/GNOME |
18248 | 18 |
Version: 2.30.1 |
11506 | 19 |
Release: 1 |
20 |
Distribution: Java Desktop System |
|
17864 | 21 |
Vendor: Gnome Community |
11506 | 22 |
Summary: The GNOME Settings Daemon |
18248 | 23 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-settings-daemon/2.30/gnome-settings-daemon-%{version}.tar.bz2 |
12031 | 24 |
%if %build_l10n |
25 |
Source1: l10n-configure.sh |
|
26 |
%endif |
|
11506 | 27 |
# TODO - l10n extraction from existing gnome-control-center. |
28 |
#Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2 |
|
29 |
# date:2006-12-07 owner:dcarbery type:bug bugzilla:383356 |
|
30 |
Patch1: gnome-settings-daemon-01-no-libgnomekbd.diff |
|
14871 | 31 |
# date:2008-11-07 owner:jedy type:bug bugster:6767860 bugzilla:170175 |
14587 | 32 |
Patch2: gnome-settings-daemon-02-sleep-action.diff |
11506 | 33 |
# date:2004-10-19 owner:dkenny type:feature bugster:4878555 |
34 |
Patch3: gnome-settings-daemon-03-custom-keybinding.diff |
|
35 |
# date:2006-06-30 owner:stephen type:feature |
|
36 |
Patch4: gnome-settings-daemon-04-trusted-extensions.diff |
|
20111
ed60a8cf3939
Update patch owned by Patrick Wade to module owner.
yippi
parents:
20052
diff
changeset
|
37 |
# date:2006-08-28 owner:stephen type:bug bugster:6327546 |
11506 | 38 |
Patch5: gnome-settings-daemon-05-sticky-timeout.diff |
11512 | 39 |
# date:2008-01-24 owner:dkenny type:bug bugzilla:511733 |
11619 | 40 |
Patch6: gnome-settings-daemon-06-xft.diff |
13789 | 41 |
# date:2008-01-24 owner:erwannc type:bug doo:146 bugster:6717847 |
13687 | 42 |
Patch7: gnome-settings-daemon-07-default-dpi-and-aa.diff |
13730 | 43 |
# date:2008-09-23 owner:dkenny type:branding |
44 |
Patch8: gnome-settings-daemon-08-find-xrdb.diff |
|
15633 | 45 |
# date:2009-04-02 owner:lin type:branding bugster:6746963 |
15621 | 46 |
Patch9: gnome-settings-daemon-09-default-keybinding.diff |
16221 | 47 |
# date:2009-08-07 owner:dkenny type:branding bugzilla: |
17569 | 48 |
Patch10: gnome-settings-daemon-10-dispswitch-keybinding.diff |
17844 | 49 |
# date:2009-04-16 owner:lin type:branding bugzilla:571145 doo:13512 |
50 |
Patch11: gnome-settings-daemon-11-gst-mediakeys.diff |
|
11506 | 51 |
URL: http://www.gnome.org |
52 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
53 |
Docdir: %{_defaultdocdir}/control-center2 |
|
54 |
Autoreqprov: on |
|
55 |
Prereq: /sbin/ldconfig |
|
56 |
Prereq: GConf |
|
57 |
||
58 |
%define libgnomeui_version 2.6.0 |
|
59 |
%define esound_version 0.2.33 |
|
60 |
%define gnome_desktop_version 2.6.1 |
|
61 |
%define metacity_version 2.8.0 |
|
62 |
%define nautilus_version 2.6.1 |
|
63 |
%define fontilus_version 2.4.0 |
|
64 |
%define acme_version 2.4.2 |
|
65 |
%define desktop_file_utils_version 0.10 |
|
66 |
%define xft_version 2.1.7 |
|
67 |
||
68 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
69 |
BuildRequires: esound-devel >= %{esound_version} |
|
70 |
BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} |
|
71 |
BuildRequires: metacity >= %{metacity_version} |
|
72 |
BuildRequires: nautilus-devel >= %{nautilus_version} |
|
73 |
BuildRequires: desktop-file-utils >= %{desktop_file_utils_version} |
|
74 |
BuildRequires: automake >= 1.9 |
|
75 |
BuildRequires: evolution-data-server-devel |
|
76 |
BuildRequires: gstreamer-plugins-devel |
|
77 |
||
78 |
Requires: gst-plugins-base |
|
79 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
80 |
Requires: esound >= %{esound_version} |
|
81 |
Requires: gnome-desktop >= %{gnome_desktop_version} |
|
82 |
Requires: nautilus >= %{nautilus_version} |
|
83 |
Requires: evolution-data-server |
|
84 |
||
85 |
Obsoletes: fontilus < %{fontilus_version} |
|
86 |
Provides: fontilus = %{fontilus_version} |
|
87 |
Obsoletes: acme < %{acme_version} |
|
88 |
Provides: acme = %{acme_version} |
|
89 |
||
90 |
%description |
|
91 |
This package contains the new control-center for the GNOME desktop. |
|
92 |
||
93 |
%package devel |
|
94 |
Summary: Development files for the GNOME Settings Daemon |
|
95 |
Group: Development/Libraries/GNOME |
|
96 |
Requires: %name = %version-%release |
|
97 |
||
98 |
%description devel |
|
99 |
This package contains the files need for development of GNOME control center capplets |
|
100 |
||
101 |
%prep |
|
102 |
%setup -q |
|
103 |
# TODO - l10n extraction from existing gnome-control-center. |
|
104 |
#%if %build_l10n |
|
105 |
#bzcat %SOURCE1 | tar xf - |
|
106 |
#cd po-sun; make; cd .. |
|
107 |
#%endif |
|
108 |
%patch1 -p1 |
|
109 |
%patch2 -p1 |
|
110 |
%patch3 -p1 |
|
111 |
%patch4 -p1 |
|
13199 | 112 |
%patch5 -p1 |
11551 | 113 |
%patch6 -p1 |
11655 | 114 |
%patch7 -p1 |
13730 | 115 |
%patch8 -p1 |
15519 | 116 |
%patch9 -p1 |
15633 | 117 |
%patch10 -p1 |
17845 | 118 |
%patch11 -p1 |
11551 | 119 |
|
11521 | 120 |
# Rename dir so that #include does not have to change on gnome-control-center. |
121 |
# Combines with patch mv-src-dir.diff (see bugzilla 511820). |
|
11588 | 122 |
##mv src gnome-settings-daemon |
11506 | 123 |
|
124 |
%build |
|
125 |
%ifos linux |
|
126 |
if [ -x /usr/bin/getconf ]; then |
|
127 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
128 |
fi |
|
129 |
%else |
|
130 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
131 |
%endif |
|
132 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
133 |
CPUS=1 |
|
134 |
fi |
|
135 |
||
136 |
LC_ALL= |
|
137 |
LANG= |
|
138 |
export LC_ALL LANG |
|
139 |
gnome-doc-common |
|
140 |
gnome-doc-prepare --force |
|
141 |
libtoolize --force |
|
142 |
glib-gettextize -f |
|
143 |
intltoolize --force --copy |
|
12031 | 144 |
|
145 |
%if %build_l10n |
|
146 |
bash -x %SOURCE1 --enable-copyright |
|
147 |
%endif |
|
148 |
||
11506 | 149 |
aclocal $ACLOCAL_FLAGS -I . |
150 |
autoheader |
|
151 |
automake -a -c -f |
|
152 |
autoconf |
|
153 |
||
154 |
%if %with_hal |
|
155 |
export ENABLE_HAL_CONFIG="--enable-hal" |
|
156 |
%else |
|
157 |
export ENABLE_HAL_CONFIG="--disable-hal" |
|
158 |
%endif |
|
159 |
||
160 |
CFLAGS="$RPM_OPT_FLAGS -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/X11/share/include" \ |
|
161 |
./configure \ |
|
162 |
--prefix=%{_prefix} \ |
|
163 |
--datadir=%{_datadir} \ |
|
164 |
--libexecdir=%{_libexecdir} \ |
|
165 |
--sysconfdir=%{_sysconfdir} \ |
|
166 |
--disable-scrollkeeper \ |
|
167 |
--enable-aboutme \ |
|
168 |
--disable-gswitchit \ |
|
15718 | 169 |
--disable-pulse \ |
170 |
--enable-gstreamer \ |
|
11506 | 171 |
$ENABLE_HAL_CONFIG |
172 |
make -j $CPUS |
|
173 |
||
174 |
%install |
|
175 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
176 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
177 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
178 |
#Copy zh_HK from zh_TW |
|
179 |
#Fixes bug 4930405 |
|
180 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
|
181 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
11655 | 182 |
rm $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-2.0/*.a |
183 |
rm $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-2.0/*.la |
|
11506 | 184 |
|
185 |
%clean |
|
186 |
rm -rf $RPM_BUILD_ROOT |
|
187 |
||
188 |
%post |
|
189 |
/sbin/ldconfig |
|
190 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
191 |
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" |
|
192 |
for S in $SCHEMAS; do |
|
193 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
194 |
done |
|
195 |
||
196 |
%postun |
|
197 |
/sbin/ldconfig |
|
198 |
||
199 |
%files |
|
200 |
%defattr(-,root,root) |
|
201 |
%doc AUTHORS COPYING ChangeLog NEWS README |
|
202 |
%defattr (-, root, root) |
|
203 |
%{_prefix}/bin/* |
|
204 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
205 |
%{_datadir}/pixmaps/* |
|
206 |
%{_datadir}/idl/*.idl |
|
207 |
%{_datadir}/control-center-2.0/* |
|
208 |
%{_sysconfdir}/gconf/schemas/*.schemas |
|
209 |
%{_sysconfdir}/gnome-vfs-2.0/modules/* |
|
210 |
%{_datadir}/gnome/vfolders/* |
|
211 |
%{_datadir}/gnome/cursor-fonts/* |
|
212 |
%{_datadir}/gnome/help/* |
|
213 |
%{_datadir}/omf |
|
214 |
%{_datadir}/applications/* |
|
215 |
%{_datadir}/icons/hicolor/* |
|
216 |
%{_datadir}/gnome-background-properties |
|
217 |
%{_datadir}/gnome-default-applications |
|
218 |
%{_libdir}/*.so.* |
|
219 |
%{_libdir}/bonobo/servers/* |
|
220 |
%{_libdir}/gnome-vfs-2.0/modules/*.so* |
|
221 |
%{_libdir}/nautilus/extensions-2.0/*.so |
|
222 |
%{_libdir}/window-manager-settings/*.so |
|
223 |
%{_libexecdir}/gnome-settings-daemon |
|
224 |
%{_mandir}/man1/* |
|
225 |
||
226 |
%files devel |
|
227 |
%{_includedir}/gnome-window-settings-2.0/*.h |
|
228 |
%{_libdir}/pkgconfig/*.pc |
|
229 |
%{_libdir}/*.so |
|
230 |
||
231 |
%changelog |
|
18247 | 232 |
* Fri Jul 16 2010 - [email protected] |
18248 | 233 |
- Bump to 2.31.5.1, then revert to 2.30.1 since it did not build cleanly. |
17934 | 234 |
* Mon Apr 26 2010 - [email protected] |
235 |
- Bump to 2.30.1. |
|
17844 | 236 |
* Wed Apr 14 2010 - [email protected] |
237 |
- Re-add back patch gnome-settings-daemon-11-gst-mediakeys.diff. Update |
|
238 |
the gvc-gstreamer-acme-vol.c file in the patch so it fixes doo bug 13512. |
|
17793 | 239 |
* Sat Apr 3 2010 - [email protected] |
240 |
- Bump to 2.30.0. |
|
17687 | 241 |
* The Mar 11 2010 - [email protected] |
242 |
- Bump to 2.29.92. |
|
17552 | 243 |
* Mon Feb 15 2010 - [email protected] |
244 |
- Bump to 2.29.90. |
|
17485 | 245 |
* Mon Feb 1 2010 - [email protected] |
246 |
- Bump to 2.29.6. |
|
16819 | 247 |
* Tue Oct 20 2009 - [email protected] |
248 |
- Bump to 2.28.1 |
|
16643 | 249 |
* Wed Sep 23 2009 - [email protected] |
250 |
- Bump to 2.28.0 |
|
16548 | 251 |
* Tue Sep 08 2009 - [email protected] |
252 |
- Bump to 2.27.92 |
|
253 |
- Add 12-return-value.diff to fix build issue. |
|
16461 | 254 |
* Thu Sep 03 2009 - [email protected] |
255 |
- Bump to 2.27.91 and update patch 10, 11. |
|
16221 | 256 |
* Fri Aug 07 2009 - [email protected] |
257 |
Add patch gnome-settings-daemon-11-dispswitch-keybinding.diff as part of the |
|
258 |
fix for bug#6846157 adding the feature to support Toggling of external |
|
259 |
display using XF86Display, and use of XF86ScreenSaver for screensaver, where |
|
260 |
that key is supported, while allowing the user to configure an alternative |
|
261 |
should it be desired. This depends on the use of dispswitch and the -toggle |
|
262 |
option. |
|
16219 | 263 |
* Fri Aug 7 2009 - [email protected] |
264 |
- Bump to 2.27.5 |
|
15923 | 265 |
* Tue Jun 16 2009 - [email protected] |
266 |
- Bump to 2.27.3. |
|
15633 | 267 |
* Wed Apr 16 2009 - [email protected] |
268 |
- Readd gstreamer audo control code. |
|
15621 | 269 |
* Wed Apr 15 2009 - [email protected] |
270 |
- Bump to 2.26.1 |
|
15543 | 271 |
* Thu Apr 02 2009 - [email protected] |
272 |
- Add patch 10 for fix bugzilla 6746963. |
|
15519 | 273 |
* Mon Mar 30 2009 - [email protected] |
274 |
- Add patch 09 to fix bugzilla 576535 notification crash on close |
|
15408 | 275 |
* Tue Mar 17 2009 - [email protected] |
276 |
- Bump to 2.26.0 |
|
15386
e8877e71c767
* base-specs/gnome-icon-theme.spec: Bump to 2.25.92.
davelam
parents:
15054
diff
changeset
|
277 |
* Fri Mar 13 2009 - [email protected] |
e8877e71c767
* base-specs/gnome-icon-theme.spec: Bump to 2.25.92.
davelam
parents:
15054
diff
changeset
|
278 |
- Bump to 2.25.92 |
15054
240f8afbe6c8
* base-specs/control-center.spec : Bump to 2.25.90
mattman
parents:
14905
diff
changeset
|
279 |
* Tue Feb 10 2009 - [email protected] |
240f8afbe6c8
* base-specs/control-center.spec : Bump to 2.25.90
mattman
parents:
14905
diff
changeset
|
280 |
- Bump to 2.25.90 |
14905 | 281 |
* Tue Jan 13 2009 - [email protected] |
282 |
- Bump to 2.25.3 |
|
14871 | 283 |
* Thu Jan 08 2008 - [email protected] |
284 |
- Update patch comments for 02-sleep-action.diff. |
|
14697 | 285 |
* Wed Dec 03 2008 - [email protected] |
286 |
- Bump to 2.25.2 |
|
14587 | 287 |
* Fri Nov 13 2008 - [email protected] |
288 |
- Remove 02-logout-shortcut.diff and create 02-sleep-action.diff. |
|
13783 | 289 |
* Fri Sep 26 2008 - [email protected] |
290 |
- Fix download link. |
|
13759
39fefc905669
* SUNWgnome-desktop-prefs.spec: Add %doc to %files
mattman
parents:
13730
diff
changeset
|
291 |
* Thu Sep 25 2008 - [email protected] |
39fefc905669
* SUNWgnome-desktop-prefs.spec: Add %doc to %files
mattman
parents:
13730
diff
changeset
|
292 |
- Bump to 2.24.0 to get correct copyright info |
13730 | 293 |
* Tue Sep 23 2008 - [email protected] |
294 |
- Add patch gnome-settings-daemon-08-find-xrdb.diff to handle issue where xrdb |
|
295 |
isn't on default user path - specific to Solaris so is branding patch. |
|
13711 | 296 |
* Sun Sep 21 2008 - [email protected] |
297 |
- Bump to 2.23.92. |
|
13368 | 298 |
* Tue Sep 02 2008 - [email protected] |
299 |
- Bump to 2.23.91. |
|
13199 | 300 |
* Wed Aug 20 2008 - [email protected] |
301 |
- Attempt to fix gnome-settings-daemon-05-sticky-timeout.diff to apply. |
|
13177 | 302 |
* Tue Aug 19 2008 - [email protected] |
303 |
- Bump to 2.23.90 |
|
13031 | 304 |
* Tue Aug 05 2008 - [email protected] |
305 |
- Bump to 2.23.6. |
|
12920 | 306 |
* Fri Jul 25 2008 - [email protected] |
307 |
- Bump to 2.23.5. Remove upstream patch, 07-uninstalled. Renumber |
|
308 |
08-use-default-dpi to 07. |
|
12687 | 309 |
* Tue Jun 17 2008 - [email protected] |
310 |
- Bump to 2.23.4. Remove upstream patch, 08-esound-prefix-branding. |
|
12580 | 311 |
* Wed Jun 04 2008 - [email protected] |
312 |
- Bump to 2.23.3. Remove upstream patch, 08-gnomeinit. Renumber remainder. |
|
313 |
* Fri May 30 - [email protected] |
|
314 |
- Bump to 2.23.1.1. |
|
12516 | 315 |
* Wed May 28 2008 - [email protected] |
316 |
- Bump to 2.22.2. |
|
12316 | 317 |
* Fri May 16 2008 - [email protected] |
318 |
- remove conditional build of tx patch |
|
12254 | 319 |
* Thu May 06 2008 - [email protected] |
320 |
- Fix g-s-d so that it can find /usr/lib/esd. |
|
12242 | 321 |
* Thu May 01 2008 - [email protected] |
322 |
- Fix g-s-d so that it will start up if the user doesn't have a writable |
|
323 |
$HOME directory via patch gnome-settings-daemon-08-gnomeinit.diff. This |
|
324 |
is needed for the new GDM rewrite, which needs to run g-s-d and does not |
|
325 |
have a writable $HOME directory. |
|
11844 | 326 |
* Tue Mar 11 2008 - [email protected] |
327 |
- Bump to 2.22.0. |
|
328 |
* Mon Mar 3 2008 - [email protected] |
|
11781 | 329 |
- Bump to 2.21.92. |
11655 | 330 |
* Fri Feb 15 2008 - [email protected] |
331 |
- Add patch 07-uninstalled to correct Cflags path in the uninstalled.pc.in file. Correct path to the plugins. |
|
11619 | 332 |
* Tue Feb 12 2008 - [email protected] |
333 |
- Bump to 2.21.91. Remove upstream patches 07-uninstalled and 09-mv-src-dir. |
|
334 |
Remove 06-relocate-plugins as the change is implemented in configure. |
|
11580 | 335 |
* Fri Feb 01 2008 - [email protected] |
336 |
- Bump to 2.21.90.2. |
|
11549 | 337 |
* Tue Jan 29 2008 - [email protected] |
338 |
- Bump to 2.21.90.1. |
|
11521 | 339 |
* Thu Jan 24 2007 - [email protected] |
340 |
- Add patch 10-mv-src-dir to rename 'src' to 'gnome-settings-daemon' to |
|
341 |
simplify uninstalled building. Bugzilla 511820. |
|
342 |
* Thu Jan 24 2007 - [email protected] |
|
343 |
- Add patch 09-xft to fix bugzilla 511733. |
|
11509 | 344 |
* Wed Jan 23 2007 - [email protected] |
345 |
- Add patch 08-uninstalled to create an uninstalled.pc.in file to permit |
|
346 |
building. |
|
11506 | 347 |
* Wed Jan 23 2007 - [email protected] |
348 |
- Initial SPEC file for new g-s-d project. |
|
349 |
Extracted from control-center project. |
|
350 |
- Removed gnome screensaver patch which isn't needed (and was actually |
|
351 |
ineffective). |