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