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