]>
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 |
5d65ebf7 | 26 | BuildRequires: OpenGL-devel |
aebca01c | 27 | BuildRequires: accountsservice-devel >= 0.6.39 |
8a58cfa6 | 28 | BuildRequires: cheese-devel >= 3.28.0 |
137a1374 | 29 | BuildRequires: clutter-devel >= 1.12.0 |
49c1b881 | 30 | BuildRequires: clutter-gtk-devel |
6a6da2bb | 31 | BuildRequires: colord-devel >= 0.1.34 |
5d65ebf7 | 32 | BuildRequires: colord-gtk-devel >= 0.1.24 |
03729506 | 33 | BuildRequires: cups-devel >= 1.4 |
793a5ee7 | 34 | BuildRequires: docbook-dtd412-xml |
81e3c1bf | 35 | BuildRequires: gdk-pixbuf2-devel >= 2.24.0 |
81b46770 | 36 | BuildRequires: gettext-tools >= 0.17 |
3cdcfd53 | 37 | BuildRequires: glib2-devel >= 1:2.54.0 |
137a1374 | 38 | BuildRequires: gnome-bluetooth-devel >= 3.18.2 |
4ee0ad5b | 39 | BuildRequires: gnome-common >= 2.24.0 |
08818d7d | 40 | BuildRequires: gnome-desktop-devel >= 3.28.0 |
81e3c1bf | 41 | BuildRequires: gnome-menus-devel >= 3.4.0 |
3cdcfd53 MB |
42 | BuildRequires: gnome-online-accounts-devel >= 3.26.0 |
43 | BuildRequires: gnome-settings-daemon-devel >= 1:3.26.0 | |
137a1374 | 44 | BuildRequires: grilo-devel >= 0.3.0 |
8a58cfa6 | 45 | BuildRequires: gsettings-desktop-schemas-devel >= 3.31.0 |
49c1b881 | 46 | BuildRequires: gstreamer-devel >= 1.0 |
08818d7d | 47 | BuildRequires: gtk+3-devel >= 3.22.20 |
49c1b881 | 48 | BuildRequires: heimdal-devel |
6a6da2bb | 49 | %{?with_ibus:BuildRequires: ibus-devel >= 1.5.2} |
03729506 | 50 | BuildRequires: libcanberra-gtk3-devel >= 0.26 |
03729506 | 51 | BuildRequires: libgtop-devel |
8a58cfa6 | 52 | BuildRequires: libhandy-devel >= 0.0.9 |
4b3abb10 | 53 | BuildRequires: libnotify-devel >= 0.7.3 |
6a6da2bb MB |
54 | BuildRequires: libpwquality-devel >= 1.2.2 |
55 | BuildRequires: libsmbclient-devel | |
6a6da2bb | 56 | BuildRequires: libsoup-devel |
5d65ebf7 | 57 | BuildRequires: libwacom-devel >= 0.7 |
2b3469b3 | 58 | BuildRequires: libxml2-devel >= 1:2.6.31 |
8a58cfa6 | 59 | BuildRequires: meson >= 0.48.0 |
bbeef7c2 | 60 | BuildRequires: pkgconfig |
eb5b20d5 | 61 | BuildRequires: polkit-devel >= 0.103 |
49c1b881 | 62 | BuildRequires: pulseaudio-devel >= 2.0 |
dbae2c4e | 63 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
bbeef7c2 | 64 | BuildRequires: rpmbuild(macros) >= 1.311 |
4b3abb10 | 65 | BuildRequires: tar >= 1:1.22 |
8a58cfa6 JB |
66 | %{?with_wayland:BuildRequires: udev-glib-devel} |
67 | BuildRequires: upower-devel >= 0.99.8 | |
68 | BuildRequires: xorg-lib-libX11-devel | |
5d65ebf7 | 69 | BuildRequires: xorg-lib-libXi-devel >= 1.2 |
4b3abb10 | 70 | BuildRequires: xz |
49c1b881 | 71 | BuildRequires: yelp-tools |
bbeef7c2 | 72 | Requires(post,postun): desktop-file-utils |
08818d7d | 73 | Requires(post,postun): glib2 >= 1:2.54.0 |
491e395f | 74 | Requires(post,postun): gtk-update-icon-cache |
8a58cfa6 JB |
75 | Requires: accountsservice >= 0.6.39 |
76 | Requires: cheese-libs >= 3.28.0 | |
de7f6995 | 77 | Requires: cups-pk-helper |
bbeef7c2 | 78 | Requires: desktop-file-utils |
3cdcfd53 | 79 | Requires: glib2 >= 1:2.54.0 |
8a58cfa6 | 80 | Requires: gnome-bluetooth-libs >= 3.18.2 |
08818d7d | 81 | Requires: gnome-desktop >= 3.28.0 |
3cdcfd53 MB |
82 | Requires: gnome-online-accounts >= 3.26.0 |
83 | Requires: gnome-settings-daemon >= 1:3.26.0 | |
8a58cfa6 | 84 | Requires: gsettings-desktop-schemas >= 3.31.0 |
08818d7d | 85 | Requires: gtk+3 >= 3.22.20 |
03729506 | 86 | Requires: hicolor-icon-theme |
8a58cfa6 JB |
87 | Requires: libhandy >= 0.0.9 |
88 | Requires: libwacom >= 0.7 | |
137a1374 | 89 | Requires: polkit >= 0.103 |
3626efd5 | 90 | Requires: tzdata |
8a58cfa6 | 91 | Requires: upower-libs >= 0.99.8 |
137a1374 MB |
92 | Suggests: NetworkManager-applet |
93 | Suggests: cups | |
94 | Suggests: gnome-color-manager | |
a7a15a10 | 95 | Suggests: libcanberra-gnome |
137a1374 | 96 | Suggests: libgnomekbd |
6908e703 MB |
97 | # info panel needs glxinfo |
98 | Suggests: mesa-utils | |
03729506 | 99 | Suggests: mousetweaks >= 3.0.0 |
bbeef7c2 PZ |
100 | Provides: control-center = %{epoch}:%{version}-%{release} |
101 | Obsoletes: acme | |
102 | Obsoletes: control-center | |
eb5b20d5 | 103 | Obsoletes: control-center-libs |
bbeef7c2 PZ |
104 | Obsoletes: fontilus |
105 | Obsoletes: gnome | |
eb5b20d5 | 106 | Obsoletes: gnome-control-center-libs |
03729506 | 107 | Obsoletes: gnome-media-volume-control |
bbeef7c2 | 108 | Obsoletes: themus |
c036b520 | 109 | # sr@Latn vs. sr@latin |
110 | Conflicts: glibc-misc < 6:2.7 | |
bbeef7c2 PZ |
111 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
112 | ||
113 | %description | |
114 | A Configuration tool for easily setting up your GNOME environment. | |
115 | ||
116 | %description -l es.UTF-8 | |
117 | El control-center es una herramienta para una configuración facilitada | |
118 | el entorno GNOME. | |
119 | ||
120 | %description -l pl.UTF-8 | |
121 | Narzędzie do łatwej konfiguracji środowiska GNOME. | |
122 | ||
123 | %description -l pt_BR.UTF-8 | |
124 | O Control Center é uma ferramenta para facilmente configurar seu | |
125 | ambiente GNOME. | |
126 | ||
127 | %description -l ru.UTF-8 | |
128 | Пакет Control Center содержит утилиты, позволяющие настраивать среду | |
129 | GNOME вашей системы (такие вещи как фон рабочего стола и темы, | |
130 | программа сохранения экрана, оконный менеджер, системные звуки, | |
131 | поведение мыши и др.) | |
132 | ||
133 | Этот пакет нужен, если вы устанавливаете среду GNOME. | |
134 | ||
135 | %description -l uk.UTF-8 | |
136 | Пакет Control Center містить утиліти, які дозволяють настроювати | |
137 | середовище GNOME вашої системи (такі речі як фон робочого столу та | |
138 | теми, програма збереження екрану, віконний менеджер, системні звуки, | |
139 | поведінка миші та ін.) | |
140 | ||
141 | Цей пакет потрібний, якщо ви встановлюєте середовище GNOME. | |
142 | ||
bbeef7c2 | 143 | %package devel |
eb5b20d5 ŁK |
144 | Summary: GNOME Control Center development files |
145 | Summary(pl.UTF-8): Pliki programistyczne GNOME Control Center | |
bbeef7c2 | 146 | Group: X11/Development/Libraries |
567fe714 | 147 | Provides: control-center-devel = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
148 | Obsoletes: control-center-devel |
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 |