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