]>
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 | |
6942c252 | 8 | Version: 3.0.2 |
809a0990 | 9 | Release: 1 |
bbeef7c2 PZ |
10 | Epoch: 1 |
11 | License: GPL v2+ | |
12 | Group: X11/Applications | |
03729506 | 13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/3.0/%{name}-%{version}.tar.bz2 |
6942c252 | 14 | # Source0-md5: 5b5601fbae8be38a313a169b0fb4d9bf |
03729506 | 15 | # PLD-specific patches |
87e93490 | 16 | Patch0: system-locale-archive-path.patch |
9982dcf8 | 17 | Patch1: configure-gettext.patch |
bbeef7c2 | 18 | URL: http://www.gnome.org/ |
4ee0ad5b | 19 | BuildRequires: GConf2-devel >= 2.26.0 |
03729506 | 20 | BuildRequires: NetworkManager-devel >= 0.8.996 |
bbeef7c2 | 21 | BuildRequires: autoconf |
03729506 | 22 | BuildRequires: automake >= 1:1.10 |
7da478c3 | 23 | BuildRequires: cheese-devel >= 3.0.1 |
03729506 | 24 | BuildRequires: cups-devel >= 1.4 |
2b3469b3 | 25 | BuildRequires: dbus-glib-devel >= 0.74 |
793a5ee7 | 26 | BuildRequires: docbook-dtd412-xml |
03729506 MB |
27 | BuildRequires: gdk-pixbuf2-devel >= 2.23.0 |
28 | BuildRequires: gettext-devel >= 0.17 | |
29 | BuildRequires: glib2-devel >= 1:2.28.0 | |
4ee0ad5b | 30 | BuildRequires: gnome-common >= 2.24.0 |
03729506 | 31 | BuildRequires: gnome-desktop-devel >= 3.0.0 |
2b3469b3 | 32 | BuildRequires: gnome-doc-utils >= 0.12.1 |
03729506 MB |
33 | BuildRequires: gnome-menus-devel >= 3.0.0 |
34 | BuildRequires: gnome-settings-daemon-devel >= 1:3.0.0 | |
35 | BuildRequires: gsettings-desktop-schemas-devel >= 3.0.0 | |
36 | BuildRequires: gstreamer-devel | |
37 | BuildRequires: gtk+3-devel >= 3.0.2 | |
38 | BuildRequires: gtk-doc >= 1.9 | |
39 | BuildRequires: intltool >= 0.40.1 | |
40 | BuildRequires: iso-codes | |
41 | BuildRequires: libcanberra-gtk3-devel >= 0.26 | |
42 | BuildRequires: libgnomekbd-devel >= 3.0.0 | |
43 | BuildRequires: libgtop-devel | |
44 | BuildRequires: libsocialweb-devel | |
45 | BuildRequires: libtool >= 2:2.2 | |
46 | BuildRequires: libxklavier-devel >= 5.1 | |
2b3469b3 | 47 | BuildRequires: libxml2-devel >= 1:2.6.31 |
bbeef7c2 | 48 | BuildRequires: pkgconfig |
03729506 MB |
49 | BuildRequires: polkit-devel >= 0.97 |
50 | BuildRequires: pulseaudio-devel >= 0.9.16 | |
dbae2c4e | 51 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
bbeef7c2 PZ |
52 | BuildRequires: rpmbuild(macros) >= 1.311 |
53 | BuildRequires: scrollkeeper | |
03729506 | 54 | BuildRequires: upower-devel >= 0.9.1 |
bbeef7c2 PZ |
55 | BuildRequires: xorg-lib-libXxf86misc-devel |
56 | BuildRequires: xorg-lib-libxkbfile-devel | |
57 | Requires(post,postun): desktop-file-utils | |
491e395f | 58 | Requires(post,postun): gtk-update-icon-cache |
bbeef7c2 PZ |
59 | Requires(post,postun): scrollkeeper |
60 | Requires(post,postun): shared-mime-info | |
bbeef7c2 | 61 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
03729506 | 62 | Requires: accountsservice |
bbeef7c2 | 63 | Requires: desktop-file-utils |
03729506 MB |
64 | Requires: gnome-settings-daemon >= 1:3.0.0 |
65 | Requires: gsettings-desktop-schemas >= 3.0.0 | |
66 | Requires: hicolor-icon-theme | |
67 | Requires: libgnomekbd >= 3.0.0 | |
68 | Suggests: apg | |
a7a15a10 | 69 | Suggests: libcanberra-gnome |
03729506 | 70 | Suggests: mousetweaks >= 3.0.0 |
bbeef7c2 PZ |
71 | Provides: control-center = %{epoch}:%{version}-%{release} |
72 | Obsoletes: acme | |
73 | Obsoletes: control-center | |
74 | Obsoletes: fontilus | |
75 | Obsoletes: gnome | |
03729506 | 76 | Obsoletes: gnome-media-volume-control |
bbeef7c2 | 77 | Obsoletes: themus |
c036b520 | 78 | # sr@Latn vs. sr@latin |
79 | Conflicts: glibc-misc < 6:2.7 | |
bbeef7c2 PZ |
80 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
81 | ||
82 | %description | |
83 | A Configuration tool for easily setting up your GNOME environment. | |
84 | ||
85 | %description -l es.UTF-8 | |
86 | El control-center es una herramienta para una configuración facilitada | |
87 | el entorno GNOME. | |
88 | ||
89 | %description -l pl.UTF-8 | |
90 | Narzędzie do łatwej konfiguracji środowiska GNOME. | |
91 | ||
92 | %description -l pt_BR.UTF-8 | |
93 | O Control Center é uma ferramenta para facilmente configurar seu | |
94 | ambiente GNOME. | |
95 | ||
96 | %description -l ru.UTF-8 | |
97 | Пакет Control Center содержит утилиты, позволяющие настраивать среду | |
98 | GNOME вашей системы (такие вещи как фон рабочего стола и темы, | |
99 | программа сохранения экрана, оконный менеджер, системные звуки, | |
100 | поведение мыши и др.) | |
101 | ||
102 | Этот пакет нужен, если вы устанавливаете среду GNOME. | |
103 | ||
104 | %description -l uk.UTF-8 | |
105 | Пакет Control Center містить утиліти, які дозволяють настроювати | |
106 | середовище GNOME вашої системи (такі речі як фон робочого столу та | |
107 | теми, програма збереження екрану, віконний менеджер, системні звуки, | |
108 | поведінка миші та ін.) | |
109 | ||
110 | Цей пакет потрібний, якщо ви встановлюєте середовище GNOME. | |
111 | ||
112 | %package libs | |
113 | Summary: GNOME Control Center gnome-window-settings library | |
114 | Summary(pl.UTF-8): Biblioteka Control Center gnome-window-settings | |
2b3469b3 | 115 | Group: X11/Libraries |
567fe714 | 116 | Provides: control-center-libs = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
117 | Obsoletes: control-center-libs |
118 | ||
119 | %description libs | |
120 | This package contains gnome-window-settings library. | |
121 | ||
122 | %description libs -l pl.UTF-8 | |
123 | Pakiet ten zawiera bibliotekę gnome-window-settings. | |
124 | ||
125 | %package devel | |
126 | Summary: GNOME Control Center header files | |
127 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek GNOME Control Center | |
128 | Group: X11/Development/Libraries | |
129 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
03729506 MB |
130 | Requires: glib2-devel >= 1:2.28.0 |
131 | Requires: gnome-desktop-devel >= 3.0.0 | |
132 | Requires: gtk+3-devel >= 3.0.2 | |
567fe714 | 133 | Provides: control-center-devel = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
134 | Obsoletes: control-center-devel |
135 | ||
136 | %description devel | |
137 | GNOME Control-Center header files. | |
138 | ||
139 | %description devel -l pl.UTF-8 | |
140 | Pliki nagłówkowe bibliotek GNOME Control Center. | |
141 | ||
bbeef7c2 PZ |
142 | %prep |
143 | %setup -q | |
a1824854 | 144 | %patch0 -p1 |
9982dcf8 | 145 | %patch1 -p1 |
dbae2c4e | 146 | |
bbeef7c2 PZ |
147 | %build |
148 | %{__gnome_doc_prepare} | |
149 | %{__gnome_doc_common} | |
03729506 | 150 | %{__gettextize} |
bbeef7c2 PZ |
151 | %{__intltoolize} |
152 | %{__libtoolize} | |
153 | %{__aclocal} | |
bbeef7c2 | 154 | %{__autoconf} |
2b3469b3 | 155 | %{__autoheader} |
bbeef7c2 PZ |
156 | %{__automake} |
157 | %configure \ | |
158 | --disable-schemas-install \ | |
efadd9ff | 159 | --disable-silent-rules \ |
bbeef7c2 | 160 | --disable-update-mimedb \ |
03729506 | 161 | --with-libsocialweb \ |
bbeef7c2 PZ |
162 | X_EXTRA_LIBS="-lXext" |
163 | %{__make} | |
164 | ||
165 | %install | |
166 | rm -rf $RPM_BUILD_ROOT | |
167 | ||
168 | %{__make} install \ | |
169 | DESTDIR=$RPM_BUILD_ROOT | |
170 | ||
551a2f4f | 171 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
bbeef7c2 | 172 | # no static modules - shut up check-files |
03729506 MB |
173 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/control-center-1/panels/*.{a,la} |
174 | ||
175 | # obsolete locales (nb already exists) | |
176 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/no | |
4ee0ad5b | 177 | |
dbae2c4e | 178 | %find_lang %{name} --with-gnome --with-omf --all-name |
bbeef7c2 PZ |
179 | |
180 | %clean | |
181 | rm -rf $RPM_BUILD_ROOT | |
182 | ||
183 | %post | |
bbeef7c2 PZ |
184 | %scrollkeeper_update_post |
185 | %update_mime_database | |
186 | %update_desktop_database_post | |
187 | %update_icon_cache hicolor | |
188 | ||
bbeef7c2 PZ |
189 | %postun |
190 | %scrollkeeper_update_postun | |
191 | %update_mime_database | |
192 | %update_desktop_database_postun | |
193 | %update_icon_cache hicolor | |
194 | ||
195 | %post libs -p /sbin/ldconfig | |
196 | %postun libs -p /sbin/ldconfig | |
197 | ||
198 | %files -f %{name}.lang | |
199 | %defattr(644,root,root,755) | |
200 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
2b3469b3 | 201 | %attr(755,root,root) %{_bindir}/gnome-control-center |
03729506 MB |
202 | %attr(755,root,root) %{_bindir}/gnome-sound-applet |
203 | %dir %{_libdir}/control-center-1 | |
204 | %dir %{_libdir}/control-center-1/panels | |
205 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libbackground.so | |
206 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libdate_time.so | |
207 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libdisplay.so | |
208 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libinfo.so | |
209 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libkeyboard.so | |
210 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libmouse-properties.so | |
211 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libnetwork.so | |
212 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libregion.so | |
213 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libsound.so | |
214 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libmedia.so | |
215 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libpower.so | |
216 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libprinters.so | |
217 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libscreen.so | |
218 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libuniversal-access.so | |
219 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libuser-accounts.so | |
03729506 | 220 | %{_sysconfdir}/xdg/autostart/gnome-sound-applet.desktop |
bbeef7c2 | 221 | %{_sysconfdir}/xdg/menus/gnomecc.menu |
bbeef7c2 | 222 | %{_datadir}/gnome-control-center |
03729506 | 223 | %{_datadir}/sounds/gnome |
bbeef7c2 | 224 | %{_datadir}/desktop-directories/*.directory |
bbeef7c2 PZ |
225 | %{_iconsdir}/hicolor/*/*/*.png |
226 | %{_iconsdir}/hicolor/*/*/*.svg | |
bbeef7c2 | 227 | %{_desktopdir}/*.desktop |
03729506 | 228 | %{_pixmapsdir}/faces |
bbeef7c2 PZ |
229 | |
230 | %files libs | |
231 | %defattr(644,root,root,755) | |
03729506 MB |
232 | %attr(755,root,root) %{_libdir}/libgnome-control-center.so.*.*.* |
233 | %attr(755,root,root) %ghost %{_libdir}/libgnome-control-center.so.1 | |
bbeef7c2 PZ |
234 | |
235 | %files devel | |
236 | %defattr(644,root,root,755) | |
03729506 MB |
237 | %attr(755,root,root) %{_libdir}/libgnome-control-center.so |
238 | %{_includedir}/gnome-control-center-1 | |
239 | %{_npkgconfigdir}/gnome-keybindings.pc | |
240 | %{_pkgconfigdir}/libgnome-control-center.pc |