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