]>
Commit | Line | Data |
---|---|---|
bbeef7c2 PZ |
1 | Summary: GNOME Control Center |
2 | Summary(es.UTF-8): El centro de controle del GNOME | |
3 | Summary(pl.UTF-8): Centrum Kontroli GNOME | |
4 | Summary(pt_BR.UTF-8): O Centro de Controle do GNOME | |
5 | Summary(ru.UTF-8): Центр управления GNOME | |
6 | Summary(uk.UTF-8): Центр керування GNOME | |
7 | Name: gnome-control-center | |
b3089aee | 8 | Version: 2.20.0 |
e8e25f1b | 9 | Release: 1 |
bbeef7c2 PZ |
10 | Epoch: 1 |
11 | License: GPL v2+ | |
12 | Group: X11/Applications | |
b3089aee PZ |
13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/2.20/%{name}-%{version}.tar.bz2 |
14 | # Source0-md5: a3d5f41cd9e30e8f777c5ae43070557b | |
bbeef7c2 PZ |
15 | Patch0: %{name}-randr.patch |
16 | Patch1: %{name}-wm_properties-dir.patch | |
17 | Patch3: %{name}-default_apps.patch | |
18 | Patch4: %{name}-capplet.patch | |
19 | Patch5: %{name}-Makefile.patch | |
20 | URL: http://www.gnome.org/ | |
d9b14bad | 21 | BuildRequires: GConf2-devel >= 2.19.1 |
bbeef7c2 PZ |
22 | BuildRequires: alsa-lib-devel >= 1.0.12 |
23 | BuildRequires: audiofile >= 1:0.2.6 | |
24 | BuildRequires: autoconf | |
25 | BuildRequires: automake >= 1:1.9 | |
26 | BuildRequires: bison | |
27 | BuildRequires: dbus-glib-devel >= 0.73 | |
28 | BuildRequires: esound-devel | |
d9b14bad | 29 | BuildRequires: evolution-data-server-devel >= 1.11.91 |
bbeef7c2 PZ |
30 | BuildRequires: flex |
31 | BuildRequires: gettext-devel | |
32 | BuildRequires: gnome-common >= 2.18.0 | |
d9b14bad MB |
33 | BuildRequires: gnome-desktop-devel >= 2.19.90 |
34 | BuildRequires: gnome-doc-utils >= 0.11.2 | |
35 | BuildRequires: gnome-menus-devel >= 2.19.90 | |
36 | BuildRequires: gnome-panel-devel >= 2.19.6 | |
37 | BuildRequires: gnome-vfs2-devel >= 2.19.91 | |
bbeef7c2 PZ |
38 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.10 |
39 | BuildRequires: gtk+2-devel >= 2:2.11.6 | |
d9b14bad MB |
40 | BuildRequires: intltool >= 0.36.1 |
41 | BuildRequires: libglade2-devel >= 1:2.6.2 | |
b3089aee | 42 | BuildRequires: libgnomekbd-devel >= 2.20.0 |
d9b14bad MB |
43 | BuildRequires: libgnomeui-devel >= 2.19.1 |
44 | BuildRequires: librsvg-devel >= 2.18.1 | |
bbeef7c2 | 45 | BuildRequires: libtool |
d9b14bad MB |
46 | BuildRequires: libxml2-devel >= 1:2.6.29 |
47 | BuildRequires: metacity-devel >= 2:2.19.55 | |
48 | BuildRequires: nautilus-devel >= 2.19.91 | |
bbeef7c2 PZ |
49 | BuildRequires: pkgconfig |
50 | BuildRequires: rpmbuild(macros) >= 1.311 | |
51 | BuildRequires: scrollkeeper | |
52 | BuildRequires: xorg-lib-libXxf86misc-devel | |
53 | BuildRequires: xorg-lib-libxkbfile-devel | |
54 | Requires(post,postun): desktop-file-utils | |
55 | Requires(post,postun): gtk+2 | |
56 | Requires(post,postun): scrollkeeper | |
57 | Requires(post,postun): shared-mime-info | |
58 | Requires(post,preun): GConf2 | |
59 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
60 | Requires: desktop-file-utils | |
d9b14bad | 61 | Requires: gnome-vfs2 >= 2.19.91 |
bbeef7c2 PZ |
62 | Requires: gstreamer-audio-effects-base >= 0.10.10 |
63 | Provides: control-center = %{epoch}:%{version}-%{release} | |
64 | Obsoletes: acme | |
65 | Obsoletes: control-center | |
66 | Obsoletes: fontilus | |
67 | Obsoletes: gnome | |
68 | Obsoletes: themus | |
69 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
70 | ||
71 | %description | |
72 | A Configuration tool for easily setting up your GNOME environment. | |
73 | ||
74 | %description -l es.UTF-8 | |
75 | El control-center es una herramienta para una configuración facilitada | |
76 | el entorno GNOME. | |
77 | ||
78 | %description -l pl.UTF-8 | |
79 | Narzędzie do łatwej konfiguracji środowiska GNOME. | |
80 | ||
81 | %description -l pt_BR.UTF-8 | |
82 | O Control Center é uma ferramenta para facilmente configurar seu | |
83 | ambiente GNOME. | |
84 | ||
85 | %description -l ru.UTF-8 | |
86 | Пакет Control Center содержит утилиты, позволяющие настраивать среду | |
87 | GNOME вашей системы (такие вещи как фон рабочего стола и темы, | |
88 | программа сохранения экрана, оконный менеджер, системные звуки, | |
89 | поведение мыши и др.) | |
90 | ||
91 | Этот пакет нужен, если вы устанавливаете среду GNOME. | |
92 | ||
93 | %description -l uk.UTF-8 | |
94 | Пакет Control Center містить утиліти, які дозволяють настроювати | |
95 | середовище GNOME вашої системи (такі речі як фон робочого столу та | |
96 | теми, програма збереження екрану, віконний менеджер, системні звуки, | |
97 | поведінка миші та ін.) | |
98 | ||
99 | Цей пакет потрібний, якщо ви встановлюєте середовище GNOME. | |
100 | ||
101 | %package libs | |
102 | Summary: GNOME Control Center gnome-window-settings library | |
103 | Summary(pl.UTF-8): Biblioteka Control Center gnome-window-settings | |
104 | Group: Development/Libraries | |
d9b14bad | 105 | Requires: libgnomeui >= 2.19.1 |
567fe714 | 106 | Provides: control-center-libs = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
107 | Obsoletes: control-center-libs |
108 | ||
109 | %description libs | |
110 | This package contains gnome-window-settings library. | |
111 | ||
112 | %description libs -l pl.UTF-8 | |
113 | Pakiet ten zawiera bibliotekę gnome-window-settings. | |
114 | ||
115 | %package devel | |
116 | Summary: GNOME Control Center header files | |
117 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek GNOME Control Center | |
118 | Group: X11/Development/Libraries | |
119 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
120 | Requires: dbus-glib-devel >= 0.73 | |
121 | Requires: fam-devel | |
d9b14bad MB |
122 | Requires: gnome-desktop-devel >= 2.19.90 |
123 | Requires: gnome-menus-devel >= 2.19.90 | |
124 | Requires: gtk+2-devel >= 2:2.11.6 | |
125 | Requires: libgnomeui-devel >= 2.19.1 | |
126 | Requires: librsvg-devel >= 2.18.1 | |
567fe714 | 127 | Provides: control-center-devel = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
128 | Obsoletes: control-center-devel |
129 | ||
130 | %description devel | |
131 | GNOME Control-Center header files. | |
132 | ||
133 | %description devel -l pl.UTF-8 | |
134 | Pliki nagłówkowe bibliotek GNOME Control Center. | |
135 | ||
136 | %package static | |
137 | Summary: GNOME Control Center static libraries | |
138 | Summary(pl.UTF-8): Statyczne biblioteki GNOME Control Center | |
139 | Group: X11/Development/Libraries | |
140 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
567fe714 | 141 | Provides: control-center-static = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
142 | Obsoletes: control-center-static |
143 | ||
144 | %description static | |
145 | GNOME Control Center static libraries. | |
146 | ||
147 | %description static -l pl.UTF-8 | |
148 | Statyczne biblioteki GNOME Control Center. | |
149 | ||
150 | %prep | |
151 | %setup -q | |
152 | %patch0 -p1 | |
153 | %patch1 -p1 | |
154 | %patch3 -p1 | |
155 | %patch4 -p1 | |
156 | %patch5 -p1 | |
157 | ||
158 | %build | |
159 | %{__gnome_doc_prepare} | |
160 | %{__gnome_doc_common} | |
161 | %{__glib_gettextize} | |
162 | %{__intltoolize} | |
163 | %{__libtoolize} | |
164 | %{__aclocal} | |
165 | %{__autoheader} | |
166 | %{__autoconf} | |
167 | %{__automake} | |
168 | %configure \ | |
169 | --disable-schemas-install \ | |
170 | --disable-update-mimedb \ | |
171 | --enable-gstreamer=0.10 \ | |
172 | --enable-aboutme \ | |
173 | X_EXTRA_LIBS="-lXext" | |
174 | %{__make} | |
175 | ||
176 | %install | |
177 | rm -rf $RPM_BUILD_ROOT | |
178 | ||
179 | %{__make} install \ | |
180 | DESTDIR=$RPM_BUILD_ROOT | |
181 | ||
182 | # no static modules - shut up check-files | |
183 | rm -f $RPM_BUILD_ROOT%{_libdir}/window-manager-settings/*.{a,la} | |
184 | rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions*/*.{a,la} | |
185 | rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.{a,la} | |
186 | ||
187 | %find_lang %{name} --with-gnome --all-name | |
188 | ||
189 | %clean | |
190 | rm -rf $RPM_BUILD_ROOT | |
191 | ||
192 | %post | |
193 | %gconf_schema_install apps_gnome_settings_daemon_default_editor.schemas | |
194 | %gconf_schema_install apps_gnome_settings_daemon_keybindings.schemas | |
195 | %gconf_schema_install apps_gnome_settings_daemon_screensaver.schemas | |
196 | %gconf_schema_install control-center.schemas | |
197 | %gconf_schema_install desktop_gnome_font_rendering.schemas | |
198 | %gconf_schema_install fontilus.schemas | |
199 | %gconf_schema_install themus.schemas | |
200 | %scrollkeeper_update_post | |
201 | %update_mime_database | |
202 | %update_desktop_database_post | |
203 | %update_icon_cache hicolor | |
204 | ||
205 | %preun | |
206 | %gconf_schema_uninstall apps_gnome_settings_daemon_default_editor.schemas | |
207 | %gconf_schema_uninstall apps_gnome_settings_daemon_keybindings.schemas | |
208 | %gconf_schema_uninstall apps_gnome_settings_daemon_screensaver.schemas | |
209 | %gconf_schema_uninstall control-center.schemas | |
210 | %gconf_schema_uninstall desktop_gnome_font_rendering.schemas | |
211 | %gconf_schema_uninstall fontilus.schemas | |
212 | %gconf_schema_uninstall themus.schemas | |
213 | ||
214 | %postun | |
215 | %scrollkeeper_update_postun | |
216 | %update_mime_database | |
217 | %update_desktop_database_postun | |
218 | %update_icon_cache hicolor | |
219 | ||
220 | %post libs -p /sbin/ldconfig | |
221 | %postun libs -p /sbin/ldconfig | |
222 | ||
223 | %files -f %{name}.lang | |
224 | %defattr(644,root,root,755) | |
225 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
226 | %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas | |
227 | %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_keybindings.schemas | |
228 | %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_screensaver.schemas | |
229 | %{_sysconfdir}/gconf/schemas/control-center.schemas | |
230 | %{_sysconfdir}/gconf/schemas/desktop_gnome_font_rendering.schemas | |
231 | %{_sysconfdir}/gconf/schemas/fontilus.schemas | |
232 | %{_sysconfdir}/gconf/schemas/themus.schemas | |
233 | %{_sysconfdir}/gnome-vfs-2.0/modules/* | |
234 | %{_sysconfdir}/xdg/menus/gnomecc.menu | |
235 | %attr(755,root,root) %{_bindir}/* | |
236 | %attr(755,root,root) %{_libdir}/gnome-settings-daemon | |
237 | %attr(755,root,root) %{_libdir}/nautilus/extensions*/*.so | |
238 | %attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/lib*.so | |
239 | %attr(755,root,root) %{_libdir}/window-manager-settings/*.so | |
240 | %dir %{_libdir}/window-manager-settings | |
241 | %{_datadir}/gnome-control-center | |
242 | %{_datadir}/dbus-1/services/*.service | |
243 | %{_datadir}/desktop-directories/*.directory | |
244 | %{_datadir}/gnome/cursor-fonts | |
245 | %{_datadir}/gnome/autostart/gnome-at-session.desktop | |
246 | %{_datadir}/mime/packages/gnome-theme-package.xml | |
247 | %{_iconsdir}/hicolor/*/*/*.png | |
248 | %{_iconsdir}/hicolor/*/*/*.svg | |
bbeef7c2 | 249 | %{_desktopdir}/*.desktop |
e75b433f MB |
250 | %dir %{_omf_dest_dir}/control-center |
251 | %{_omf_dest_dir}/control-center/control-center-C.omf | |
252 | %lang(ca) %{_omf_dest_dir}/control-center/control-center-ca.omf | |
253 | %lang(en_GB) %{_omf_dest_dir}/control-center/control-center-en_GB.omf | |
254 | %lang(es) %{_omf_dest_dir}/control-center/control-center-es.omf | |
255 | %lang(fr) %{_omf_dest_dir}/control-center/control-center-fr.omf | |
256 | %lang(ja) %{_omf_dest_dir}/control-center/control-center-ja.omf | |
257 | %lang(oc) %{_omf_dest_dir}/control-center/control-center-oc.omf | |
258 | %lang(pa) %{_omf_dest_dir}/control-center/control-center-pa.omf | |
259 | %lang(pt_BR) %{_omf_dest_dir}/control-center/control-center-pt_BR.omf | |
260 | %lang(ru) %{_omf_dest_dir}/control-center/control-center-ru.omf | |
261 | %lang(sv) %{_omf_dest_dir}/control-center/control-center-sv.omf | |
262 | %lang(uk) %{_omf_dest_dir}/control-center/control-center-uk.omf | |
263 | %lang(vi) %{_omf_dest_dir}/control-center/control-center-vi.omf | |
264 | %lang(zh_CN) %{_omf_dest_dir}/control-center/control-center-zh_CN.omf | |
bbeef7c2 PZ |
265 | |
266 | %files libs | |
267 | %defattr(644,root,root,755) | |
268 | %attr(755,root,root) %{_libdir}/libgnome-window-settings.so.*.*.* | |
269 | ||
270 | %files devel | |
271 | %defattr(644,root,root,755) | |
272 | %attr(755,root,root) %{_libdir}/libgnome-window-settings.so | |
273 | %{_libdir}/libgnome-window-settings.la | |
274 | %{_includedir}/gnome-settings-daemon-2.0 | |
275 | %{_includedir}/gnome-window-settings-2.0 | |
276 | %{_pkgconfigdir}/gnome-settings-daemon.pc | |
277 | %{_pkgconfigdir}/gnome-window-settings-2.0.pc | |
278 | %{_datadir}/pkgconfig/gnome-keybindings.pc | |
279 | ||
280 | %files static | |
281 | %defattr(644,root,root,755) | |
282 | %{_libdir}/libgnome-window-settings.a |