]>
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 | |
167395bb | 8 | Version: 2.24.0.1 |
a07e7520 | 9 | Release: 3 |
bbeef7c2 PZ |
10 | Epoch: 1 |
11 | License: GPL v2+ | |
12 | Group: X11/Applications | |
167395bb MB |
13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/2.24/%{name}-%{version}.tar.bz2 |
14 | # Source0-md5: dcaf6e91fddbb1d57d045a4de34ec25c | |
15 | Patch0: %{name}-default_apps.patch | |
bbeef7c2 | 16 | URL: http://www.gnome.org/ |
167395bb | 17 | BuildRequires: GConf2-devel >= 2.24.0 |
bbeef7c2 PZ |
18 | BuildRequires: alsa-lib-devel >= 1.0.12 |
19 | BuildRequires: audiofile >= 1:0.2.6 | |
20 | BuildRequires: autoconf | |
21 | BuildRequires: automake >= 1:1.9 | |
22 | BuildRequires: bison | |
2b3469b3 | 23 | BuildRequires: dbus-glib-devel >= 0.74 |
167395bb | 24 | BuildRequires: eel-devel >= 2.24.0 |
bbeef7c2 | 25 | BuildRequires: esound-devel |
167395bb | 26 | BuildRequires: evolution-data-server-devel >= 2.24.0 |
bbeef7c2 PZ |
27 | BuildRequires: flex |
28 | BuildRequires: gettext-devel | |
155e40f1 | 29 | BuildRequires: glib2-devel >= 1:2.14.0 |
a510afe7 | 30 | BuildRequires: gnome-common >= 2.20.0 |
167395bb | 31 | BuildRequires: gnome-desktop-devel >= 2.24.0 |
2b3469b3 | 32 | BuildRequires: gnome-doc-utils >= 0.12.1 |
167395bb MB |
33 | BuildRequires: gnome-menus-devel >= 2.24.0 |
34 | BuildRequires: gnome-panel-devel >= 2.24.0 | |
35 | BuildRequires: gnome-settings-daemon-devel >= 2.24.0 | |
36 | BuildRequires: gnome-vfs2-devel >= 2.24.0 | |
bbeef7c2 | 37 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.10 |
167395bb | 38 | BuildRequires: gtk+2-devel >= 2:2.14.0 |
2b3469b3 | 39 | BuildRequires: hal-devel >= 0.5.10 |
167395bb | 40 | BuildRequires: intltool >= 0.40.0 |
167395bb | 41 | BuildRequires: libcanberra-gtk-devel >= 0.4 |
d9b14bad | 42 | BuildRequires: libglade2-devel >= 1:2.6.2 |
167395bb MB |
43 | BuildRequires: libgnomekbd-devel >= 2.24.0 |
44 | BuildRequires: libgnomeui-devel >= 2.24.0 | |
45 | BuildRequires: librsvg-devel >= 2.22.0 | |
bbeef7c2 | 46 | BuildRequires: libtool |
155e40f1 | 47 | BuildRequires: libxklavier-devel >= 3.6 |
2b3469b3 | 48 | BuildRequires: libxml2-devel >= 1:2.6.31 |
167395bb MB |
49 | BuildRequires: metacity-devel >= 2:2.24.0 |
50 | BuildRequires: nautilus-devel >= 2.24.0 | |
bbeef7c2 | 51 | BuildRequires: pkgconfig |
dbae2c4e | 52 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
bbeef7c2 PZ |
53 | BuildRequires: rpmbuild(macros) >= 1.311 |
54 | BuildRequires: scrollkeeper | |
19af9160 | 55 | BuildRequires: xorg-lib-libXScrnSaver-devel |
bbeef7c2 PZ |
56 | BuildRequires: xorg-lib-libXxf86misc-devel |
57 | BuildRequires: xorg-lib-libxkbfile-devel | |
58 | Requires(post,postun): desktop-file-utils | |
59 | Requires(post,postun): gtk+2 | |
60 | Requires(post,postun): scrollkeeper | |
61 | Requires(post,postun): shared-mime-info | |
62 | Requires(post,preun): GConf2 | |
63 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
64 | Requires: desktop-file-utils | |
167395bb MB |
65 | Requires: gnome-settings-daemon >= 2.24.0 |
66 | Requires: gnome-vfs2 >= 2.24.0 | |
bbeef7c2 | 67 | Requires: gstreamer-audio-effects-base >= 0.10.10 |
167395bb | 68 | Suggests: mousetweaks >= 2.24.0 |
a7a15a10 | 69 | Suggests: libcanberra-gnome |
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 | 113 | Group: X11/Libraries |
167395bb | 114 | Requires: gnome-desktop-libs >= 2.24.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 | 129 | Requires: dbus-glib-devel >= 0.74 |
167395bb MB |
130 | Requires: gnome-desktop-devel >= 2.24.0 |
131 | Requires: gnome-menus-devel >= 2.24.0 | |
132 | Requires: gtk+2-devel >= 2:2.14.0 | |
133 | Requires: libgnomeui-devel >= 2.24.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 | |
dbae2c4e | 160 | |
bbeef7c2 PZ |
161 | %build |
162 | %{__gnome_doc_prepare} | |
163 | %{__gnome_doc_common} | |
164 | %{__glib_gettextize} | |
165 | %{__intltoolize} | |
166 | %{__libtoolize} | |
167 | %{__aclocal} | |
bbeef7c2 | 168 | %{__autoconf} |
2b3469b3 | 169 | %{__autoheader} |
bbeef7c2 PZ |
170 | %{__automake} |
171 | %configure \ | |
172 | --disable-schemas-install \ | |
173 | --disable-update-mimedb \ | |
174 | --enable-gstreamer=0.10 \ | |
175 | --enable-aboutme \ | |
176 | X_EXTRA_LIBS="-lXext" | |
177 | %{__make} | |
178 | ||
179 | %install | |
180 | rm -rf $RPM_BUILD_ROOT | |
181 | ||
182 | %{__make} install \ | |
183 | DESTDIR=$RPM_BUILD_ROOT | |
184 | ||
185 | # no static modules - shut up check-files | |
186 | rm -f $RPM_BUILD_ROOT%{_libdir}/window-manager-settings/*.{a,la} | |
187 | rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions*/*.{a,la} | |
188 | rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.{a,la} | |
189 | ||
dbae2c4e | 190 | %find_lang %{name} --with-gnome --with-omf --all-name |
bbeef7c2 PZ |
191 | |
192 | %clean | |
193 | rm -rf $RPM_BUILD_ROOT | |
194 | ||
195 | %post | |
bbeef7c2 | 196 | %gconf_schema_install control-center.schemas |
bbeef7c2 PZ |
197 | %scrollkeeper_update_post |
198 | %update_mime_database | |
199 | %update_desktop_database_post | |
200 | %update_icon_cache hicolor | |
201 | ||
202 | %preun | |
bbeef7c2 | 203 | %gconf_schema_uninstall control-center.schemas |
bbeef7c2 PZ |
204 | |
205 | %postun | |
206 | %scrollkeeper_update_postun | |
207 | %update_mime_database | |
208 | %update_desktop_database_postun | |
209 | %update_icon_cache hicolor | |
210 | ||
211 | %post libs -p /sbin/ldconfig | |
212 | %postun libs -p /sbin/ldconfig | |
213 | ||
214 | %files -f %{name}.lang | |
215 | %defattr(644,root,root,755) | |
216 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
2b3469b3 PZ |
217 | %attr(755,root,root) %{_bindir}/gnome-about-me |
218 | %attr(755,root,root) %{_bindir}/gnome-appearance-properties | |
219 | %attr(755,root,root) %{_bindir}/gnome-at-mobility | |
220 | %attr(755,root,root) %{_bindir}/gnome-at-properties | |
221 | %attr(755,root,root) %{_bindir}/gnome-at-visual | |
222 | %attr(755,root,root) %{_bindir}/gnome-control-center | |
223 | %attr(755,root,root) %{_bindir}/gnome-default-applications-properties | |
224 | %attr(755,root,root) %{_bindir}/gnome-display-properties | |
2b3469b3 PZ |
225 | %attr(755,root,root) %{_bindir}/gnome-keybinding-properties |
226 | %attr(755,root,root) %{_bindir}/gnome-keyboard-properties | |
227 | %attr(755,root,root) %{_bindir}/gnome-mouse-properties | |
228 | %attr(755,root,root) %{_bindir}/gnome-network-preferences | |
229 | %attr(755,root,root) %{_bindir}/gnome-sound-properties | |
2b3469b3 PZ |
230 | %attr(755,root,root) %{_bindir}/gnome-typing-monitor |
231 | %attr(755,root,root) %{_bindir}/gnome-window-properties | |
2b3469b3 PZ |
232 | %dir %{_libdir}/window-manager-settings |
233 | %attr(755,root,root) %{_libdir}/window-manager-settings/libmetacity.so | |
bbeef7c2 | 234 | %{_sysconfdir}/gconf/schemas/control-center.schemas |
2b3469b3 | 235 | %{_sysconfdir}/xdg/autostart/gnome-at-session.desktop |
bbeef7c2 | 236 | %{_sysconfdir}/xdg/menus/gnomecc.menu |
bbeef7c2 | 237 | %{_datadir}/gnome-control-center |
bbeef7c2 PZ |
238 | %{_datadir}/desktop-directories/*.directory |
239 | %{_datadir}/gnome/cursor-fonts | |
bbeef7c2 PZ |
240 | %{_datadir}/mime/packages/gnome-theme-package.xml |
241 | %{_iconsdir}/hicolor/*/*/*.png | |
242 | %{_iconsdir}/hicolor/*/*/*.svg | |
bbeef7c2 PZ |
243 | %{_desktopdir}/*.desktop |
244 | ||
245 | %files libs | |
246 | %defattr(644,root,root,755) | |
247 | %attr(755,root,root) %{_libdir}/libgnome-window-settings.so.*.*.* | |
2b3469b3 | 248 | %attr(755,root,root) %ghost %{_libdir}/libgnome-window-settings.so.1 |
bbeef7c2 PZ |
249 | |
250 | %files devel | |
251 | %defattr(644,root,root,755) | |
252 | %attr(755,root,root) %{_libdir}/libgnome-window-settings.so | |
253 | %{_libdir}/libgnome-window-settings.la | |
bbeef7c2 | 254 | %{_includedir}/gnome-window-settings-2.0 |
bbeef7c2 | 255 | %{_pkgconfigdir}/gnome-window-settings-2.0.pc |
167395bb | 256 | %{_datadir}/pkgconfig/gnome-default-applications.pc |
bbeef7c2 PZ |
257 | %{_datadir}/pkgconfig/gnome-keybindings.pc |
258 | ||
259 | %files static | |
260 | %defattr(644,root,root,755) | |
261 | %{_libdir}/libgnome-window-settings.a |