Blame SPECS/gnome-control-center.spec

02512f
%define gnome_online_accounts_version 3.25.3
02512f
%define glib2_version 2.53.0
02512f
%define gnome_desktop_version 3.27.90
02512f
%define gsd_version 3.25.90
02512f
%define gsettings_desktop_schemas_version 3.27.2
02512f
%define gtk3_version 3.22.20
02512f
%define upower_version 0.99.6
02512f
%define cheese_version 3.28.0
02512f
%define gnome_bluetooth_version 3.18.2
02512f
02512f
Name:           gnome-control-center
02512f
Version:        3.28.2
02512f
Release:        4%{?dist}
02512f
Summary:        Utilities to configure the GNOME desktop
02512f
02512f
License:        GPLv2+ and CC-BY-SA
02512f
URL:            http://www.gnome.org
02512f
Source0:        https://download.gnome.org/sources/gnome-control-center/3.28/gnome-control-center-%{version}.tar.xz
02512f
02512f
# https://bugzilla.gnome.org/show_bug.cgi?id=695691
02512f
Patch0:         distro-logo.patch
02512f
# thunderbolt panel backported to 3.28.x
02512f
# https://gitlab.gnome.org/gicmo/gnome-control-center/commits/thunderbolt_3_28_1
02512f
Patch1:         0001-shell-Don-t-set-per-panel-icon.patch
02512f
Patch2:         0002-shell-Icon-name-helper-returns-symbolic-name.patch
02512f
Patch3:         0003-thunderbolt-new-panel-for-device-management.patch
02512f
Patch4:         0004-thunderbolt-move-to-the-Devices-page.patch
02512f
02512f
# Backport of F29 screen sharing UI
02512f
Patch5:         0001-sharing-Enable-settings-widget-for-gnome-remote-desk.patch
02512f
02512f
Patch6:         0001-wacom-Update-Test-your-settings-button-sensitivity-o.patch
02512f
02512f
BuildRequires:  chrpath
02512f
BuildRequires:  cups-devel
02512f
BuildRequires:  desktop-file-utils
02512f
BuildRequires:  docbook-style-xsl libxslt
02512f
BuildRequires:  gettext
02512f
BuildRequires:  libXxf86misc-devel
02512f
BuildRequires:  meson
02512f
BuildRequires:  pkgconfig(accountsservice)
02512f
BuildRequires:  pkgconfig(cheese) >= %{cheese_version}
02512f
BuildRequires:  pkgconfig(cheese-gtk)
02512f
BuildRequires:  pkgconfig(clutter-gtk-1.0)
02512f
BuildRequires:  pkgconfig(colord)
02512f
BuildRequires:  pkgconfig(colord-gtk)
02512f
BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
02512f
BuildRequires:  pkgconfig(gdk-wayland-3.0)
02512f
BuildRequires:  pkgconfig(gio-2.0) >= %{glib2_version}
02512f
BuildRequires:  pkgconfig(gnome-desktop-3.0) >= %{gnome_desktop_version}
02512f
BuildRequires:  pkgconfig(gnome-settings-daemon) >= %{gsd_version}
02512f
BuildRequires:  pkgconfig(goa-1.0) >= %{gnome_online_accounts_version}
02512f
BuildRequires:  pkgconfig(goa-backend-1.0)
02512f
BuildRequires:  pkgconfig(grilo-0.3)
02512f
BuildRequires:  pkgconfig(gsettings-desktop-schemas) >= %{gsettings_desktop_schemas_version}
02512f
BuildRequires:  pkgconfig(gtk+-3.0) >= %{gtk3_version}
02512f
BuildRequires:  pkgconfig(gudev-1.0)
02512f
BuildRequires:  pkgconfig(ibus-1.0)
02512f
BuildRequires:  pkgconfig(libcanberra-gtk3)
02512f
BuildRequires:  pkgconfig(libgtop-2.0)
02512f
BuildRequires:  pkgconfig(libnm)
02512f
BuildRequires:  pkgconfig(libnma)
02512f
BuildRequires:  pkgconfig(libpulse)
02512f
BuildRequires:  pkgconfig(libpulse-mainloop-glib)
02512f
BuildRequires:  pkgconfig(libsecret-1)
02512f
BuildRequires:  pkgconfig(libsoup-2.4)
02512f
BuildRequires:  pkgconfig(libxml-2.0)
02512f
BuildRequires:  pkgconfig(mm-glib)
02512f
BuildRequires:  pkgconfig(polkit-gobject-1)
02512f
BuildRequires:  pkgconfig(pwquality)
02512f
BuildRequires:  pkgconfig(smbclient)
02512f
BuildRequires:  pkgconfig(upower-glib) >= %{upower_version}
02512f
BuildRequires:  pkgconfig(x11)
02512f
BuildRequires:  pkgconfig(xi)
02512f
%ifnarch s390 s390x
02512f
BuildRequires:  pkgconfig(gnome-bluetooth-1.0) >= %{gnome_bluetooth_version}
02512f
BuildRequires:  pkgconfig(libwacom)
02512f
%endif
02512f
02512f
# Versioned library deps
02512f
Requires: cheese-libs%{?_isa} >= %{cheese_version}
02512f
Requires: glib2%{?_isa} >= %{glib2_version}
02512f
Requires: gnome-desktop3%{?_isa} >= %{gnome_desktop_version}
02512f
Requires: gnome-online-accounts%{?_isa} >= %{gnome_online_accounts_version}
02512f
Requires: gnome-settings-daemon%{?_isa} >= %{gsd_version}
02512f
Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_version}
02512f
Requires: gtk3%{?_isa} >= %{gtk3_version}
02512f
Requires: upower%{?_isa} >= %{upower_version}
02512f
%ifnarch s390 s390x
02512f
Requires: gnome-bluetooth%{?_isa} >= 1:%{gnome_bluetooth_version}
02512f
%endif
02512f
02512f
Requires: %{name}-filesystem = %{version}-%{release}
02512f
# For user accounts
02512f
Requires: accountsservice
02512f
Requires: alsa-lib
02512f
# For the thunderbolt panel
02512f
Requires: bolt
02512f
# For the color panel
02512f
Requires: colord
02512f
# For the printers panel
02512f
Requires: cups-pk-helper
02512f
Requires: dbus-x11
02512f
# For the info/details panel
02512f
Requires: glx-utils
02512f
# For the user languages
02512f
Requires: iso-codes
02512f
# For the network panel
02512f
Requires: nm-connection-editor
02512f
Recommends: NetworkManager-wifi
02512f
%if 0%{?fedora}
02512f
# For the sharing panel
02512f
Requires: rygel
02512f
%endif
02512f
# For the info/details panel
02512f
Requires: switcheroo-control
02512f
# For the keyboard panel
02512f
Requires: /usr/bin/gkbd-keyboard-display
02512f
02512f
Recommends: vino
02512f
Recommends: system-config-printer-libs
02512f
02512f
# Renamed in F28
02512f
Provides: control-center = 1:%{version}-%{release}
02512f
Provides: control-center%{?_isa} = 1:%{version}-%{release}
02512f
Obsoletes: control-center < 1:%{version}-%{release}
02512f
02512f
%description
02512f
This package contains configuration utilities for the GNOME desktop, which
02512f
allow to configure accessibility options, desktop fonts, keyboard and mouse
02512f
properties, sound setup, desktop theme and background, user interface
02512f
properties, screen resolution, and other settings.
02512f
02512f
%package filesystem
02512f
Summary: GNOME Control Center directories
02512f
# NOTE: this is an "inverse dep" subpackage. It gets pulled in
02512f
# NOTE: by the main package and MUST not depend on the main package
02512f
BuildArch: noarch
02512f
# Renamed in F28
02512f
Provides: control-center-filesystem = 1:%{version}-%{release}
02512f
Obsoletes: control-center-filesystem < 1:%{version}-%{release}
02512f
02512f
%description filesystem
02512f
The GNOME control-center provides a number of extension points
02512f
for applications. This package contains directories where applications
02512f
can install configuration files that are picked up by the control-center
02512f
utilities.
02512f
02512f
%prep
02512f
%autosetup -p1
02512f
02512f
%build
02512f
%meson -Ddocumentation=true
02512f
%meson_build
02512f
02512f
%install
02512f
%meson_install
02512f
02512f
# We do want this
02512f
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
02512f
02512f
# We don't want these
02512f
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/autostart
02512f
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/cursor-fonts
02512f
02512f
# Remove rpath
02512f
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gnome-control-center
02512f
02512f
%find_lang %{name} --all-name --with-gnome
02512f
02512f
%files -f %{name}.lang
02512f
%license COPYING
02512f
%doc AUTHORS NEWS README
02512f
%{_bindir}/gnome-control-center
02512f
%{_datadir}/applications/*.desktop
02512f
%{_datadir}/bash-completion/completions/gnome-control-center
02512f
%{_datadir}/dbus-1/services/org.gnome.ControlCenter.SearchProvider.service
02512f
%{_datadir}/dbus-1/services/org.gnome.ControlCenter.service
02512f
%{_datadir}/gettext/
02512f
%{_datadir}/glib-2.0/schemas/org.gnome.ControlCenter.gschema.xml
02512f
%{_datadir}/gnome-control-center/icons/
02512f
%{_datadir}/gnome-control-center/keybindings/*.xml
02512f
%{_datadir}/gnome-control-center/pixmaps
02512f
%{_datadir}/gnome-control-center/sounds/gnome-sounds-default.xml
02512f
%{_datadir}/gnome-shell/search-providers/gnome-control-center-search-provider.ini
02512f
%{_datadir}/icons/hicolor/*/*/*
02512f
%{_datadir}/man/man1/gnome-control-center.1*
02512f
%{_datadir}/metainfo/gnome-control-center.appdata.xml
02512f
%{_datadir}/pixmaps/faces
02512f
%{_datadir}/pkgconfig/gnome-keybindings.pc
02512f
%{_datadir}/polkit-1/actions/org.gnome.controlcenter.*.policy
02512f
%{_datadir}/polkit-1/rules.d/gnome-control-center.rules
02512f
%{_datadir}/sounds/gnome/default/*/*.ogg
02512f
%{_libexecdir}/cc-remote-login-helper
02512f
%{_libexecdir}/gnome-control-center-search-provider
02512f
02512f
%files filesystem
02512f
%dir %{_datadir}/gnome-control-center
02512f
%dir %{_datadir}/gnome-control-center/keybindings
02512f
%dir %{_datadir}/gnome-control-center/sounds
02512f
%dir %{_datadir}/gnome/wm-properties
02512f
02512f
%changelog
02512f
* Mon Feb 11 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-4
02512f
- Update "Test your settings" wacom button sensitivity on device availability
02512f
- Resolves: #1656995
02512f
02512f
* Thu Dec 13 2018 Marek Kasik <mkasik@redhat.com> - 3.28.2-3
02512f
- Recommend system-config-printer-libs as a dependency
02512f
- Resolves: #1637370
02512f
02512f
* Tue Aug 14 2018 Jonas Ã…dahl <jadahl@redhat.com> - 3.28.2-1
02512f
- Backport screen sharing UI (rhbz#1615810)
02512f
02512f
* Tue May 29 2018 Kalev Lember <klember@redhat.com> - 3.28.2-1
02512f
- Update to 3.28.2
02512f
02512f
* Wed May 23 2018 Pete Walter <pwalter@fedoraproject.org> - 3.28.1-4
02512f
- Change NetworkManager-wifi requires to recommends (#1478661)
02512f
02512f
* Tue May 22 2018 Ray Strode <rstrode@redhat.com> - 3.28.1-3
02512f
- Change vino requires to a vino recommends
02512f
02512f
* Fri Apr 13 2018 Kalev Lember <klember@redhat.com> - 3.28.1-2
02512f
- Backport new thunderbolt panel
02512f
02512f
* Tue Apr 10 2018 Pete Walter <pwalter@fedoraproject.org> - 3.28.1-1
02512f
- Rename control-center to gnome-control-center