Blame SPECS/gnome-control-center.spec

9b746a
%define gnome_online_accounts_version 3.25.3
9b746a
%define glib2_version 2.53.0
9b746a
%define gnome_desktop_version 3.27.90
9b746a
%define gsd_version 3.25.90
9b746a
%define gsettings_desktop_schemas_version 3.27.2
9b746a
%define gtk3_version 3.22.20
9b746a
%define upower_version 0.99.6
9b746a
%define cheese_version 3.28.0
9b746a
%define gnome_bluetooth_version 3.18.2
9b746a
9b746a
Name:           gnome-control-center
9b746a
Version:        3.28.2
9b746a
Release:        19%{?dist}
9b746a
Summary:        Utilities to configure the GNOME desktop
9b746a
9b746a
License:        GPLv2+ and CC-BY-SA
9b746a
URL:            http://www.gnome.org
9b746a
Source0:        https://download.gnome.org/sources/gnome-control-center/3.28/gnome-control-center-%{version}.tar.xz
9b746a
9b746a
# https://bugzilla.gnome.org/show_bug.cgi?id=695691
9b746a
Patch0:         distro-logo.patch
9b746a
# thunderbolt panel backported to 3.28.x
9b746a
# https://gitlab.gnome.org/gicmo/gnome-control-center/commits/thunderbolt_3_28_1
9b746a
Patch1:         0001-shell-Don-t-set-per-panel-icon.patch
9b746a
Patch2:         0002-shell-Icon-name-helper-returns-symbolic-name.patch
9b746a
Patch3:         0003-thunderbolt-new-panel-for-device-management.patch
9b746a
Patch4:         0004-thunderbolt-move-to-the-Devices-page.patch
9b746a
9b746a
# Backport of F29 screen sharing UI
9b746a
Patch5:         0001-sharing-Enable-settings-widget-for-gnome-remote-desk.patch
9b746a
9b746a
Patch6:         0001-wacom-Update-Test-your-settings-button-sensitivity-o.patch
9b746a
Patch7:         0001-wacom-Update-to-newer-output-setting.patch
9b746a
9b746a
# Subscription management
9b746a
Patch8:         0001-info-Add-subscription-manager-integration.patch
9b746a
9b746a
Patch9:         0001-sharing-Fix-warning-when-disabling-sharing.patch
9b746a
Patch10:        0001-network-Use-g_signal_connect_object-when-dealing-wit.patch
9b746a
9b746a
Patch11:        0001-common-fix-udev-based-device-removal.patch
9b746a
Patch12:        0001-network-Keep-a-ref-on-NetDeviceEthernet-while-a-edit.patch
9b746a
Patch13:        0001-network-Make-list-in-new-VPN-dialog-fill-up-space.patch
9b746a
Patch14:        0001-network-Make-IPv4-v6-pages-drive-the-scrolledwindow-.patch
9b746a
Patch15:        0001-network-Update-VPN-empty-label-status-after-removing.patch
9b746a
Patch16:        0001-network-Use-connect-object-on-signals.patch
9b746a
Patch17:        0001-sharing-Remember-the-password-on-remote-desktop-shar.patch
9b746a
Patch18:        0001-wacom-Pick-libwacom-s-Generic-Pen-stylus-if-tool-ID-.patch
9b746a
9b746a
Patch20:	0001-user-Support-devices-with-more-than-5-enroll-steps.patch
9b746a
Patch21:        backport-wacom-tool-id-fixes.patch
9b746a
9b746a
BuildRequires:  chrpath
9b746a
BuildRequires:  cups-devel
9b746a
BuildRequires:  desktop-file-utils
9b746a
BuildRequires:  docbook-style-xsl libxslt
9b746a
BuildRequires:  gettext
9b746a
BuildRequires:  libXxf86misc-devel
9b746a
BuildRequires:  meson
9b746a
BuildRequires:  pkgconfig(accountsservice)
9b746a
BuildRequires:  pkgconfig(cheese) >= %{cheese_version}
9b746a
BuildRequires:  pkgconfig(cheese-gtk)
9b746a
BuildRequires:  pkgconfig(clutter-gtk-1.0)
9b746a
BuildRequires:  pkgconfig(colord)
9b746a
BuildRequires:  pkgconfig(colord-gtk)
9b746a
BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
9b746a
BuildRequires:  pkgconfig(gdk-wayland-3.0)
9b746a
BuildRequires:  pkgconfig(gio-2.0) >= %{glib2_version}
9b746a
BuildRequires:  pkgconfig(gnome-desktop-3.0) >= %{gnome_desktop_version}
9b746a
BuildRequires:  pkgconfig(gnome-settings-daemon) >= %{gsd_version}
9b746a
BuildRequires:  pkgconfig(goa-1.0) >= %{gnome_online_accounts_version}
9b746a
BuildRequires:  pkgconfig(goa-backend-1.0)
9b746a
BuildRequires:  pkgconfig(grilo-0.3)
9b746a
BuildRequires:  pkgconfig(gsettings-desktop-schemas) >= %{gsettings_desktop_schemas_version}
9b746a
BuildRequires:  pkgconfig(gtk+-3.0) >= %{gtk3_version}
9b746a
BuildRequires:  pkgconfig(gudev-1.0)
9b746a
BuildRequires:  pkgconfig(ibus-1.0)
9b746a
BuildRequires:  pkgconfig(libcanberra-gtk3)
9b746a
BuildRequires:  pkgconfig(libgtop-2.0)
9b746a
BuildRequires:  pkgconfig(libnm)
9b746a
BuildRequires:  pkgconfig(libnma)
9b746a
BuildRequires:  pkgconfig(libpulse)
9b746a
BuildRequires:  pkgconfig(libpulse-mainloop-glib)
9b746a
BuildRequires:  pkgconfig(libsecret-1)
9b746a
BuildRequires:  pkgconfig(libsoup-2.4)
9b746a
BuildRequires:  pkgconfig(libxml-2.0)
9b746a
BuildRequires:  pkgconfig(mm-glib)
9b746a
BuildRequires:  pkgconfig(polkit-gobject-1)
9b746a
BuildRequires:  pkgconfig(pwquality)
9b746a
BuildRequires:  pkgconfig(smbclient)
9b746a
BuildRequires:  pkgconfig(upower-glib) >= %{upower_version}
9b746a
BuildRequires:  pkgconfig(x11)
9b746a
BuildRequires:  pkgconfig(xi)
9b746a
%ifnarch s390 s390x
9b746a
BuildRequires:  pkgconfig(gnome-bluetooth-1.0) >= %{gnome_bluetooth_version}
9b746a
BuildRequires:  pkgconfig(libwacom)
9b746a
%endif
9b746a
9b746a
# Versioned library deps
9b746a
Requires: cheese-libs%{?_isa} >= %{cheese_version}
9b746a
Requires: glib2%{?_isa} >= %{glib2_version}
9b746a
Requires: gnome-desktop3%{?_isa} >= %{gnome_desktop_version}
9b746a
Requires: gnome-online-accounts%{?_isa} >= %{gnome_online_accounts_version}
9b746a
Requires: gnome-settings-daemon%{?_isa} >= %{gsd_version}
9b746a
# For g-s-d subscription manager patches
9b746a
Requires: gnome-settings-daemon%{?_isa} >= 3.32.0-7
9b746a
Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_version}
9b746a
Requires: gtk3%{?_isa} >= %{gtk3_version}
9b746a
Requires: upower%{?_isa} >= %{upower_version}
9b746a
%ifnarch s390 s390x
9b746a
Requires: gnome-bluetooth%{?_isa} >= 1:%{gnome_bluetooth_version}
9b746a
%endif
9b746a
9b746a
Requires: %{name}-filesystem = %{version}-%{release}
9b746a
# For user accounts
9b746a
Requires: accountsservice
9b746a
Requires: alsa-lib
9b746a
# For the thunderbolt panel
9b746a
Requires: bolt
9b746a
# For the color panel
9b746a
Requires: colord
9b746a
# For the printers panel
9b746a
Requires: cups-pk-helper
9b746a
Requires: dbus-x11
9b746a
# For the info/details panel
9b746a
Requires: glx-utils
9b746a
# For the user languages
9b746a
Requires: iso-codes
9b746a
# For the network panel
9b746a
Requires: nm-connection-editor
9b746a
Recommends: NetworkManager-wifi
9b746a
%if 0%{?fedora}
9b746a
# For the sharing panel
9b746a
Requires: rygel
9b746a
%endif
9b746a
# For the info/details panel
9b746a
Requires: switcheroo-control
9b746a
# For the keyboard panel
9b746a
Requires: /usr/bin/gkbd-keyboard-display
9b746a
9b746a
Recommends: vino
9b746a
Recommends: system-config-printer-libs
9b746a
9b746a
# Renamed in F28
9b746a
Provides: control-center = 1:%{version}-%{release}
9b746a
Provides: control-center%{?_isa} = 1:%{version}-%{release}
9b746a
Obsoletes: control-center < 1:%{version}-%{release}
9b746a
9b746a
%description
9b746a
This package contains configuration utilities for the GNOME desktop, which
9b746a
allow to configure accessibility options, desktop fonts, keyboard and mouse
9b746a
properties, sound setup, desktop theme and background, user interface
9b746a
properties, screen resolution, and other settings.
9b746a
9b746a
%package filesystem
9b746a
Summary: GNOME Control Center directories
9b746a
# NOTE: this is an "inverse dep" subpackage. It gets pulled in
9b746a
# NOTE: by the main package and MUST not depend on the main package
9b746a
BuildArch: noarch
9b746a
# Renamed in F28
9b746a
Provides: control-center-filesystem = 1:%{version}-%{release}
9b746a
Obsoletes: control-center-filesystem < 1:%{version}-%{release}
9b746a
9b746a
%description filesystem
9b746a
The GNOME control-center provides a number of extension points
9b746a
for applications. This package contains directories where applications
9b746a
can install configuration files that are picked up by the control-center
9b746a
utilities.
9b746a
9b746a
%prep
9b746a
%autosetup -p1
9b746a
9b746a
%build
9b746a
%meson -Ddocumentation=true
9b746a
%meson_build
9b746a
9b746a
%install
9b746a
%meson_install
9b746a
9b746a
# We do want this
9b746a
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
9b746a
9b746a
# We don't want these
9b746a
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/autostart
9b746a
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/cursor-fonts
9b746a
9b746a
# Remove rpath
9b746a
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gnome-control-center
9b746a
9b746a
%find_lang %{name} --all-name --with-gnome
9b746a
9b746a
%files -f %{name}.lang
9b746a
%license COPYING
9b746a
%doc AUTHORS NEWS README
9b746a
%{_bindir}/gnome-control-center
9b746a
%{_datadir}/applications/*.desktop
9b746a
%{_datadir}/bash-completion/completions/gnome-control-center
9b746a
%{_datadir}/dbus-1/services/org.gnome.ControlCenter.SearchProvider.service
9b746a
%{_datadir}/dbus-1/services/org.gnome.ControlCenter.service
9b746a
%{_datadir}/gettext/
9b746a
%{_datadir}/glib-2.0/schemas/org.gnome.ControlCenter.gschema.xml
9b746a
%{_datadir}/gnome-control-center/icons/
9b746a
%{_datadir}/gnome-control-center/keybindings/*.xml
9b746a
%{_datadir}/gnome-control-center/pixmaps
9b746a
%{_datadir}/gnome-control-center/sounds/gnome-sounds-default.xml
9b746a
%{_datadir}/gnome-shell/search-providers/gnome-control-center-search-provider.ini
9b746a
%{_datadir}/icons/hicolor/*/*/*
9b746a
%{_datadir}/man/man1/gnome-control-center.1*
9b746a
%{_datadir}/metainfo/gnome-control-center.appdata.xml
9b746a
%{_datadir}/pixmaps/faces
9b746a
%{_datadir}/pkgconfig/gnome-keybindings.pc
9b746a
%{_datadir}/polkit-1/actions/org.gnome.controlcenter.*.policy
9b746a
%{_datadir}/polkit-1/rules.d/gnome-control-center.rules
9b746a
%{_datadir}/sounds/gnome/default/*/*.ogg
9b746a
%{_libexecdir}/cc-remote-login-helper
9b746a
%{_libexecdir}/gnome-control-center-search-provider
9b746a
9b746a
%files filesystem
9b746a
%dir %{_datadir}/gnome-control-center
9b746a
%dir %{_datadir}/gnome-control-center/keybindings
9b746a
%dir %{_datadir}/gnome-control-center/sounds
9b746a
%dir %{_datadir}/gnome/wm-properties
9b746a
9b746a
%changelog
9b746a
* Fri Feb 21 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-19
9b746a
- Backport tool serial/ID detection fixes
9b746a
- Resolves: #1782517
9b746a
9b746a
* Thu Feb 13 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-18
9b746a
- Pick "Generic Pen" correctly on unknown tool IDs
9b746a
- Resolves: #1782517
9b746a
9b746a
* Thu Feb 13 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-17
9b746a
- Restore remote desktop password on wayland
9b746a
- Resolves: #1763207
9b746a
9b746a
* Mon Jan 20 2020 Benjamin Berg <bberg@redhat.com> - 3.28.2-16
9b746a
- Add patch to support more than 5 enroll steps
9b746a
- Resolves: #1789474
9b746a
9b746a
* Mon Dec 16 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-15
9b746a
- Fix another crash changing panel with Ethernet dialog opened
9b746a
- Resolves: #1692299
9b746a
9b746a
* Fri Dec 13 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-14
9b746a
- Restore placeholder label after removing last VPN connection
9b746a
- Resolves: #1782425
9b746a
9b746a
* Fri Dec 13 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-13
9b746a
- Make IPv4/v6 configuration pages scroll to focus
9b746a
- Resolves: #1671709
9b746a
9b746a
* Fri Dec 13 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-12
9b746a
- Fix spacing in "new VPN" dialog
9b746a
- Resolves: #1656988
9b746a
9b746a
* Wed Dec 04 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-11
9b746a
- Fix crash when changing panel with Ethernet dialog opened
9b746a
- Resolves: #1692299
9b746a
9b746a
* Wed Dec 04 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-10
9b746a
- Fix Wacom tablet removal on wayland session
9b746a
- Resolves: #1658001
9b746a
9b746a
* Tue Dec 03 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-9
9b746a
- Fix possible crash when closing the wifi panel
9b746a
- Resolves: #1778668
9b746a
9b746a
* Mon Dec 01 2019 Tomas Pelka <tpelka@redhat.com> - 3.28.2-8
9b746a
- Need rebuild in correct build target
9b746a
- Resolves: #1749372
9b746a
9b746a
* Fri Nov 29 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-7
9b746a
- Fix warning when disabling sharing
9b746a
- Resolves: #1749372
9b746a
9b746a
* Mon Nov 18 2019 Kalev Lember <klember@redhat.com> - 3.28.2-6
9b746a
- Add subscription manager integration
9b746a
- Resolves: #1720251
9b746a
9b746a
* Tue Jul 23 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-5
9b746a
- Update wacom panel to newer "output" setting
9b746a
- Resolves: #1718133
9b746a
9b746a
* Mon Feb 11 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-4
9b746a
- Update "Test your settings" wacom button sensitivity on device availability
9b746a
- Resolves: #1656995
9b746a
9b746a
* Thu Dec 13 2018 Marek Kasik <mkasik@redhat.com> - 3.28.2-3
9b746a
- Recommend system-config-printer-libs as a dependency
9b746a
- Resolves: #1637370
9b746a
9b746a
* Tue Aug 14 2018 Jonas Ã…dahl <jadahl@redhat.com> - 3.28.2-1
9b746a
- Backport screen sharing UI (rhbz#1615810)
9b746a
9b746a
* Tue May 29 2018 Kalev Lember <klember@redhat.com> - 3.28.2-1
9b746a
- Update to 3.28.2
9b746a
9b746a
* Wed May 23 2018 Pete Walter <pwalter@fedoraproject.org> - 3.28.1-4
9b746a
- Change NetworkManager-wifi requires to recommends (#1478661)
9b746a
9b746a
* Tue May 22 2018 Ray Strode <rstrode@redhat.com> - 3.28.1-3
9b746a
- Change vino requires to a vino recommends
9b746a
9b746a
* Fri Apr 13 2018 Kalev Lember <klember@redhat.com> - 3.28.1-2
9b746a
- Backport new thunderbolt panel
9b746a
9b746a
* Tue Apr 10 2018 Pete Walter <pwalter@fedoraproject.org> - 3.28.1-1
9b746a
- Rename control-center to gnome-control-center