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