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