]>
Commit | Line | Data |
---|---|---|
03b5b12c | 1 | Summary: GNOME Control Center |
f86ba1f7 ER |
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 | |
c1e434fd | 7 | Name: control-center |
7da27b58 | 8 | Version: 2.18.1 |
694d4990 | 9 | Release: 3 |
8d26cf33 | 10 | Epoch: 1 |
eb4f23e4 | 11 | License: GPL v2+ |
f837e61e | 12 | Group: X11/Applications |
694d4990 | 13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/control-center/2.18/%{name}-%{version}.tar.bz2 |
7da27b58 | 14 | # Source0-md5: bae0fd0f9e32f374bd7236d98788b13f |
eb4f23e4 | 15 | Patch0: %{name}-randr.patch |
c9372289 | 16 | Patch1: %{name}-wm_properties-dir.patch |
17 | Patch2: %{name}-additional-metacity-keybinding.patch | |
d460447c | 18 | Patch3: %{name}-default_apps.patch |
61cd1d71 | 19 | Patch4: %{name}-capplet.patch |
8c9d0bf3 MB |
20 | Patch5: %{name}-Makefile.patch |
21 | Patch6: %{name}-compiz-support.patch | |
8ea61d32 | 22 | URL: http://www.gnome.org/ |
8c9d0bf3 | 23 | BuildRequires: GConf2-devel >= 2.18.0.1 |
826a90cd | 24 | BuildRequires: alsa-lib-devel >= 1.0.12 |
3c9e70f9 | 25 | BuildRequires: audiofile >= 1:0.2.6 |
fd7b4708 | 26 | BuildRequires: autoconf |
8c9d0bf3 | 27 | BuildRequires: automake >= 1:1.9 |
765d8ce8 | 28 | BuildRequires: bison |
8c9d0bf3 | 29 | BuildRequires: dbus-glib-devel >= 0.73 |
ed4eb0d9 | 30 | BuildRequires: esound-devel |
7da27b58 | 31 | BuildRequires: evolution-data-server-devel >= 1.10.1 |
00dc9517 | 32 | BuildRequires: flex |
765d8ce8 | 33 | BuildRequires: gettext-devel |
7da27b58 | 34 | BuildRequires: gnome-common >= 2.18.0 |
8c9d0bf3 | 35 | BuildRequires: gnome-desktop-devel >= 2.18.0 |
7da27b58 MB |
36 | BuildRequires: gnome-doc-utils >= 0.10.3 |
37 | BuildRequires: gnome-menus-devel >= 2.18.0 | |
8c9d0bf3 | 38 | BuildRequires: gnome-panel-devel >= 2.18.0 |
7da27b58 | 39 | BuildRequires: gnome-vfs2-devel >= 2.18.1 |
1b573ce4 | 40 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.10 |
8c9d0bf3 MB |
41 | BuildRequires: gtk+2-devel >= 2:2.10.10 |
42 | BuildRequires: intltool >= 0.35.5 | |
f4510058 | 43 | BuildRequires: libglade2-devel >= 1:2.6.0 |
7da27b58 MB |
44 | BuildRequires: libgnomekbd-devel >= 2.18.1 |
45 | BuildRequires: libgnomeui-devel >= 2.18.1 | |
8c9d0bf3 | 46 | BuildRequires: librsvg-devel >= 2.16.1 |
7f3d2e26 | 47 | BuildRequires: libtool |
d5e4f8e5 | 48 | BuildRequires: libxml2-devel >= 1:2.6.27 |
7da27b58 MB |
49 | BuildRequires: metacity-devel >= 2:2.18.2 |
50 | BuildRequires: nautilus-devel >= 2.18.1 | |
8c9d0bf3 | 51 | BuildRequires: pkgconfig |
ad4ec2f6 | 52 | BuildRequires: rpmbuild(macros) >= 1.311 |
61cd1d71 | 53 | BuildRequires: scrollkeeper |
5c6c830f | 54 | BuildRequires: xorg-lib-libXScrnSaver-devel |
bf9390c5 | 55 | BuildRequires: xorg-lib-libXxf86misc-devel |
d5e4f8e5 | 56 | BuildRequires: xorg-lib-libxkbfile-devel |
329b06e2 | 57 | Requires(post,postun): desktop-file-utils |
694d4990 | 58 | Requires(post,postun): gtk-update-icon-cache |
61cd1d71 | 59 | Requires(post,postun): scrollkeeper |
8c9d0bf3 MB |
60 | Requires(post,postun): shared-mime-info |
61 | Requires(post,preun): GConf2 | |
d460447c | 62 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
a577c025 | 63 | Requires: desktop-file-utils |
7da27b58 | 64 | Requires: gnome-vfs2 >= 2.18.1 |
1b573ce4 | 65 | Requires: gstreamer-audio-effects-base >= 0.10.10 |
3c9e70f9 | 66 | Obsoletes: acme |
e752b358 | 67 | Obsoletes: fontilus |
c1e434fd | 68 | Obsoletes: gnome |
8792bea5 | 69 | Obsoletes: themus |
c2ccaac1 | 70 | # sr@Latn vs. sr@latin |
71 | Conflicts: glibc-misc < 6:2.7 | |
8792bea5 | 72 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
82460f17 | 73 | |
74 | %description | |
c51ee320 | 75 | A Configuration tool for easily setting up your GNOME environment. |
82460f17 | 76 | |
89d0e68c JR |
77 | %description -l es.UTF-8 |
78 | El control-center es una herramienta para una configuración facilitada | |
7f3d2e26 | 79 | el entorno GNOME. |
80 | ||
89d0e68c JR |
81 | %description -l pl.UTF-8 |
82 | Narzędzie do łatwej konfiguracji środowiska GNOME. | |
3d7dfbe7 | 83 | |
89d0e68c JR |
84 | %description -l pt_BR.UTF-8 |
85 | O Control Center é uma ferramenta para facilmente configurar seu | |
7f3d2e26 | 86 | ambiente GNOME. |
87 | ||
89d0e68c JR |
88 | %description -l ru.UTF-8 |
89 | Пакет Control Center содержит утилиты, позволяющие настраивать среду | |
90 | GNOME вашей системы (такие вещи как фон рабочего стола и темы, | |
91 | программа сохранения экрана, оконный менеджер, системные звуки, | |
92 | поведение мыши и др.) | |
c66c9848 | 93 | |
89d0e68c | 94 | Этот пакет нужен, если вы устанавливаете среду GNOME. |
c66c9848 | 95 | |
89d0e68c JR |
96 | %description -l uk.UTF-8 |
97 | Пакет Control Center містить утиліти, які дозволяють настроювати | |
98 | середовище GNOME вашої системи (такі речі як фон робочого столу та | |
99 | теми, програма збереження екрану, віконний менеджер, системні звуки, | |
100 | поведінка миші та ін.) | |
c66c9848 | 101 | |
89d0e68c | 102 | Цей пакет потрібний, якщо ви встановлюєте середовище GNOME. |
c66c9848 | 103 | |
d460447c | 104 | %package libs |
105 | Summary: GNOME Control Center gnome-window-settings library | |
f86ba1f7 | 106 | Summary(pl.UTF-8): Biblioteka Control Center gnome-window-settings |
d460447c | 107 | Group: Development/Libraries |
7da27b58 | 108 | Requires: libgnomeui >= 2.18.1 |
d460447c | 109 | |
110 | %description libs | |
111 | This package contains gnome-window-settings library. | |
112 | ||
89d0e68c JR |
113 | %description libs -l pl.UTF-8 |
114 | Pakiet ten zawiera bibliotekę gnome-window-settings. | |
d460447c | 115 | |
82460f17 | 116 | %package devel |
d460447c | 117 | Summary: GNOME Control Center header files |
f86ba1f7 | 118 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek GNOME Control Center |
44bea8bf | 119 | Group: X11/Development/Libraries |
d460447c | 120 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
8c9d0bf3 | 121 | Requires: dbus-glib-devel >= 0.73 |
949f7e73 | 122 | Requires: fam-devel |
8c9d0bf3 | 123 | Requires: gnome-desktop-devel >= 2.18.0 |
7da27b58 | 124 | Requires: gnome-menus-devel >= 2.18.0 |
8c9d0bf3 | 125 | Requires: gtk+2-devel >= 2:2.10.10 |
7da27b58 | 126 | Requires: libgnomeui-devel >= 2.18.1 |
8c9d0bf3 | 127 | Requires: librsvg-devel >= 2.16.1 |
82460f17 | 128 | |
129 | %description devel | |
ed4eb0d9 | 130 | GNOME Control-Center header files. |
82460f17 | 131 | |
89d0e68c JR |
132 | %description devel -l pl.UTF-8 |
133 | Pliki nagłówkowe bibliotek GNOME Control Center. | |
c66c9848 | 134 | |
82460f17 | 135 | %package static |
d460447c | 136 | Summary: GNOME Control Center static libraries |
f86ba1f7 | 137 | Summary(pl.UTF-8): Statyczne biblioteki GNOME Control Center |
931747d6 | 138 | Group: X11/Development/Libraries |
3c9e70f9 | 139 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
931747d6 | 140 | |
141 | %description static | |
d460447c | 142 | GNOME Control Center static libraries. |
7f3d2e26 | 143 | |
89d0e68c | 144 | %description static -l pl.UTF-8 |
d460447c | 145 | Statyczne biblioteki GNOME Control Center. |
c66c9848 | 146 | |
82460f17 | 147 | %prep |
148 | %setup -q | |
eb4f23e4 | 149 | %patch0 -p1 |
c9372289 | 150 | %patch1 -p1 |
eb4f23e4 | 151 | %patch2 -p1 |
55a9d775 | 152 | %patch3 -p1 |
cf7ab990 | 153 | %patch4 -p1 |
96198ffe | 154 | %patch5 -p1 |
ad4ec2f6 | 155 | %patch6 -p1 |
03f6a78b | 156 | |
82460f17 | 157 | %build |
ad4ec2f6 | 158 | %{__gnome_doc_prepare} |
61cd1d71 | 159 | %{__gnome_doc_common} |
3b4b759b | 160 | %{__glib_gettextize} |
161 | %{__intltoolize} | |
e29354f7 | 162 | %{__libtoolize} |
163 | %{__aclocal} | |
f834c527 | 164 | %{__autoheader} |
8b8eb8c8 | 165 | %{__autoconf} |
166 | %{__automake} | |
5968df4d | 167 | %configure \ |
496b1cc3 | 168 | --disable-schemas-install \ |
8c9d0bf3 | 169 | --disable-update-mimedb \ |
a6118bb6 | 170 | --enable-gstreamer=0.10 \ |
61cd1d71 | 171 | --enable-aboutme \ |
496b1cc3 | 172 | X_EXTRA_LIBS="-lXext" |
3c83f941 | 173 | %{__make} |
b04a7c34 | 174 | |
82460f17 | 175 | %install |
176 | rm -rf $RPM_BUILD_ROOT | |
177 | ||
8f42ac1f | 178 | %{__make} install \ |
931747d6 | 179 | DESTDIR=$RPM_BUILD_ROOT |
82460f17 | 180 | |
a1423560 AF |
181 | # no static modules - shut up check-files |
182 | rm -f $RPM_BUILD_ROOT%{_libdir}/window-manager-settings/*.{a,la} | |
eb4f23e4 | 183 | rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions*/*.{a,la} |
e752b358 | 184 | rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.{a,la} |
a1423560 | 185 | |
c2ccaac1 | 186 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
187 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
ed4eb0d9 | 188 | %find_lang %{name} --with-gnome --all-name |
f395cac2 | 189 | |
82460f17 | 190 | %clean |
191 | rm -rf $RPM_BUILD_ROOT | |
192 | ||
8f42ac1f | 193 | %post |
3b4b759b | 194 | %gconf_schema_install apps_gnome_settings_daemon_default_editor.schemas |
195 | %gconf_schema_install apps_gnome_settings_daemon_keybindings.schemas | |
196 | %gconf_schema_install apps_gnome_settings_daemon_screensaver.schemas | |
8c9d0bf3 | 197 | %gconf_schema_install control-center.schemas |
3b4b759b | 198 | %gconf_schema_install desktop_gnome_font_rendering.schemas |
3b4b759b | 199 | %gconf_schema_install fontilus.schemas |
200 | %gconf_schema_install themus.schemas | |
61cd1d71 | 201 | %scrollkeeper_update_post |
8c9d0bf3 | 202 | %update_mime_database |
3b4b759b | 203 | %update_desktop_database_post |
ad4ec2f6 | 204 | %update_icon_cache hicolor |
329b06e2 | 205 | |
206 | %preun | |
3b4b759b | 207 | %gconf_schema_uninstall apps_gnome_settings_daemon_default_editor.schemas |
208 | %gconf_schema_uninstall apps_gnome_settings_daemon_keybindings.schemas | |
209 | %gconf_schema_uninstall apps_gnome_settings_daemon_screensaver.schemas | |
8c9d0bf3 | 210 | %gconf_schema_uninstall control-center.schemas |
3b4b759b | 211 | %gconf_schema_uninstall desktop_gnome_font_rendering.schemas |
3b4b759b | 212 | %gconf_schema_uninstall fontilus.schemas |
213 | %gconf_schema_uninstall themus.schemas | |
329b06e2 | 214 | |
215 | %postun | |
61cd1d71 | 216 | %scrollkeeper_update_postun |
8c9d0bf3 | 217 | %update_mime_database |
3b4b759b | 218 | %update_desktop_database_postun |
ad4ec2f6 | 219 | %update_icon_cache hicolor |
82460f17 | 220 | |
d460447c | 221 | %post libs -p /sbin/ldconfig |
222 | %postun libs -p /sbin/ldconfig | |
223 | ||
976676fe | 224 | %files -f %{name}.lang |
c1e434fd | 225 | %defattr(644,root,root,755) |
8c9d0bf3 | 226 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README |
61cd1d71 | 227 | %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas |
228 | %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_keybindings.schemas | |
229 | %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_screensaver.schemas | |
8c9d0bf3 | 230 | %{_sysconfdir}/gconf/schemas/control-center.schemas |
61cd1d71 | 231 | %{_sysconfdir}/gconf/schemas/desktop_gnome_font_rendering.schemas |
61cd1d71 | 232 | %{_sysconfdir}/gconf/schemas/fontilus.schemas |
233 | %{_sysconfdir}/gconf/schemas/themus.schemas | |
e752b358 | 234 | %{_sysconfdir}/gnome-vfs-2.0/modules/* |
8c9d0bf3 | 235 | %{_sysconfdir}/xdg/menus/gnomecc.menu |
b0dd4e82 | 236 | %attr(755,root,root) %{_bindir}/* |
3c9e70f9 | 237 | %attr(755,root,root) %{_libdir}/gnome-settings-daemon |
eb4f23e4 | 238 | %attr(755,root,root) %{_libdir}/nautilus/extensions*/*.so |
e752b358 | 239 | %attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/lib*.so |
928a1164 | 240 | %attr(755,root,root) %{_libdir}/window-manager-settings/*.so |
fb58f7de | 241 | %dir %{_libdir}/window-manager-settings |
8c9d0bf3 | 242 | %{_datadir}/control-center |
f4510058 | 243 | %{_datadir}/dbus-1/services/*.service |
4fed5165 | 244 | %{_datadir}/desktop-directories/*.directory |
ed4eb0d9 | 245 | %{_datadir}/gnome/cursor-fonts |
8c9d0bf3 MB |
246 | %{_datadir}/mime/packages/gnome-theme-package.xml |
247 | %{_iconsdir}/hicolor/*/*/typing-monitor.* | |
61cd1d71 | 248 | %{_omf_dest_dir}/control-center |
ed4eb0d9 | 249 | %{_pixmapsdir}/*.png |
19bf044a | 250 | %{_desktopdir}/*.desktop |
82460f17 | 251 | |
d460447c | 252 | %files libs |
253 | %defattr(644,root,root,755) | |
d5e4f8e5 | 254 | %attr(755,root,root) %{_libdir}/libgnome-window-settings.so.*.*.* |
d460447c | 255 | |
82460f17 | 256 | %files devel |
931747d6 | 257 | %defattr(644,root,root,755) |
d5e4f8e5 MB |
258 | %attr(755,root,root) %{_libdir}/libgnome-window-settings.so |
259 | %{_libdir}/libgnome-window-settings.la | |
197d5748 | 260 | %{_includedir}/gnome-window-settings-2.0 |
f4510058 | 261 | %{_includedir}/gnome-settings-daemon-2.0 |
d5e4f8e5 MB |
262 | %{_pkgconfigdir}/gnome-window-settings-2.0.pc |
263 | %{_pkgconfigdir}/gnome-settings-daemon.pc | |
ed4eb0d9 | 264 | |
931747d6 | 265 | %files static |
266 | %defattr(644,root,root,755) | |
d5e4f8e5 | 267 | %{_libdir}/libgnome-window-settings.a |