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