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