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