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
12 Group: X11/Applications
13 Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/3.0/%{name}-%{version}.tar.bz2
14 # Source0-md5: 5b5601fbae8be38a313a169b0fb4d9bf
15 # PLD-specific patches
16 Patch0: system-locale-archive-path.patch
17 Patch1: configure-gettext.patch
18 URL: http://www.gnome.org/
19 BuildRequires: GConf2-devel >= 2.26.0
20 BuildRequires: NetworkManager-devel >= 0.8.996
21 BuildRequires: autoconf
22 BuildRequires: automake >= 1:1.10
23 BuildRequires: cheese-devel >= 3.0.1
24 BuildRequires: cups-devel >= 1.4
25 BuildRequires: dbus-glib-devel >= 0.74
26 BuildRequires: docbook-dtd412-xml
27 BuildRequires: gdk-pixbuf2-devel >= 2.23.0
28 BuildRequires: gettext-devel >= 0.17
29 BuildRequires: glib2-devel >= 1:2.28.0
30 BuildRequires: gnome-common >= 2.24.0
31 BuildRequires: gnome-desktop-devel >= 3.0.0
32 BuildRequires: gnome-doc-utils >= 0.12.1
33 BuildRequires: gnome-menus-devel >= 3.0.0
34 BuildRequires: gnome-settings-daemon-devel >= 1:3.0.0
35 BuildRequires: gsettings-desktop-schemas-devel >= 3.0.0
36 BuildRequires: gstreamer-devel
37 BuildRequires: gtk+3-devel >= 3.0.2
38 BuildRequires: gtk-doc >= 1.9
39 BuildRequires: intltool >= 0.40.1
40 BuildRequires: iso-codes
41 BuildRequires: libcanberra-gtk3-devel >= 0.26
42 BuildRequires: libgnomekbd-devel >= 3.0.0
43 BuildRequires: libgtop-devel
44 BuildRequires: libsocialweb-devel
45 BuildRequires: libtool >= 2:2.2
46 BuildRequires: libxklavier-devel >= 5.1
47 BuildRequires: libxml2-devel >= 1:2.6.31
48 BuildRequires: pkgconfig
49 BuildRequires: polkit-devel >= 0.97
50 BuildRequires: pulseaudio-devel >= 0.9.16
51 BuildRequires: rpmbuild(find_lang) >= 1.23
52 BuildRequires: rpmbuild(macros) >= 1.311
53 BuildRequires: scrollkeeper
54 BuildRequires: upower-devel >= 0.9.1
55 BuildRequires: xorg-lib-libXxf86misc-devel
56 BuildRequires: xorg-lib-libxkbfile-devel
57 Requires(post,postun): desktop-file-utils
58 Requires(post,postun): gtk-update-icon-cache
59 Requires(post,postun): scrollkeeper
60 Requires(post,postun): shared-mime-info
61 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
62 Requires: accountsservice
63 Requires: desktop-file-utils
64 Requires: gnome-settings-daemon >= 1:3.0.0
65 Requires: gsettings-desktop-schemas >= 3.0.0
66 Requires: hicolor-icon-theme
67 Requires: libgnomekbd >= 3.0.0
69 Suggests: libcanberra-gnome
70 Suggests: mousetweaks >= 3.0.0
71 Provides: control-center = %{epoch}:%{version}-%{release}
73 Obsoletes: control-center
76 Obsoletes: gnome-media-volume-control
78 # sr@Latn vs. sr@latin
79 Conflicts: glibc-misc < 6:2.7
80 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
83 A Configuration tool for easily setting up your GNOME environment.
85 %description -l es.UTF-8
86 El control-center es una herramienta para una configuración facilitada
89 %description -l pl.UTF-8
90 Narzędzie do łatwej konfiguracji środowiska GNOME.
92 %description -l pt_BR.UTF-8
93 O Control Center é uma ferramenta para facilmente configurar seu
96 %description -l ru.UTF-8
97 Пакет Control Center содержит утилиты, позволяющие настраивать среду
98 GNOME вашей системы (такие вещи как фон рабочего стола и темы,
99 программа сохранения экрана, оконный менеджер, системные звуки,
100 поведение мыши и др.)
102 Этот пакет нужен, если вы устанавливаете среду GNOME.
104 %description -l uk.UTF-8
105 Пакет Control Center містить утиліти, які дозволяють настроювати
106 середовище GNOME вашої системи (такі речі як фон робочого столу та
107 теми, програма збереження екрану, віконний менеджер, системні звуки,
108 поведінка миші та ін.)
110 Цей пакет потрібний, якщо ви встановлюєте середовище GNOME.
113 Summary: GNOME Control Center gnome-window-settings library
114 Summary(pl.UTF-8): Biblioteka Control Center gnome-window-settings
116 Provides: control-center-libs = %{epoch}:%{version}-%{release}
117 Obsoletes: control-center-libs
120 This package contains gnome-window-settings library.
122 %description libs -l pl.UTF-8
123 Pakiet ten zawiera bibliotekę gnome-window-settings.
126 Summary: GNOME Control Center header files
127 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek GNOME Control Center
128 Group: X11/Development/Libraries
129 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
130 Requires: glib2-devel >= 1:2.28.0
131 Requires: gnome-desktop-devel >= 3.0.0
132 Requires: gtk+3-devel >= 3.0.2
133 Provides: control-center-devel = %{epoch}:%{version}-%{release}
134 Obsoletes: control-center-devel
137 GNOME Control-Center header files.
139 %description devel -l pl.UTF-8
140 Pliki nagłówkowe bibliotek GNOME Control Center.
148 %{__gnome_doc_prepare}
149 %{__gnome_doc_common}
158 --disable-schemas-install \
159 --disable-silent-rules \
160 --disable-update-mimedb \
161 --with-libsocialweb \
162 X_EXTRA_LIBS="-lXext"
166 rm -rf $RPM_BUILD_ROOT
169 DESTDIR=$RPM_BUILD_ROOT
171 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
172 # no static modules - shut up check-files
173 %{__rm} $RPM_BUILD_ROOT%{_libdir}/control-center-1/panels/*.{a,la}
175 # obsolete locales (nb already exists)
176 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/no
178 %find_lang %{name} --with-gnome --with-omf --all-name
181 rm -rf $RPM_BUILD_ROOT
184 %scrollkeeper_update_post
185 %update_mime_database
186 %update_desktop_database_post
187 %update_icon_cache hicolor
190 %scrollkeeper_update_postun
191 %update_mime_database
192 %update_desktop_database_postun
193 %update_icon_cache hicolor
195 %post libs -p /sbin/ldconfig
196 %postun libs -p /sbin/ldconfig
198 %files -f %{name}.lang
199 %defattr(644,root,root,755)
200 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
201 %attr(755,root,root) %{_bindir}/gnome-control-center
202 %attr(755,root,root) %{_bindir}/gnome-sound-applet
203 %dir %{_libdir}/control-center-1
204 %dir %{_libdir}/control-center-1/panels
205 %attr(755,root,root) %{_libdir}/control-center-1/panels/libbackground.so
206 %attr(755,root,root) %{_libdir}/control-center-1/panels/libdate_time.so
207 %attr(755,root,root) %{_libdir}/control-center-1/panels/libdisplay.so
208 %attr(755,root,root) %{_libdir}/control-center-1/panels/libinfo.so
209 %attr(755,root,root) %{_libdir}/control-center-1/panels/libkeyboard.so
210 %attr(755,root,root) %{_libdir}/control-center-1/panels/libmouse-properties.so
211 %attr(755,root,root) %{_libdir}/control-center-1/panels/libnetwork.so
212 %attr(755,root,root) %{_libdir}/control-center-1/panels/libregion.so
213 %attr(755,root,root) %{_libdir}/control-center-1/panels/libsound.so
214 %attr(755,root,root) %{_libdir}/control-center-1/panels/libmedia.so
215 %attr(755,root,root) %{_libdir}/control-center-1/panels/libpower.so
216 %attr(755,root,root) %{_libdir}/control-center-1/panels/libprinters.so
217 %attr(755,root,root) %{_libdir}/control-center-1/panels/libscreen.so
218 %attr(755,root,root) %{_libdir}/control-center-1/panels/libuniversal-access.so
219 %attr(755,root,root) %{_libdir}/control-center-1/panels/libuser-accounts.so
220 %{_sysconfdir}/xdg/autostart/gnome-sound-applet.desktop
221 %{_sysconfdir}/xdg/menus/gnomecc.menu
222 %{_datadir}/gnome-control-center
223 %{_datadir}/sounds/gnome
224 %{_datadir}/desktop-directories/*.directory
225 %{_iconsdir}/hicolor/*/*/*.png
226 %{_iconsdir}/hicolor/*/*/*.svg
227 %{_desktopdir}/*.desktop
231 %defattr(644,root,root,755)
232 %attr(755,root,root) %{_libdir}/libgnome-control-center.so.*.*.*
233 %attr(755,root,root) %ghost %{_libdir}/libgnome-control-center.so.1
236 %defattr(644,root,root,755)
237 %attr(755,root,root) %{_libdir}/libgnome-control-center.so
238 %{_includedir}/gnome-control-center-1
239 %{_npkgconfigdir}/gnome-keybindings.pc
240 %{_pkgconfigdir}/libgnome-control-center.pc