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