1 |
blino |
24817 |
Summary: GNOME Settings Daemon |
2 |
|
|
Name: gnome-settings-daemon |
3 |
|
|
Version: 2.32.1 |
4 |
blino |
24822 |
Release: %mkrel 2 |
5 |
blino |
24817 |
License: GPLv2+ |
6 |
|
|
Group: Graphical desktop/GNOME |
7 |
|
|
BuildRequires: gtk+2-devel |
8 |
|
|
BuildRequires: gnome-desktop-devel |
9 |
|
|
BuildRequires: libxklavier-devel >= 5.0 |
10 |
|
|
BuildRequires: libxxf86misc-devel |
11 |
|
|
BuildRequires: libgstreamer-plugins-base-devel |
12 |
|
|
BuildRequires: libxscrnsaver-devel |
13 |
|
|
BuildRequires: dbus-glib-devel |
14 |
|
|
BuildRequires: libgnomekbd-devel >= 2.31.2 |
15 |
|
|
BuildRequires: libnotify-devel |
16 |
|
|
BuildRequires: scrollkeeper |
17 |
|
|
BuildRequires: intltool |
18 |
|
|
BuildRequires: pulseaudio-devel |
19 |
|
|
BuildRequires: libcanberra-gtk-devel |
20 |
|
|
BuildRequires: polkit-1-devel |
21 |
|
|
BuildRequires: libnss-devel |
22 |
|
|
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%name/%{name}-%{version}.tar.bz2 |
23 |
blino |
24822 |
# (fc) don't use X server dpi by default, use 96 instead, should work better with very small screens |
24 |
blino |
24817 |
Patch3: gnome-settings-daemon-2.23.6-dpi.patch |
25 |
blino |
24822 |
# (cg) Fedora patches for touchpad support |
26 |
blino |
24817 |
Patch4: gnome-settings-daemon-2.28.0-fix-touchpad.patch |
27 |
|
|
Patch6: gnome-settings-daemon-2.27.4-touchpad-defaults.patch |
28 |
|
|
|
29 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
30 |
|
|
URL: http://www.gnome.org/ |
31 |
|
|
|
32 |
|
|
Conflicts: gnome-control-center < 2.21.90 |
33 |
|
|
Requires: libgnome2-schemas |
34 |
|
|
|
35 |
|
|
%description |
36 |
|
|
GNOME settings daemon manages the configuration of the desktop in the |
37 |
|
|
background. |
38 |
|
|
|
39 |
|
|
|
40 |
|
|
%package devel |
41 |
|
|
Summary: Include files for the GNOME settings daemon |
42 |
|
|
Group: Development/GNOME and GTK+ |
43 |
|
|
Conflicts: libgnome-window-settings-devel < 2.21.5 |
44 |
|
|
|
45 |
|
|
%description devel |
46 |
|
|
Include files for the GNOME settings daemon |
47 |
|
|
|
48 |
|
|
%prep |
49 |
|
|
%setup -q |
50 |
|
|
%patch3 -p1 -b .dpi |
51 |
|
|
%patch4 -p1 -b .touchpad-fix |
52 |
|
|
%patch6 -p1 -b .touchpad-edgescroll |
53 |
|
|
|
54 |
|
|
%build |
55 |
|
|
%configure2_5x |
56 |
|
|
%make |
57 |
|
|
|
58 |
|
|
%install |
59 |
|
|
rm -rf $RPM_BUILD_ROOT |
60 |
|
|
|
61 |
|
|
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall xmldir=%buildroot%_datadir/gnome-control-center/keybindings |
62 |
|
|
|
63 |
|
|
%{find_lang} %name-2.0 --with-gnome --all-name |
64 |
|
|
|
65 |
|
|
rm -f %buildroot%_libdir/%name-2.0/*a |
66 |
|
|
|
67 |
|
|
%clean |
68 |
|
|
rm -rf $RPM_BUILD_ROOT |
69 |
|
|
|
70 |
|
|
%pre |
71 |
|
|
if [ -d %{_libexecdir}/%name ] |
72 |
|
|
then rm -rf %{_libexecdir}/%name |
73 |
|
|
fi |
74 |
|
|
|
75 |
|
|
%post |
76 |
|
|
%define schemas apps_gnome_settings_daemon_keybindings apps_gnome_settings_daemon_housekeeping desktop_gnome_font_rendering desktop_gnome_keybindings desktop_gnome_peripherals_smartcard desktop_gnome_peripherals_touchpad gnome-settings-daemon apps_gnome_settings_daemon_xrandr |
77 |
|
|
%post_install_gconf_schemas %schemas |
78 |
|
|
%update_icon_cache hicolor |
79 |
|
|
|
80 |
|
|
%preun |
81 |
|
|
%preun_uninstall_gconf_schemas %schemas |
82 |
|
|
|
83 |
|
|
%postun |
84 |
|
|
%clean_icon_cache hicolor |
85 |
|
|
|
86 |
|
|
%files -f %{name}-2.0.lang |
87 |
|
|
%defattr(-, root, root) |
88 |
|
|
%doc AUTHORS NEWS README |
89 |
|
|
%config(noreplace) %{_sysconfdir}/xdg/autostart/gnome-settings-daemon.desktop |
90 |
|
|
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_housekeeping.schemas |
91 |
|
|
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_keybindings.schemas |
92 |
|
|
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_xrandr.schemas |
93 |
|
|
%{_sysconfdir}/gconf/schemas/desktop_gnome_font_rendering.schemas |
94 |
|
|
%{_sysconfdir}/gconf/schemas/desktop_gnome_keybindings.schemas |
95 |
|
|
%{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_smartcard.schemas |
96 |
|
|
%{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_touchpad.schemas |
97 |
|
|
%{_sysconfdir}/gconf/schemas/gnome-settings-daemon.schemas |
98 |
|
|
%_sysconfdir/dbus-1/system.d/org.gnome.SettingsDaemon.DateTimeMechanism.conf |
99 |
|
|
%_datadir/gnome-control-center/keybindings/50-accessibility.xml |
100 |
|
|
%_datadir/%name |
101 |
|
|
%_datadir/icons/hicolor/*/actions/* |
102 |
|
|
%_datadir/icons/hicolor/*/apps/* |
103 |
|
|
%{_libexecdir}/%name |
104 |
|
|
%{_libexecdir}/gsd-locate-pointer |
105 |
|
|
%{_libexecdir}/gsd-datetime-mechanism |
106 |
|
|
%dir %{_libdir}/%name-2.0 |
107 |
|
|
%{_libdir}/%name-2.0/*.so |
108 |
|
|
%{_libdir}/%name-2.0/a11y-keyboard.gnome-settings-plugin |
109 |
|
|
%{_libdir}/%name-2.0/background.gnome-settings-plugin |
110 |
|
|
%{_libdir}/%name-2.0/clipboard.gnome-settings-plugin |
111 |
|
|
%{_libdir}/%name-2.0/font.gnome-settings-plugin |
112 |
|
|
%{_libdir}/%name-2.0/housekeeping.gnome-settings-plugin |
113 |
|
|
%{_libdir}/%name-2.0/keybindings.gnome-settings-plugin |
114 |
|
|
%{_libdir}/%name-2.0/keyboard.gnome-settings-plugin |
115 |
|
|
%{_libdir}/%name-2.0/media-keys.gnome-settings-plugin |
116 |
|
|
%{_libdir}/%name-2.0/mouse.gnome-settings-plugin |
117 |
|
|
%{_libdir}/%name-2.0/smartcard.gnome-settings-plugin |
118 |
|
|
%{_libdir}/%name-2.0/sound.gnome-settings-plugin |
119 |
|
|
%{_libdir}/%name-2.0/typing-break.gnome-settings-plugin |
120 |
|
|
%{_libdir}/%name-2.0/xrandr.gnome-settings-plugin |
121 |
|
|
%{_libdir}/%name-2.0/xrdb.gnome-settings-plugin |
122 |
|
|
%{_libdir}/%name-2.0/xsettings.gnome-settings-plugin |
123 |
|
|
%_datadir/dbus-1/services/* |
124 |
|
|
%_datadir/dbus-1/system-services/* |
125 |
|
|
%_datadir/polkit-1/actions/org.gnome.settingsdaemon.datetimemechanism.policy |
126 |
|
|
|
127 |
|
|
%files devel |
128 |
|
|
%defattr(-, root, root) |
129 |
|
|
%doc ChangeLog |
130 |
|
|
%{_includedir}/* |
131 |
|
|
%{_libdir}/pkgconfig/* |
132 |
|
|
|
133 |
|
|
|
134 |
|
|
|