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