## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %define gnome_online_accounts_version 3.25.3 %define glib2_version 2.75.0 %define gnome_desktop_version 42~alpha %define gsd_version 41.0 %define gsettings_desktop_schemas_version 42~alpha %define upower_version 0.99.8 %define gtk4_version 4.9.3 %define gnome_bluetooth_version 42~alpha %define libadwaita_version 1.2~alpha %define nm_version 1.24 %global tarball_version %%(echo %{version} | tr '~' '.') Name: gnome-control-center Version: 44.1 Release: %autorelease Summary: Utilities to configure the GNOME desktop License: GPL-2.0-or-later AND CC0-1.0 URL: https://gitlab.gnome.org/GNOME/gnome-control-center/ Source0: https://download.gnome.org/sources/%{name}/44/%{name}-%{tarball_version}.tar.xz BuildRequires: desktop-file-utils BuildRequires: docbook-style-xsl libxslt BuildRequires: gcc BuildRequires: gettext BuildRequires: meson BuildRequires: pkgconfig(accountsservice) BuildRequires: pkgconfig(clutter-gtk-1.0) BuildRequires: pkgconfig(colord) BuildRequires: pkgconfig(colord-gtk4) BuildRequires: pkgconfig(cups) BuildRequires: pkgconfig(gcr-base-3) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gdk-wayland-3.0) BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version} BuildRequires: pkgconfig(gnome-desktop-4) >= %{gnome_desktop_version} BuildRequires: pkgconfig(gnome-settings-daemon) >= %{gsd_version} BuildRequires: pkgconfig(goa-1.0) >= %{gnome_online_accounts_version} BuildRequires: pkgconfig(goa-backend-1.0) BuildRequires: pkgconfig(gsettings-desktop-schemas) >= %{gsettings_desktop_schemas_version} BuildRequires: pkgconfig(gsound) BuildRequires: pkgconfig(gtk4) >= %{gtk4_version} BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(ibus-1.0) BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version} BuildRequires: pkgconfig(libgtop-2.0) BuildRequires: pkgconfig(libnm) >= %{nm_version} BuildRequires: pkgconfig(libnma-gtk4) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libpulse-mainloop-glib) BuildRequires: pkgconfig(libsecret-1) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(malcontent-0) BuildRequires: pkgconfig(mm-glib) BuildRequires: pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(pwquality) BuildRequires: pkgconfig(smbclient) BuildRequires: pkgconfig(udisks2) BuildRequires: pkgconfig(upower-glib) >= %{upower_version} BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xi) %ifnarch s390 s390x BuildRequires: pkgconfig(gnome-bluetooth-3.0) >= %{gnome_bluetooth_version} BuildRequires: pkgconfig(libwacom) %endif # Versioned library deps Requires: libadwaita%{?_isa} >= %{libadwaita_version} Requires: glib2%{?_isa} >= %{glib2_version} Requires: gnome-desktop4%{?_isa} >= %{gnome_desktop_version} Requires: gnome-online-accounts%{?_isa} >= %{gnome_online_accounts_version} Requires: gnome-settings-daemon%{?_isa} >= %{gsd_version} Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_version} Requires: gtk4%{?_isa} >= %{gtk4_version} Requires: upower%{?_isa} >= %{upower_version} %ifnarch s390 s390x Recommends: gnome-bluetooth%{?_isa} >= 1:%{gnome_bluetooth_version} %endif Requires: %{name}-filesystem = %{version}-%{release} # For user accounts Requires: accountsservice Requires: alsa-lib # For the thunderbolt panel Recommends: bolt # For the color panel Requires: colord # For the printers panel Requires: cups-pk-helper Requires: dbus # For the info/details panel Requires: glx-utils # For the user languages Requires: iso-codes # For parental controls support Requires: malcontent Recommends: malcontent-control # For the network panel Recommends: NetworkManager-wifi Recommends: nm-connection-editor # For Show Details in the color panel Recommends: gnome-color-manager # For the sharing panel Recommends: gnome-remote-desktop %if 0%{?fedora} Recommends: rygel %endif # For the info/details panel Recommends: switcheroo-control # For the keyboard panel Requires: /usr/bin/gkbd-keyboard-display %if 0%{?fedora} >= 35 || 0%{?rhel} >= 9 # For the power panel Recommends: power-profiles-daemon %endif # Renamed in F28 Provides: control-center = 1:%{version}-%{release} Provides: control-center%{?_isa} = 1:%{version}-%{release} Obsoletes: control-center < 1:%{version}-%{release} %description This package contains configuration utilities for the GNOME desktop, which allow to configure accessibility options, desktop fonts, keyboard and mouse properties, sound setup, desktop theme and background, user interface properties, screen resolution, and other settings. %package filesystem Summary: GNOME Control Center directories # NOTE: this is an "inverse dep" subpackage. It gets pulled in # NOTE: by the main package and MUST not depend on the main package BuildArch: noarch # Renamed in F28 Provides: control-center-filesystem = 1:%{version}-%{release} Obsoletes: control-center-filesystem < 1:%{version}-%{release} %description filesystem The GNOME control-center provides a number of extension points for applications. This package contains directories where applications can install configuration files that are picked up by the control-center utilities. %prep %autosetup -p1 -n %{name}-%{tarball_version} %build %meson \ -Ddocumentation=true \ %if 0%{?fedora} -Ddistributor_logo=%{_datadir}/pixmaps/fedora_logo_med.png \ -Ddark_mode_distributor_logo=%{_datadir}/pixmaps/fedora_whitelogo_med.png \ -Dmalcontent=true \ %endif %if 0%{?rhel} -Ddistributor_logo=%{_datadir}/pixmaps/fedora-logo.png \ -Ddark_mode_distributor_logo=%{_datadir}/pixmaps/system-logo-white.png \ %endif %{nil} %meson_build %install %meson_install # We do want this mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties # We don't want these rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/autostart rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/cursor-fonts %find_lang %{name} --all-name --with-gnome %files -f %{name}.lang %license COPYING %doc NEWS README.md %{_bindir}/gnome-control-center %{_datadir}/applications/*.desktop %{_datadir}/bash-completion/completions/gnome-control-center %{_datadir}/dbus-1/services/org.gnome.Settings.SearchProvider.service %{_datadir}/dbus-1/services/org.gnome.Settings.service %{_datadir}/gettext/ %{_datadir}/glib-2.0/schemas/org.gnome.Settings.gschema.xml %{_datadir}/gnome-control-center/keybindings/*.xml %{_datadir}/gnome-control-center/pixmaps %{_datadir}/gnome-shell/search-providers/org.gnome.Settings.search-provider.ini %{_datadir}/icons/gnome-logo-text*.svg %{_datadir}/icons/hicolor/*/*/* %{_mandir}/man1/gnome-control-center.1* %{_metainfodir}/org.gnome.Settings.appdata.xml %{_datadir}/pixmaps/faces %{_datadir}/pkgconfig/gnome-keybindings.pc %{_datadir}/polkit-1/actions/org.gnome.controlcenter.*.policy %{_datadir}/polkit-1/rules.d/gnome-control-center.rules %{_datadir}/sounds/gnome/default/*/*.ogg %{_libexecdir}/cc-remote-login-helper %{_libexecdir}/gnome-control-center-goa-helper %{_libexecdir}/gnome-control-center-search-provider %{_libexecdir}/gnome-control-center-print-renderer %files filesystem %dir %{_datadir}/gnome-control-center %dir %{_datadir}/gnome-control-center/keybindings %dir %{_datadir}/gnome/wm-properties %changelog * Fri Apr 21 2023 David King 44.1-1 - Update to 44.1 * Tue Mar 21 2023 David King 44.0-1 - Update to 44.0 * Tue Mar 07 2023 David King 44~rc-1 - Update to 44.rc * Mon Feb 27 2023 Dominik Mierzejewski 44~beta-3 - Recommend gnome-bluetooth instead of requiring it * Thu Feb 16 2023 Ray Strode 44~beta-2 - Fix crash in users panel * Wed Feb 15 2023 David King 44~beta-1 - Update to 44.beta * Mon Feb 06 2023 David King 44~alpha-1 - Update to 44.alpha * Thu Jan 19 2023 Fedora Release Engineering 43.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Dec 30 2022 David King 43.2-1 - Update to 43.2 * Thu Oct 27 2022 David King 43.1-1 - Update to 43.1 * Fri Oct 21 2022 Adam Williamson 43.0-2 - Backport MR #1478 to fix crash on empty EAP password edit (#2136471) * Mon Sep 19 2022 Kalev Lember 43.0-1 - Update to 43.0 * Tue Sep 06 2022 Kalev Lember 43~rc-1 - Update to 43.rc * Tue Aug 30 2022 Adam Williamson 43~beta-2 - Backport MRs #1439 and #1440 to fix unapplied settings (#2118152) * Fri Aug 12 2022 Kalev Lember 43~beta-1 - Update to 43.beta * Thu Jul 28 2022 Kalev Lember 43~alpha-1 - Update to 43.alpha - Drop upstreamed distro-logo.patch - Drop upstreamed timezone-map.patch * Thu Jul 21 2022 Fedora Release Engineering 42.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jul 20 2022 Kalev Lember 42.3-2 - Rebuilt for libgnome-desktop soname bump * Wed Jul 06 2022 David King 42.3-1 - Update to 42.3 * Wed Jun 29 2022 Michael Catanzaro 42.2-2 - Update timezone map * Fri May 27 2022 David King 42.2-1 - Update to 42.2 * Wed May 04 2022 Felipe Borges 42.1-3 - Recommend "malcontent-control" instead of requiring it * Tue May 03 2022 David King 42.1-2 - Fix freeze in wired connection properties * Wed Apr 27 2022 David King 42.1-1 - Update to 42.1 * Tue Apr 19 2022 Michael Catanzaro 42.0-4 - Add patch to fix switches in online accounts panel * Wed Apr 06 2022 Felipe Borges 42.0-3 - Fix printer setting preventing from scrolling media size list * Wed Mar 30 2022 Adam Williamson 42.0-2 - Backport MR #1272 to fix GOA helper window (#2064462) * Fri Mar 18 2022 David King 42.0-1 - Udpate to 42.0 * Wed Mar 16 2022 Bastien Nocera 42~rc-2 - Add patch to prettify info strings * Tue Mar 08 2022 David King 42~rc-1 - Update to 42.rc * Thu Mar 03 2022 David King 42~beta-9 - Revert "Use SVG version of Fedora logos" * Thu Mar 03 2022 David King 42~beta-8 - Refresh resources dependency patch from upstream * Wed Mar 02 2022 Elliott Sales de Andrade 42~beta-7 - Use SVG version of Fedora logos * Wed Feb 23 2022 Michael Catanzaro 42~beta-6 - Properly use %%autorelease * Tue Feb 15 2022 Adam Williamson - 42~beta-1 - Update to 42~beta * Mon Feb 14 2022 David King - 41.4-1 - Update to 41.4 * Thu Jan 20 2022 Fedora Release Engineering - 41.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Dec 13 2021 Peter Hutterer - 41.2-2 - Rebuild for libwacom soname bump * Tue Dec 07 2021 Kalev Lember - 41.2-1 - Update to 41.2 * Fri Oct 29 2021 Kalev Lember - 41.1-1 - Update to 41.1 * Sat Sep 18 2021 Kalev Lember - 41.0-1 - Update to 41.0 * Wed Sep 08 2021 Michael Catanzaro - 41~rc1-1 - Update to 41.rc1 * Thu Aug 26 2021 Bastien Nocera - 41~beta-3 + gnome-control-center-41~beta-3 - Parental controls fixes * Tue Aug 24 2021 Kalev Lember - 41~beta-2 - Require malcontent and malcontent-control for parental controls support * Mon Aug 23 2021 Michael Catanzaro - 41~beta-1 - Update to 41.beta * Thu Jul 22 2021 Fedora Release Engineering - 40.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 01 2021 Felipe Borges - 40.0-10 - Enable parental controls (malcontent) * Fri Apr 02 2021 Kalev Lember - 40.0-9 - Only enable power-profiles-daemon on F35+ and RHEL 9+ * Wed Mar 31 2021 Pete Walter - 40.0-8 - Add back power-profiles-daemon once more * Wed Mar 31 2021 Michael Catanzaro - 40.0-7 - Drop Recommends: power-profiles-daemon for F34 * Tue Mar 30 2021 Pete Walter - 40.0-6 - Use recommends for a few more things * Tue Mar 30 2021 Bastien Nocera - 40.0-4 - Drag power-profiles-daemon in for the power panel * Mon Mar 29 2021 Michael Catanzaro - 40.0-3 - Update Fedora logos to larger versions * Wed Mar 24 2021 Kalev Lember - 40.0-2 - Rebuilt * Mon Mar 22 2021 Kalev Lember - 40.0-1 - Update to 40.0 * Mon Mar 15 2021 Kalev Lember - 40~rc-1 - Update to 40.rc * Wed Mar 10 2021 Michael Catanzaro - 40~beta-5 - Refresh distro logo patch - Drop Recommends: vino, let vino die! * Sun Mar 07 2021 Igor Raits - 40~beta-4 - Fix modifications of the networks (Fixes: RHBZ#1932674) * Wed Feb 24 2021 Felipe Borges - 40~beta-3 - Include missing patch from 40~beta-2 * Tue Feb 23 2021 Felipe Borges - 40~beta-2 - Fix error preventing the Region & Language panel from loading * Sun Feb 21 2021 Kalev Lember - 40~beta-1 - Update to 40.beta * Mon Feb 15 2021 Kalev Lember - 3.38.4-1 - Update to 3.38.4 * Tue Jan 26 2021 Fedora Release Engineering - 3.38.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Jan 16 2021 Kalev Lember - 3.38.3-1 - Update to 3.38.3 * Fri Nov 20 2020 Kalev Lember - 3.38.2-2 - search: Check for either tracker 2.x or 3.x schemas * Fri Nov 20 2020 Kalev Lember - 3.38.2-1 - Update to 3.38.2 * Tue Oct 13 2020 Kalev Lember - 3.38.1-2 - Add Recommends: nm-connection-editor for the network panel (#1887891) * Mon Oct 5 2020 Kalev Lember - 3.38.1-1 - Update to 3.38.1 * Sat Sep 19 2020 Yaroslav Fedevych - 3.38.0-2 - Specify the minimum libnm version needed to build the package * Sat Sep 12 2020 Kalev Lember - 3.38.0-1 - Update to 3.38.0 * Sun Sep 06 2020 Kalev Lember - 3.37.92-1 - Update to 3.37.92 * Mon Aug 17 2020 Kalev Lember - 3.37.90-1 - Update to 3.37.90 * Tue Aug 04 2020 Michael Catanzaro - 3.37.3-4 - Add Recommends: gnome-color-manager for the color panel * Sat Aug 01 2020 Fedora Release Engineering - 3.37.3-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 3.37.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 20 2020 Kalev Lember - 3.37.3-1 - Update to 3.37.3 * Mon Jul 20 2020 Kalev Lember - 3.36.4-1 - Update to 3.36.4 * Wed Jun 03 2020 Kalev Lember - 3.36.3-1 - Update to 3.36.3 * Fri May 01 2020 Kalev Lember - 3.36.2-1 - Update to 3.36.2 * Tue Apr 28 2020 Felipe Borges - 3.36.1-2 - Add "Model" row info for Lenovo devices * Fri Mar 27 2020 Kalev Lember - 3.36.1-1 - Update to 3.36.1 * Thu Mar 19 2020 Michael Catanzaro - 3.36.0-3 - No changes, bump revision to maintain upgrade path from F32 * Mon Mar 16 2020 Michael Catanzaro - 3.36.0-2 - Update distro-logo.patch to use fedora_vertical version of logo. * Sat Mar 07 2020 Kalev Lember - 3.36.0-1 - Update to 3.36.0 * Mon Mar 02 2020 Kalev Lember - 3.35.92-1 - Update to 3.35.92 * Mon Feb 17 2020 Kalev Lember - 3.35.91-1 - Update to 3.35.91 * Mon Feb 03 2020 Bastien Nocera - 3.35.90-1 + gnome-control-center-3.35.90-1 - Update to 3.35.90 * Tue Jan 28 2020 Fedora Release Engineering - 3.34.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jan 16 2020 Kalev Lember - 3.34.2-3 - Backport a patch to fix the build with latest libgnome-desktop * Mon Dec 09 2019 Michael Catanzaro - 3.34.2-2 - Drop nm-connection-editor requires, per gnome-control-center#512 - To edit mobile broadband connections, install nm-connection-editor * Wed Nov 27 2019 Kalev Lember - 3.34.2-1 - Update to 3.34.2 * Thu Oct 10 2019 Adam Williamson - 3.34.1-4 - Add patch to fix crash when selecting display with no modes (rhbz#1756553) * Wed Oct 09 2019 Felipe Borges - 3.34.1-3 - Add patch to fix parsing of addresses while adding printers (rhbz#1750394) * Mon Oct 07 2019 Benjamin Berg - 3.34.1-2 - Add patch to fix resetting of system wide format locale (rhbz#1759221) * Mon Oct 07 2019 Kalev Lember - 3.34.1-1 - Update to 3.34.1 * Sat Oct 05 2019 Michael Catanzaro - 3.34.0.1-3 - Add patch to fix editing wired connection settings (rhbz#1750805) - Remove broken remote printers patch * Wed Oct 02 2019 Michael Catanzaro - 3.34.0.1-2 - Add patch to fix crash when configuring remote printers * Mon Sep 09 2019 Kalev Lember - 3.34.0.1-1 - Update to 3.34.0.1 * Mon Sep 09 2019 Kalev Lember - 3.34.0-1 - Update to 3.34.0 * Mon Aug 12 2019 Kalev Lember - 3.33.90-1 - Update to 3.33.90 * Thu Jul 25 2019 Fedora Release Engineering - 3.33.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jul 21 2019 Kalev Lember - 3.33.3-2 - Remove libXxf86misc-devel BuildRequires as the package no longer exists * Wed Jun 19 2019 Kalev Lember - 3.33.3-1 - Update to 3.33.3 * Fri May 24 2019 Kalev Lember - 3.32.2-1 - Update to 3.32.2 * Tue Apr 16 2019 Adam Williamson - 3.32.1-2 - Rebuild with Meson fix for #1699099 * Fri Mar 29 2019 Kalev Lember - 3.32.1-1 - Update to 3.32.1 * Mon Mar 11 2019 Kalev Lember - 3.32.0.1-1 - Update to 3.32.0.1 * Mon Mar 11 2019 Kalev Lember - 3.32.0-1 - Update to 3.32.0 * Mon Mar 04 2019 Kalev Lember - 3.31.92-1 - Update to 3.31.92 * Sat Feb 23 2019 Kevin Fenzi - 3.31.90-2 - Add https://gitlab.gnome.org/GNOME/gnome-control-center/merge_requests/387.patch to fix udisks crash * Thu Feb 07 2019 Kalev Lember - 3.31.90-1 - Update to 3.31.90 * Thu Jan 31 2019 Fedora Release Engineering - 3.31.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 09 2019 Kalev Lember - 3.31.4-1 - Update to 3.31.4 * Tue Nov 20 2018 Pete Walter - 3.30.2-3 - Recommend gnome-remote-desktop for the sharing panel * Sat Nov 17 2018 Pete Walter - 3.30.2-2 - Change bolt requires to recommends (#1643709) - Change rygel requires to recommends * Thu Nov 01 2018 Kalev Lember - 3.30.2-1 - Update to 3.30.2 * Thu Oct 11 2018 David Herrmann - 3.30.1-4 - Reduce 'dbus-x11' dependency to 'dbus'. The xinit scripts are no longer the canonical way to start dbus, but the 'dbus' package is nowadays required to provide a user and system bus to its dependents. * Wed Oct 10 2018 Benjamin Berg - 3.30.1-3 - Add patch to improve background loading. The patch is not acceptable upstream as is, but is also a good improvement on the current situation (#1631002) * Sun Oct 07 2018 Kalev Lember - 3.30.1-2 - Backport an upstream fix for a crash in the online accounts panel * Wed Sep 26 2018 Kalev Lember - 3.30.1-1 - Update to 3.30.1 * Thu Sep 06 2018 Kalev Lember - 3.30.0-1 - Update to 3.30.0 * Sun Aug 12 2018 Kalev Lember - 3.29.90-1 - Update to 3.29.90 * Fri Jul 13 2018 Fedora Release Engineering - 3.28.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue May 29 2018 Kalev Lember - 3.28.2-1 - Update to 3.28.2 * Wed May 23 2018 Pete Walter - 3.28.1-4 - Change NetworkManager-wifi requires to recommends (#1478661) * Tue May 22 2018 Ray Strode - 3.28.1-3 - Change vino requires to a vino recommends * Fri Apr 13 2018 Kalev Lember - 3.28.1-2 - Backport new thunderbolt panel * Tue Apr 10 2018 Pete Walter - 3.28.1-1 - Rename control-center to gnome-control-center