]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_without ibus # IBus support | |
4 | %bcond_without wayland # Wayland support | |
5 | ||
6 | Summary: GNOME Control Center | |
7 | Summary(es.UTF-8): El centro de controle del GNOME | |
8 | Summary(pl.UTF-8): Centrum Kontroli GNOME | |
9 | Summary(pt_BR.UTF-8): O Centro de Controle do GNOME | |
10 | Summary(ru.UTF-8): Центр управления GNOME | |
11 | Summary(uk.UTF-8): Центр керування GNOME | |
12 | Name: gnome-control-center | |
13 | Version: 3.32.1 | |
14 | Release: 1 | |
15 | Epoch: 1 | |
16 | License: GPL v2+ | |
17 | Group: X11/Applications | |
18 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/3.32/%{name}-%{version}.tar.xz | |
19 | # Source0-md5: 307d87113d66a9b0cfe15d7b7888ca7e | |
20 | Patch0: krb5.patch | |
21 | URL: http://www.gnome.org/ | |
22 | BuildRequires: ModemManager-devel >= 1.0.0 | |
23 | BuildRequires: NetworkManager-devel >= 1.10.0 | |
24 | # use libnm-gtk - will use correct NM version | |
25 | BuildRequires: NetworkManager-gtk-lib-devel >= 1.8.0 | |
26 | BuildRequires: OpenGL-devel | |
27 | BuildRequires: accountsservice-devel >= 0.6.39 | |
28 | BuildRequires: cheese-devel >= 3.28.0 | |
29 | BuildRequires: clutter-devel >= 1.12.0 | |
30 | BuildRequires: clutter-gtk-devel | |
31 | BuildRequires: colord-devel >= 0.1.34 | |
32 | BuildRequires: colord-gtk-devel >= 0.1.24 | |
33 | BuildRequires: cups-devel >= 1.4 | |
34 | BuildRequires: docbook-dtd412-xml | |
35 | BuildRequires: gdk-pixbuf2-devel >= 2.24.0 | |
36 | BuildRequires: gettext-tools >= 0.17 | |
37 | BuildRequires: glib2-devel >= 1:2.54.0 | |
38 | BuildRequires: gnome-bluetooth-devel >= 3.18.2 | |
39 | BuildRequires: gnome-common >= 2.24.0 | |
40 | BuildRequires: gnome-desktop-devel >= 3.28.0 | |
41 | BuildRequires: gnome-menus-devel >= 3.4.0 | |
42 | BuildRequires: gnome-online-accounts-devel >= 3.26.0 | |
43 | BuildRequires: gnome-settings-daemon-devel >= 1:3.26.0 | |
44 | BuildRequires: grilo-devel >= 0.3.0 | |
45 | BuildRequires: gsettings-desktop-schemas-devel >= 3.31.0 | |
46 | BuildRequires: gstreamer-devel >= 1.0 | |
47 | BuildRequires: gtk+3-devel >= 3.22.20 | |
48 | BuildRequires: heimdal-devel | |
49 | %{?with_ibus:BuildRequires: ibus-devel >= 1.5.2} | |
50 | BuildRequires: libcanberra-gtk3-devel >= 0.26 | |
51 | BuildRequires: libgtop-devel | |
52 | BuildRequires: libhandy-devel >= 0.0.9 | |
53 | BuildRequires: libnotify-devel >= 0.7.3 | |
54 | BuildRequires: libpwquality-devel >= 1.2.2 | |
55 | BuildRequires: libsmbclient-devel | |
56 | BuildRequires: libsoup-devel | |
57 | BuildRequires: libwacom-devel >= 0.7 | |
58 | BuildRequires: libxml2-devel >= 1:2.6.31 | |
59 | BuildRequires: meson >= 0.48.0 | |
60 | BuildRequires: pkgconfig | |
61 | BuildRequires: polkit-devel >= 0.103 | |
62 | BuildRequires: pulseaudio-devel >= 2.0 | |
63 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
64 | BuildRequires: rpmbuild(macros) >= 1.311 | |
65 | BuildRequires: tar >= 1:1.22 | |
66 | %{?with_wayland:BuildRequires: udev-glib-devel} | |
67 | BuildRequires: upower-devel >= 0.99.8 | |
68 | BuildRequires: xorg-lib-libX11-devel | |
69 | BuildRequires: xorg-lib-libXi-devel >= 1.2 | |
70 | BuildRequires: xz | |
71 | BuildRequires: yelp-tools | |
72 | Requires(post,postun): desktop-file-utils | |
73 | Requires(post,postun): glib2 >= 1:2.54.0 | |
74 | Requires(post,postun): gtk-update-icon-cache | |
75 | Requires: accountsservice >= 0.6.39 | |
76 | Requires: cheese-libs >= 3.28.0 | |
77 | Requires: cups-pk-helper | |
78 | Requires: desktop-file-utils | |
79 | Requires: glib2 >= 1:2.54.0 | |
80 | Requires: gnome-bluetooth-libs >= 3.18.2 | |
81 | Requires: gnome-desktop >= 3.28.0 | |
82 | Requires: gnome-online-accounts >= 3.26.0 | |
83 | Requires: gnome-settings-daemon >= 1:3.26.0 | |
84 | Requires: gsettings-desktop-schemas >= 3.31.0 | |
85 | Requires: gtk+3 >= 3.22.20 | |
86 | Requires: hicolor-icon-theme | |
87 | Requires: libhandy >= 0.0.9 | |
88 | Requires: libwacom >= 0.7 | |
89 | Requires: polkit >= 0.103 | |
90 | Requires: tzdata | |
91 | Requires: upower-libs >= 0.99.8 | |
92 | Suggests: NetworkManager-applet | |
93 | Suggests: cups | |
94 | Suggests: gnome-color-manager | |
95 | Suggests: libcanberra-gnome | |
96 | Suggests: libgnomekbd | |
97 | # info panel needs glxinfo | |
98 | Suggests: mesa-utils | |
99 | Suggests: mousetweaks >= 3.0.0 | |
100 | Provides: control-center = %{epoch}:%{version}-%{release} | |
101 | Obsoletes: acme | |
102 | Obsoletes: control-center | |
103 | Obsoletes: control-center-libs | |
104 | Obsoletes: fontilus | |
105 | Obsoletes: gnome | |
106 | Obsoletes: gnome-control-center-libs | |
107 | Obsoletes: gnome-media-volume-control | |
108 | Obsoletes: themus | |
109 | # sr@Latn vs. sr@latin | |
110 | Conflicts: glibc-misc < 6:2.7 | |
111 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
112 | ||
113 | %description | |
114 | A Configuration tool for easily setting up your GNOME environment. | |
115 | ||
116 | %description -l es.UTF-8 | |
117 | El control-center es una herramienta para una configuración facilitada | |
118 | el entorno GNOME. | |
119 | ||
120 | %description -l pl.UTF-8 | |
121 | Narzędzie do łatwej konfiguracji środowiska GNOME. | |
122 | ||
123 | %description -l pt_BR.UTF-8 | |
124 | O Control Center é uma ferramenta para facilmente configurar seu | |
125 | ambiente GNOME. | |
126 | ||
127 | %description -l ru.UTF-8 | |
128 | Пакет Control Center содержит утилиты, позволяющие настраивать среду | |
129 | GNOME вашей системы (такие вещи как фон рабочего стола и темы, | |
130 | программа сохранения экрана, оконный менеджер, системные звуки, | |
131 | поведение мыши и др.) | |
132 | ||
133 | Этот пакет нужен, если вы устанавливаете среду GNOME. | |
134 | ||
135 | %description -l uk.UTF-8 | |
136 | Пакет Control Center містить утиліти, які дозволяють настроювати | |
137 | середовище GNOME вашої системи (такі речі як фон робочого столу та | |
138 | теми, програма збереження екрану, віконний менеджер, системні звуки, | |
139 | поведінка миші та ін.) | |
140 | ||
141 | Цей пакет потрібний, якщо ви встановлюєте середовище GNOME. | |
142 | ||
143 | %package devel | |
144 | Summary: GNOME Control Center development files | |
145 | Summary(pl.UTF-8): Pliki programistyczne GNOME Control Center | |
146 | Group: X11/Development/Libraries | |
147 | Provides: control-center-devel = %{epoch}:%{version}-%{release} | |
148 | Obsoletes: control-center-devel | |
149 | ||
150 | %description devel | |
151 | GNOME Control Center development files. | |
152 | ||
153 | %description devel -l pl.UTF-8 | |
154 | Pliki programistyczne GNOME Control Center. | |
155 | ||
156 | %package -n bash-completion-gnome-control-center | |
157 | Summary: bash-completion for gnome-control-center | |
158 | Summary(pl.UTF-8): Bashowe uzupełnianie nazw dla gnome-control-center | |
159 | Group: Applications/Shells | |
160 | Requires: bash-completion >= 2.0 | |
161 | %if "%{_rpmversion}" >= "5" | |
162 | BuildArch: noarch | |
163 | %endif | |
164 | ||
165 | %description -n bash-completion-gnome-control-center | |
166 | bash-completion for gnome-control-center. | |
167 | ||
168 | %description -n bash-completion-gnome-control-center -l pl.UTF-8 | |
169 | Bashowe uzupełnianie nazw dla gnome-control-center. | |
170 | ||
171 | %prep | |
172 | %setup -q | |
173 | %patch0 -p1 | |
174 | ||
175 | %build | |
176 | %meson build \ | |
177 | -Ddocumentation=true \ | |
178 | %{!?with_ibus:-Dibus=false} \ | |
179 | %{!?with_wayland:-Dwayland=false} | |
180 | ||
181 | %meson_build -C build | |
182 | ||
183 | %install | |
184 | rm -rf $RPM_BUILD_ROOT | |
185 | ||
186 | %meson_install -C build | |
187 | ||
188 | %find_lang %{name} --with-gnome --all-name | |
189 | ||
190 | %clean | |
191 | rm -rf $RPM_BUILD_ROOT | |
192 | ||
193 | %post | |
194 | %glib_compile_schemas | |
195 | %update_desktop_database_post | |
196 | %update_icon_cache hicolor | |
197 | ||
198 | %postun | |
199 | %glib_compile_schemas | |
200 | %update_desktop_database_postun | |
201 | %update_icon_cache hicolor | |
202 | ||
203 | %files -f %{name}.lang | |
204 | %defattr(644,root,root,755) | |
205 | %doc NEWS README.md | |
206 | %attr(755,root,root) %{_bindir}/gnome-control-center | |
207 | %attr(755,root,root) %{_libexecdir}/cc-remote-login-helper | |
208 | %attr(755,root,root) %{_libexecdir}/gnome-control-center-search-provider | |
209 | %{_datadir}/dbus-1/services/org.gnome.ControlCenter.service | |
210 | %{_datadir}/dbus-1/services/org.gnome.ControlCenter.SearchProvider.service | |
211 | %{_datadir}/glib-2.0/schemas/org.gnome.ControlCenter.gschema.xml | |
212 | %{_datadir}/gnome-shell/search-providers/gnome-control-center-search-provider.ini | |
213 | %{_datadir}/metainfo/gnome-control-center.appdata.xml | |
214 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.datetime.policy | |
215 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.remote-login-helper.policy | |
216 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.user-accounts.policy | |
217 | %{_datadir}/polkit-1/rules.d/gnome-control-center.rules | |
218 | %{_datadir}/gnome-control-center | |
219 | %{_datadir}/sounds/gnome | |
220 | %{_iconsdir}/hicolor/*x*/apps/gnome-power-manager.png | |
221 | %{_iconsdir}/hicolor/*x*/apps/goa-panel.png | |
222 | %{_iconsdir}/hicolor/*x*/apps/preferences-color.png | |
223 | %{_iconsdir}/hicolor/*x*/apps/preferences-desktop-display.png | |
224 | %{_iconsdir}/hicolor/*x*/apps/preferences-system-time.png | |
225 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Settings.svg | |
226 | %{_iconsdir}/hicolor/scalable/apps/preferences-color.svg | |
227 | %{_iconsdir}/hicolor/scalable/apps/preferences-desktop-display.svg | |
228 | %{_iconsdir}/hicolor/scalable/apps/preferences-system-time.svg | |
229 | %{_iconsdir}/hicolor/scalable/categories/slideshow-symbolic.svg | |
230 | %{_iconsdir}/hicolor/scalable/emblems/slideshow-emblem.svg | |
231 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Settings-symbolic.svg | |
232 | %{_desktopdir}/gnome-*-panel.desktop | |
233 | %{_desktopdir}/gnome-control-center.desktop | |
234 | %{_pixmapsdir}/faces | |
235 | %{_mandir}/man1/gnome-control-center.1* | |
236 | ||
237 | %files devel | |
238 | %defattr(644,root,root,755) | |
239 | %{_datadir}/gettext/its/gnome-keybindings.its | |
240 | %{_datadir}/gettext/its/gnome-keybindings.loc | |
241 | %{_datadir}/gettext/its/sounds.its | |
242 | %{_datadir}/gettext/its/sounds.loc | |
243 | %{_npkgconfigdir}/gnome-keybindings.pc | |
244 | ||
245 | %files -n bash-completion-gnome-control-center | |
246 | %defattr(644,root,root,755) | |
247 | %{bash_compdir}/gnome-control-center |