Blame SPECS/gnome-control-center.spec

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