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