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