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
cbd954
%define gsd_version 3.32.0-13
cbd954
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
44c0da
Release:        33%{?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
cbd954
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
8f3d66
Patch7:         0001-wacom-Update-to-newer-output-setting.patch
02512f
a780b2
# Subscription management
cbd954
Patch80001:     0001-info-Add-subscription-manager-integration.patch
cbd954
Patch80002:     0002-info-Move-helper-for-getting-subscription-status-to-.patch
cbd954
Patch80003:     0003-info-Update-registration-state-in-panel-when-it-happ.patch
cbd954
Patch80004:     0004-info-Better-support-registered-but-no-subscriptions-.patch
a780b2
a780b2
Patch9:         0001-sharing-Fix-warning-when-disabling-sharing.patch
a780b2
Patch10:        0001-network-Use-g_signal_connect_object-when-dealing-wit.patch
a780b2
a780b2
Patch11:        0001-common-fix-udev-based-device-removal.patch
a780b2
Patch12:        0001-network-Keep-a-ref-on-NetDeviceEthernet-while-a-edit.patch
a780b2
Patch13:        0001-network-Make-list-in-new-VPN-dialog-fill-up-space.patch
a780b2
Patch14:        0001-network-Make-IPv4-v6-pages-drive-the-scrolledwindow-.patch
a780b2
Patch15:        0001-network-Update-VPN-empty-label-status-after-removing.patch
a780b2
Patch16:        0001-network-Use-connect-object-on-signals.patch
a780b2
Patch17:        0001-sharing-Remember-the-password-on-remote-desktop-shar.patch
a780b2
Patch18:        0001-wacom-Pick-libwacom-s-Generic-Pen-stylus-if-tool-ID-.patch
a780b2
9fcf5c
Patch20:        0001-user-Support-devices-with-more-than-5-enroll-steps.patch
a780b2
Patch21:        backport-wacom-tool-id-fixes.patch
9fcf5c
Patch22:        0001-power-correct-the-value-of-90-minutes-to-5400.patch
9fcf5c
Patch23:        0001-sound-Ensure-to-preserve-sound-theme-when-changing-f.patch
9fcf5c
9fcf5c
Patch24:        categorize-infiniband.patch
a780b2
cbd954
Patch25:        printers-Update-entries.patch
cbd954
cbd954
# https://bugzilla.redhat.com/show_bug.cgi?id=1876291
cbd954
Patch26:        Update-translations.patch
cbd954
44c0da
# https://bugzilla.redhat.com/show_bug.cgi?id=1938323
44c0da
Patch31:        0001-network-Populate-AP-list-from-idle-handler.patch
44c0da
# https://bugzilla.redhat.com/show_bug.cgi?id=1915411
44c0da
Patch32:        0002-ce-page-security-add-SAE-support.patch
44c0da
Patch33:        0003-ce-page-details-add-SAE-support.patch
44c0da
Patch34:        0004-net-device-wifi-Decode-SAE-AP-security.patch
44c0da
Patch35:        0005-network-complete-SAE-support.patch
44c0da
Patch36:        0006-Add-support-for-Enhanced-Open-WiFi-security.patch
44c0da
Patch37:        0007-network-Fix-connection-selection-and-SSID-display-fo.patch
44c0da
# https://bugzilla.redhat.com/show_bug.cgi?id=1938944
44c0da
Patch38:        0008-network-Fix-saving-passwords-for-non-wifi-connection.patch
44c0da
44c0da
# Backport monitor config policy (#2001655)
44c0da
Patch39:        0001-display-Only-display-configuration-options-if-apply-.patch
44c0da
44c0da
Patch40:        0001-displays-Don-t-enlarge-display-panel-artificially.patch
44c0da
44c0da
# Workaround for libnma not handling OWE https://gitlab.gnome.org/GNOME/libnma/-/issues/9
44c0da
Patch41:        0001-network-Fix-OWE-settings.patch
c6c27c
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}
a780b2
# For g-s-d subscription manager patches
a780b2
Requires: gnome-settings-daemon%{?_isa} >= 3.32.0-7
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
44c0da
* Thu Feb 24 2022 Benjamin Berg <bberg@redhat.com> - 3.28.2-33
44c0da
- Work around libnma not handling OWE
44c0da
  Related: #2023156
44c0da
44c0da
* Thu Feb 10 2022 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-32
44c0da
- Make displays panel able to fit in 800x600 resolution
44c0da
  Resolves: #1893650
44c0da
44c0da
* Fri Feb 04 2022 Jonas Ã…dahl <jadahl@redhat.com> - 3.28.3-31
44c0da
- Backport monitor config policy
44c0da
  Resolves: #2001655
44c0da
44c0da
* Tue Jan 04 2022 Benjamin Berg <bberg@redhat.com> - 3.28.2-30
44c0da
- Fix connection list AP selection and SSID display for OWE
44c0da
  Resolves: #2023156
44c0da
- Fix saving passwords for non-wifi connections
44c0da
  Resolves: #1938944
44c0da
44c0da
* Wed Nov 10 2021 Benjamin Berg <bberg@redhat.com> - 3.28.2-29
44c0da
- Backport SAE/WPA3/OWE support
44c0da
  Resolves: #1915411
44c0da
  Resolves: #2023156
44c0da
- Add patch to fix wifi performance issue
44c0da
  Resolves: #1938323
c6c27c
ba9782
* Fri Sep 10 2021 Kalev Lember <klember@redhat.com> - 3.28.2-28
ba9782
- Update pt_BR translations
44c0da
- Resolves: #2003069
ba9782
ba9782
* Fri Jul 02 2021 Tomas Popela <tpopela@redhat.com> - 3.28.2-27
cbd954
- Update fr, ja, zh_CN translations
ba9782
- Resolves: #1933962
cbd954
cbd954
* Sun Jan 24 2021 Ray Strode <rstrode@redhat.com> - 3.28.2-26
cbd954
- Support Simple Content Access from subscription manager
cbd954
  Related: #1870837
cbd954
cbd954
* Thu Dec 03 2020 Marek Kasik <mkasik@redhat.com> - 3.28.2-25
cbd954
- Fix a leak found by Coverity
cbd954
- Related: #1700002
cbd954
cbd954
* Wed Dec 02 2020 Marek Kasik <mkasik@redhat.com> - 3.28.2-24
cbd954
- Fix crashes when updating printer entries
cbd954
- Related: #1700002
cbd954
- Resolves: #1903043
cbd954
cbd954
* Tue Nov 24 2020 Marek Kasik <mkasik@redhat.com> - 3.28.2-23
cbd954
- Update list of printers instead of regenerating it
cbd954
- Resolves: #1700002
cbd954
9fcf5c
* Wed Sep 02 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-22
9fcf5c
- Categorize Infiniband devices correctly
9fcf5c
  Resolves: #1826379
9fcf5c
9fcf5c
* Mon Jun 29 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-21
9fcf5c
- Honor sound theme changes when changing from the default theme
9fcf5c
- Resolves: #1706008
9fcf5c
9fcf5c
* Mon Jun 29 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-20
9fcf5c
- Fix 90min automatic sleep option to not last 80min
9fcf5c
- Resolves: #1706076
9fcf5c
a780b2
* Fri Feb 21 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-19
a780b2
- Backport tool serial/ID detection fixes
a780b2
- Resolves: #1782517
a780b2
a780b2
* Thu Feb 13 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-18
a780b2
- Pick "Generic Pen" correctly on unknown tool IDs
a780b2
- Resolves: #1782517
a780b2
a780b2
* Thu Feb 13 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-17
a780b2
- Restore remote desktop password on wayland
a780b2
- Resolves: #1763207
a780b2
a780b2
* Mon Jan 20 2020 Benjamin Berg <bberg@redhat.com> - 3.28.2-16
a780b2
- Add patch to support more than 5 enroll steps
a780b2
- Resolves: #1789474
a780b2
a780b2
* Mon Dec 16 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-15
a780b2
- Fix another crash changing panel with Ethernet dialog opened
a780b2
- Resolves: #1692299
a780b2
a780b2
* Fri Dec 13 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-14
a780b2
- Restore placeholder label after removing last VPN connection
a780b2
- Resolves: #1782425
a780b2
a780b2
* Fri Dec 13 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-13
a780b2
- Make IPv4/v6 configuration pages scroll to focus
a780b2
- Resolves: #1671709
a780b2
a780b2
* Fri Dec 13 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-12
a780b2
- Fix spacing in "new VPN" dialog
a780b2
- Resolves: #1656988
a780b2
a780b2
* Wed Dec 04 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-11
a780b2
- Fix crash when changing panel with Ethernet dialog opened
a780b2
- Resolves: #1692299
a780b2
a780b2
* Wed Dec 04 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-10
a780b2
- Fix Wacom tablet removal on wayland session
a780b2
- Resolves: #1658001
a780b2
a780b2
* Tue Dec 03 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-9
a780b2
- Fix possible crash when closing the wifi panel
a780b2
- Resolves: #1778668
a780b2
a780b2
* Mon Dec 01 2019 Tomas Pelka <tpelka@redhat.com> - 3.28.2-8
a780b2
- Need rebuild in correct build target
a780b2
- Resolves: #1749372
a780b2
a780b2
* Fri Nov 29 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-7
a780b2
- Fix warning when disabling sharing
a780b2
- Resolves: #1749372
a780b2
a780b2
* Mon Nov 18 2019 Kalev Lember <klember@redhat.com> - 3.28.2-6
a780b2
- Add subscription manager integration
a780b2
- Resolves: #1720251
a780b2
8f3d66
* Tue Jul 23 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-5
8f3d66
- Update wacom panel to newer "output" setting
8f3d66
- Resolves: #1718133
8f3d66
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