]>
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 | |
4ee0ad5b PZ |
8 | Version: 2.26.0 |
9 | Release: 1 | |
bbeef7c2 PZ |
10 | Epoch: 1 |
11 | License: GPL v2+ | |
12 | Group: X11/Applications | |
4ee0ad5b PZ |
13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/2.26/%{name}-%{version}.tar.bz2 |
14 | # Source0-md5: e6dce514e1a03e43c1f51b05928ddad3 | |
bbeef7c2 | 15 | URL: http://www.gnome.org/ |
4ee0ad5b PZ |
16 | BuildRequires: GConf2-devel >= 2.26.0 |
17 | BuildRequires: PolicyKit-gnome-devel | |
bbeef7c2 PZ |
18 | BuildRequires: autoconf |
19 | BuildRequires: automake >= 1:1.9 | |
2b3469b3 | 20 | BuildRequires: dbus-glib-devel >= 0.74 |
167395bb | 21 | BuildRequires: evolution-data-server-devel >= 2.24.0 |
bbeef7c2 | 22 | BuildRequires: gettext-devel |
4ee0ad5b PZ |
23 | BuildRequires: glib2-devel >= 1:2.19.7 |
24 | BuildRequires: gnome-common >= 2.24.0 | |
25 | BuildRequires: gnome-desktop-devel >= 2.25.90 | |
2b3469b3 | 26 | BuildRequires: gnome-doc-utils >= 0.12.1 |
4ee0ad5b PZ |
27 | BuildRequires: gnome-menus-devel >= 2.25.90 |
28 | BuildRequires: gnome-panel-devel >= 2.25.90 | |
29 | BuildRequires: gnome-settings-daemon-devel >= 2.26.0 | |
30 | BuildRequires: gtk+2-devel >= 2:2.15.0 | |
2b3469b3 | 31 | BuildRequires: hal-devel >= 0.5.10 |
167395bb | 32 | BuildRequires: intltool >= 0.40.0 |
167395bb | 33 | BuildRequires: libcanberra-gtk-devel >= 0.4 |
d9b14bad | 34 | BuildRequires: libglade2-devel >= 1:2.6.2 |
4ee0ad5b | 35 | BuildRequires: libgnomekbd-devel >= 2.26.0 |
167395bb MB |
36 | BuildRequires: libgnomeui-devel >= 2.24.0 |
37 | BuildRequires: librsvg-devel >= 2.22.0 | |
bbeef7c2 | 38 | BuildRequires: libtool |
155e40f1 | 39 | BuildRequires: libxklavier-devel >= 3.6 |
2b3469b3 | 40 | BuildRequires: libxml2-devel >= 1:2.6.31 |
4ee0ad5b | 41 | BuildRequires: metacity-devel >= 2:2.26.0 |
bbeef7c2 | 42 | BuildRequires: pkgconfig |
dbae2c4e | 43 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
bbeef7c2 PZ |
44 | BuildRequires: rpmbuild(macros) >= 1.311 |
45 | BuildRequires: scrollkeeper | |
19af9160 | 46 | BuildRequires: xorg-lib-libXScrnSaver-devel |
bbeef7c2 PZ |
47 | BuildRequires: xorg-lib-libXxf86misc-devel |
48 | BuildRequires: xorg-lib-libxkbfile-devel | |
49 | Requires(post,postun): desktop-file-utils | |
50 | Requires(post,postun): gtk+2 | |
51 | Requires(post,postun): scrollkeeper | |
52 | Requires(post,postun): shared-mime-info | |
53 | Requires(post,preun): GConf2 | |
54 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
55 | Requires: desktop-file-utils | |
4ee0ad5b | 56 | Requires: gnome-settings-daemon >= 2.26.0 |
a7a15a10 | 57 | Suggests: libcanberra-gnome |
4ee0ad5b | 58 | Suggests: mousetweaks >= 2.24.0 |
bbeef7c2 PZ |
59 | Provides: control-center = %{epoch}:%{version}-%{release} |
60 | Obsoletes: acme | |
61 | Obsoletes: control-center | |
62 | Obsoletes: fontilus | |
63 | Obsoletes: gnome | |
64 | Obsoletes: themus | |
c036b520 | 65 | # sr@Latn vs. sr@latin |
66 | Conflicts: glibc-misc < 6:2.7 | |
bbeef7c2 PZ |
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 | |
2b3469b3 | 102 | Group: X11/Libraries |
4ee0ad5b | 103 | Requires: gnome-desktop-libs >= 2.25.90 |
567fe714 | 104 | Provides: control-center-libs = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
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} | |
2b3469b3 | 118 | Requires: dbus-glib-devel >= 0.74 |
4ee0ad5b PZ |
119 | Requires: gnome-desktop-devel >= 2.25.90 |
120 | Requires: gnome-menus-devel >= 2.25.90 | |
121 | Requires: gtk+2-devel >= 2:2.15.0 | |
167395bb | 122 | Requires: libgnomeui-devel >= 2.24.0 |
567fe714 | 123 | Provides: control-center-devel = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
124 | Obsoletes: control-center-devel |
125 | ||
126 | %description devel | |
127 | GNOME Control-Center header files. | |
128 | ||
129 | %description devel -l pl.UTF-8 | |
130 | Pliki nagłówkowe bibliotek GNOME Control Center. | |
131 | ||
132 | %package static | |
133 | Summary: GNOME Control Center static libraries | |
134 | Summary(pl.UTF-8): Statyczne biblioteki GNOME Control Center | |
135 | Group: X11/Development/Libraries | |
136 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
567fe714 | 137 | Provides: control-center-static = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
138 | Obsoletes: control-center-static |
139 | ||
140 | %description static | |
141 | GNOME Control Center static libraries. | |
142 | ||
143 | %description static -l pl.UTF-8 | |
144 | Statyczne biblioteki GNOME Control Center. | |
145 | ||
146 | %prep | |
147 | %setup -q | |
dbae2c4e | 148 | |
bbeef7c2 PZ |
149 | %build |
150 | %{__gnome_doc_prepare} | |
151 | %{__gnome_doc_common} | |
152 | %{__glib_gettextize} | |
153 | %{__intltoolize} | |
154 | %{__libtoolize} | |
155 | %{__aclocal} | |
bbeef7c2 | 156 | %{__autoconf} |
2b3469b3 | 157 | %{__autoheader} |
bbeef7c2 PZ |
158 | %{__automake} |
159 | %configure \ | |
160 | --disable-schemas-install \ | |
161 | --disable-update-mimedb \ | |
bbeef7c2 PZ |
162 | --enable-aboutme \ |
163 | X_EXTRA_LIBS="-lXext" | |
164 | %{__make} | |
165 | ||
166 | %install | |
167 | rm -rf $RPM_BUILD_ROOT | |
168 | ||
169 | %{__make} install \ | |
170 | DESTDIR=$RPM_BUILD_ROOT | |
171 | ||
172 | # no static modules - shut up check-files | |
173 | rm -f $RPM_BUILD_ROOT%{_libdir}/window-manager-settings/*.{a,la} | |
4ee0ad5b PZ |
174 | |
175 | rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ca@valencia | |
bbeef7c2 | 176 | |
dbae2c4e | 177 | %find_lang %{name} --with-gnome --with-omf --all-name |
bbeef7c2 PZ |
178 | |
179 | %clean | |
180 | rm -rf $RPM_BUILD_ROOT | |
181 | ||
182 | %post | |
bbeef7c2 | 183 | %gconf_schema_install control-center.schemas |
4ee0ad5b | 184 | %gconf_schema_install fontilus.schemas |
bbeef7c2 PZ |
185 | %scrollkeeper_update_post |
186 | %update_mime_database | |
187 | %update_desktop_database_post | |
188 | %update_icon_cache hicolor | |
189 | ||
190 | %preun | |
bbeef7c2 | 191 | %gconf_schema_uninstall control-center.schemas |
4ee0ad5b | 192 | %gconf_schema_uninstall fontilus.schemas |
bbeef7c2 PZ |
193 | |
194 | %postun | |
195 | %scrollkeeper_update_postun | |
196 | %update_mime_database | |
197 | %update_desktop_database_postun | |
198 | %update_icon_cache hicolor | |
199 | ||
200 | %post libs -p /sbin/ldconfig | |
201 | %postun libs -p /sbin/ldconfig | |
202 | ||
203 | %files -f %{name}.lang | |
204 | %defattr(644,root,root,755) | |
205 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
2b3469b3 PZ |
206 | %attr(755,root,root) %{_bindir}/gnome-about-me |
207 | %attr(755,root,root) %{_bindir}/gnome-appearance-properties | |
208 | %attr(755,root,root) %{_bindir}/gnome-at-mobility | |
209 | %attr(755,root,root) %{_bindir}/gnome-at-properties | |
210 | %attr(755,root,root) %{_bindir}/gnome-at-visual | |
211 | %attr(755,root,root) %{_bindir}/gnome-control-center | |
212 | %attr(755,root,root) %{_bindir}/gnome-default-applications-properties | |
213 | %attr(755,root,root) %{_bindir}/gnome-display-properties | |
4ee0ad5b | 214 | %attr(755,root,root) %{_bindir}/gnome-font-viewer |
2b3469b3 PZ |
215 | %attr(755,root,root) %{_bindir}/gnome-keybinding-properties |
216 | %attr(755,root,root) %{_bindir}/gnome-keyboard-properties | |
217 | %attr(755,root,root) %{_bindir}/gnome-mouse-properties | |
4ee0ad5b PZ |
218 | %attr(755,root,root) %{_bindir}/gnome-network-properties |
219 | %attr(755,root,root) %{_bindir}/gnome-thumbnail-font | |
2b3469b3 PZ |
220 | %attr(755,root,root) %{_bindir}/gnome-typing-monitor |
221 | %attr(755,root,root) %{_bindir}/gnome-window-properties | |
2b3469b3 PZ |
222 | %dir %{_libdir}/window-manager-settings |
223 | %attr(755,root,root) %{_libdir}/window-manager-settings/libmetacity.so | |
bbeef7c2 | 224 | %{_sysconfdir}/gconf/schemas/control-center.schemas |
4ee0ad5b | 225 | %{_sysconfdir}/gconf/schemas/fontilus.schemas |
2b3469b3 | 226 | %{_sysconfdir}/xdg/autostart/gnome-at-session.desktop |
bbeef7c2 | 227 | %{_sysconfdir}/xdg/menus/gnomecc.menu |
bbeef7c2 | 228 | %{_datadir}/gnome-control-center |
bbeef7c2 PZ |
229 | %{_datadir}/desktop-directories/*.directory |
230 | %{_datadir}/gnome/cursor-fonts | |
bbeef7c2 PZ |
231 | %{_datadir}/mime/packages/gnome-theme-package.xml |
232 | %{_iconsdir}/hicolor/*/*/*.png | |
233 | %{_iconsdir}/hicolor/*/*/*.svg | |
bbeef7c2 PZ |
234 | %{_desktopdir}/*.desktop |
235 | ||
236 | %files libs | |
237 | %defattr(644,root,root,755) | |
238 | %attr(755,root,root) %{_libdir}/libgnome-window-settings.so.*.*.* | |
2b3469b3 | 239 | %attr(755,root,root) %ghost %{_libdir}/libgnome-window-settings.so.1 |
bbeef7c2 PZ |
240 | |
241 | %files devel | |
242 | %defattr(644,root,root,755) | |
243 | %attr(755,root,root) %{_libdir}/libgnome-window-settings.so | |
244 | %{_libdir}/libgnome-window-settings.la | |
bbeef7c2 | 245 | %{_includedir}/gnome-window-settings-2.0 |
bbeef7c2 | 246 | %{_pkgconfigdir}/gnome-window-settings-2.0.pc |
167395bb | 247 | %{_datadir}/pkgconfig/gnome-default-applications.pc |
bbeef7c2 PZ |
248 | %{_datadir}/pkgconfig/gnome-keybindings.pc |
249 | ||
250 | %files static | |
251 | %defattr(644,root,root,755) | |
252 | %{_libdir}/libgnome-window-settings.a |