]>
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 | |
3d0398fe CM |
8 | Version: 2.32.1 |
9 | Release: 1 | |
bbeef7c2 PZ |
10 | Epoch: 1 |
11 | License: GPL v2+ | |
12 | Group: X11/Applications | |
3de22bd6 | 13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/2.32/%{name}-%{version}.tar.bz2 |
3d0398fe | 14 | # Source0-md5: b4e8ab5c7556ae07addbfcfb4fa2f761 |
a1824854 | 15 | Patch0: no_update_desktop.patch |
e2e9f826 | 16 | Patch1: default-apps-chrome-chromium.patch |
bbeef7c2 | 17 | URL: http://www.gnome.org/ |
4ee0ad5b | 18 | BuildRequires: GConf2-devel >= 2.26.0 |
bbeef7c2 PZ |
19 | BuildRequires: autoconf |
20 | BuildRequires: automake >= 1:1.9 | |
2b3469b3 | 21 | BuildRequires: dbus-glib-devel >= 0.74 |
793a5ee7 | 22 | BuildRequires: docbook-dtd412-xml |
167395bb | 23 | BuildRequires: evolution-data-server-devel >= 2.24.0 |
bbeef7c2 | 24 | BuildRequires: gettext-devel |
efadd9ff | 25 | BuildRequires: glib2-devel >= 1:2.20.0 |
4ee0ad5b | 26 | BuildRequires: gnome-common >= 2.24.0 |
efadd9ff | 27 | BuildRequires: gnome-desktop-devel >= 2.30.0 |
2b3469b3 | 28 | BuildRequires: gnome-doc-utils >= 0.12.1 |
efadd9ff | 29 | BuildRequires: gnome-menus-devel >= 2.30.0 |
4ee0ad5b | 30 | BuildRequires: gnome-settings-daemon-devel >= 2.26.0 |
efadd9ff | 31 | BuildRequires: gtk+2-devel >= 2:2.18.0 |
167395bb | 32 | BuildRequires: intltool >= 0.40.0 |
167395bb | 33 | BuildRequires: libcanberra-gtk-devel >= 0.4 |
3de22bd6 | 34 | BuildRequires: libgnomekbd-devel >= 2.32.0 |
167395bb | 35 | BuildRequires: librsvg-devel >= 2.22.0 |
bbeef7c2 | 36 | BuildRequires: libtool |
51b7cee0 | 37 | BuildRequires: libunique-devel >= 1.0.0 |
3bdde8f2 | 38 | BuildRequires: libxklavier-devel >= 4.0 |
2b3469b3 | 39 | BuildRequires: libxml2-devel >= 1:2.6.31 |
4ee0ad5b | 40 | BuildRequires: metacity-devel >= 2:2.26.0 |
bbeef7c2 | 41 | BuildRequires: pkgconfig |
dbae2c4e | 42 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
bbeef7c2 PZ |
43 | BuildRequires: rpmbuild(macros) >= 1.311 |
44 | BuildRequires: scrollkeeper | |
19af9160 | 45 | BuildRequires: xorg-lib-libXScrnSaver-devel |
bbeef7c2 PZ |
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 | |
4ee0ad5b | 55 | Requires: gnome-settings-daemon >= 2.26.0 |
c3d9838b | 56 | Requires: libgnomekbd >= 2.32.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 |
efadd9ff | 103 | Requires: gnome-desktop-libs >= 2.30.0 |
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} | |
efadd9ff MB |
118 | Requires: gnome-desktop-devel >= 2.30.0 |
119 | Requires: gtk+2-devel >= 2:2.18.0 | |
567fe714 | 120 | Provides: control-center-devel = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
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} | |
567fe714 | 134 | Provides: control-center-static = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
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 | |
a1824854 | 145 | %patch0 -p1 |
e2e9f826 | 146 | %patch1 -p1 |
efadd9ff MB |
147 | sed -i s#^en@shaw## po/LINGUAS |
148 | rm po/en@shaw.po | |
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 \ | |
efadd9ff | 162 | --disable-silent-rules \ |
bbeef7c2 | 163 | --disable-update-mimedb \ |
a1824854 | 164 | --disable-update-desktop \ |
bbeef7c2 PZ |
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 | ||
0b9837e0 | 175 | %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la |
bbeef7c2 | 176 | # no static modules - shut up check-files |
0b9837e0 | 177 | %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/window-manager-settings/*.{a,la} |
4ee0ad5b | 178 | |
dbae2c4e | 179 | %find_lang %{name} --with-gnome --with-omf --all-name |
bbeef7c2 PZ |
180 | |
181 | %clean | |
182 | rm -rf $RPM_BUILD_ROOT | |
183 | ||
184 | %post | |
bbeef7c2 | 185 | %gconf_schema_install control-center.schemas |
4ee0ad5b | 186 | %gconf_schema_install fontilus.schemas |
3bdde8f2 | 187 | %gconf_schema_install gnome-control-center.schemas |
bbeef7c2 PZ |
188 | %scrollkeeper_update_post |
189 | %update_mime_database | |
190 | %update_desktop_database_post | |
191 | %update_icon_cache hicolor | |
192 | ||
193 | %preun | |
bbeef7c2 | 194 | %gconf_schema_uninstall control-center.schemas |
4ee0ad5b | 195 | %gconf_schema_uninstall fontilus.schemas |
3bdde8f2 | 196 | %gconf_schema_uninstall gnome-control-center.schemas |
bbeef7c2 PZ |
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 | |
2b3469b3 PZ |
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 | |
4ee0ad5b | 218 | %attr(755,root,root) %{_bindir}/gnome-font-viewer |
2b3469b3 PZ |
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 | |
4ee0ad5b PZ |
222 | %attr(755,root,root) %{_bindir}/gnome-network-properties |
223 | %attr(755,root,root) %{_bindir}/gnome-thumbnail-font | |
2b3469b3 PZ |
224 | %attr(755,root,root) %{_bindir}/gnome-typing-monitor |
225 | %attr(755,root,root) %{_bindir}/gnome-window-properties | |
3de22bd6 | 226 | %attr(755,root,root) %{_sbindir}/gnome-display-properties-install-systemwide |
2b3469b3 PZ |
227 | %dir %{_libdir}/window-manager-settings |
228 | %attr(755,root,root) %{_libdir}/window-manager-settings/libmetacity.so | |
bbeef7c2 | 229 | %{_sysconfdir}/gconf/schemas/control-center.schemas |
4ee0ad5b | 230 | %{_sysconfdir}/gconf/schemas/fontilus.schemas |
3bdde8f2 | 231 | %{_sysconfdir}/gconf/schemas/gnome-control-center.schemas |
2b3469b3 | 232 | %{_sysconfdir}/xdg/autostart/gnome-at-session.desktop |
bbeef7c2 | 233 | %{_sysconfdir}/xdg/menus/gnomecc.menu |
bbeef7c2 | 234 | %{_datadir}/gnome-control-center |
bbeef7c2 PZ |
235 | %{_datadir}/desktop-directories/*.directory |
236 | %{_datadir}/gnome/cursor-fonts | |
bbeef7c2 | 237 | %{_datadir}/mime/packages/gnome-theme-package.xml |
3de22bd6 | 238 | %{_datadir}/polkit-1/actions/org.gnome.randr.policy |
bbeef7c2 PZ |
239 | %{_iconsdir}/hicolor/*/*/*.png |
240 | %{_iconsdir}/hicolor/*/*/*.svg | |
bbeef7c2 PZ |
241 | %{_desktopdir}/*.desktop |
242 | ||
243 | %files libs | |
244 | %defattr(644,root,root,755) | |
245 | %attr(755,root,root) %{_libdir}/libgnome-window-settings.so.*.*.* | |
2b3469b3 | 246 | %attr(755,root,root) %ghost %{_libdir}/libgnome-window-settings.so.1 |
bbeef7c2 PZ |
247 | |
248 | %files devel | |
249 | %defattr(644,root,root,755) | |
250 | %attr(755,root,root) %{_libdir}/libgnome-window-settings.so | |
bbeef7c2 | 251 | %{_includedir}/gnome-window-settings-2.0 |
bbeef7c2 | 252 | %{_pkgconfigdir}/gnome-window-settings-2.0.pc |
167395bb | 253 | %{_datadir}/pkgconfig/gnome-default-applications.pc |
bbeef7c2 PZ |
254 | %{_datadir}/pkgconfig/gnome-keybindings.pc |
255 | ||
256 | %files static | |
257 | %defattr(644,root,root,755) | |
258 | %{_libdir}/libgnome-window-settings.a |