257f539
%define gnome_online_accounts_version 3.25.3
257f539
%define glib2_version 2.53.0
257f539
%define gnome_desktop_version 3.27.90
b5f3c94
%define gsd_version 3.27.90
17a7776
%define gsettings_desktop_schemas_version 3.31.0
17a7776
%define upower_version 0.99.8
257f539
%define gtk3_version 3.22.20
4d4a76b
%define cheese_version 3.28.0
4d4a76b
%define gnome_bluetooth_version 3.18.2
257f539
257f539
Name:           gnome-control-center
492d03a
Version:        3.34.6
453840f
Release:        1%{?dist}
257f539
Summary:        Utilities to configure the GNOME desktop
257f539
257f539
License:        GPLv2+ and CC-BY-SA
257f539
URL:            http://www.gnome.org
9b46e7f
Source0:        https://download.gnome.org/sources/gnome-control-center/3.34/gnome-control-center-%{version}.tar.xz
257f539
257f539
# https://bugzilla.gnome.org/show_bug.cgi?id=695691
257f539
Patch0:         distro-logo.patch
257f539
257f539
BuildRequires:  chrpath
257f539
BuildRequires:  cups-devel
257f539
BuildRequires:  desktop-file-utils
257f539
BuildRequires:  docbook-style-xsl libxslt
a5a4f99
BuildRequires:  gcc
257f539
BuildRequires:  gettext
257f539
BuildRequires:  meson
257f539
BuildRequires:  pkgconfig(accountsservice)
4d4a76b
BuildRequires:  pkgconfig(cheese) >= %{cheese_version}
257f539
BuildRequires:  pkgconfig(cheese-gtk)
257f539
BuildRequires:  pkgconfig(clutter-gtk-1.0)
257f539
BuildRequires:  pkgconfig(colord)
257f539
BuildRequires:  pkgconfig(colord-gtk)
257f539
BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
257f539
BuildRequires:  pkgconfig(gdk-wayland-3.0)
257f539
BuildRequires:  pkgconfig(gio-2.0) >= %{glib2_version}
257f539
BuildRequires:  pkgconfig(gnome-desktop-3.0) >= %{gnome_desktop_version}
257f539
BuildRequires:  pkgconfig(gnome-settings-daemon) >= %{gsd_version}
257f539
BuildRequires:  pkgconfig(goa-1.0) >= %{gnome_online_accounts_version}
257f539
BuildRequires:  pkgconfig(goa-backend-1.0)
257f539
BuildRequires:  pkgconfig(grilo-0.3)
257f539
BuildRequires:  pkgconfig(gsettings-desktop-schemas) >= %{gsettings_desktop_schemas_version}
931570a
BuildRequires:  pkgconfig(gsound)
257f539
BuildRequires:  pkgconfig(gtk+-3.0) >= %{gtk3_version}
257f539
BuildRequires:  pkgconfig(gudev-1.0)
257f539
BuildRequires:  pkgconfig(ibus-1.0)
257f539
BuildRequires:  pkgconfig(libcanberra-gtk3)
257f539
BuildRequires:  pkgconfig(libgtop-2.0)
17a7776
BuildRequires:  pkgconfig(libhandy-0.0)
257f539
BuildRequires:  pkgconfig(libnm)
257f539
BuildRequires:  pkgconfig(libnma)
257f539
BuildRequires:  pkgconfig(libpulse)
257f539
BuildRequires:  pkgconfig(libpulse-mainloop-glib)
9f0d268
BuildRequires:  pkgconfig(libsecret-1)
257f539
BuildRequires:  pkgconfig(libsoup-2.4)
257f539
BuildRequires:  pkgconfig(libxml-2.0)
257f539
BuildRequires:  pkgconfig(mm-glib)
257f539
BuildRequires:  pkgconfig(polkit-gobject-1)
257f539
BuildRequires:  pkgconfig(pwquality)
257f539
BuildRequires:  pkgconfig(smbclient)
1b8b980
BuildRequires:  pkgconfig(upower-glib) >= %{upower_version}
257f539
BuildRequires:  pkgconfig(x11)
257f539
BuildRequires:  pkgconfig(xi)
bdfa6da
BuildRequires:  pkgconfig(udisks2)
257f539
%ifnarch s390 s390x
257f539
BuildRequires:  pkgconfig(gnome-bluetooth-1.0) >= %{gnome_bluetooth_version}
257f539
BuildRequires:  pkgconfig(libwacom)
257f539
%endif
257f539
257f539
# Versioned library deps
4d4a76b
Requires: cheese-libs%{?_isa} >= %{cheese_version}
257f539
Requires: glib2%{?_isa} >= %{glib2_version}
257f539
Requires: gnome-desktop3%{?_isa} >= %{gnome_desktop_version}
257f539
Requires: gnome-online-accounts%{?_isa} >= %{gnome_online_accounts_version}
257f539
Requires: gnome-settings-daemon%{?_isa} >= %{gsd_version}
257f539
Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_version}
257f539
Requires: gtk3%{?_isa} >= %{gtk3_version}
1b8b980
Requires: upower%{?_isa} >= %{upower_version}
257f539
%ifnarch s390 s390x
257f539
Requires: gnome-bluetooth%{?_isa} >= 1:%{gnome_bluetooth_version}
257f539
%endif
257f539
257f539
Requires: %{name}-filesystem = %{version}-%{release}
257f539
# For user accounts
257f539
Requires: accountsservice
257f539
Requires: alsa-lib
914091a
# For the thunderbolt panel
8334526
Recommends: bolt
257f539
# For the color panel
257f539
Requires: colord
257f539
# For the printers panel
257f539
Requires: cups-pk-helper
David Herrmann 97db40c
Requires: dbus
257f539
# For the info/details panel
257f539
Requires: glx-utils
257f539
# For the user languages
257f539
Requires: iso-codes
257f539
# For the network panel
257f539
Requires: nm-connection-editor
e112c26
Recommends: NetworkManager-wifi
257f539
# For the sharing panel
f1431db
Recommends: gnome-remote-desktop
f1431db
%if 0%{?fedora}
5adeafd
Recommends: rygel
257f539
%endif
f1431db
Recommends: vino
257f539
# For the info/details panel
257f539
Requires: switcheroo-control
257f539
# For the keyboard panel
257f539
Requires: /usr/bin/gkbd-keyboard-display
257f539
257f539
# Renamed in F28
257f539
Provides: control-center = 1:%{version}-%{release}
257f539
Provides: control-center%{?_isa} = 1:%{version}-%{release}
257f539
Obsoletes: control-center < 1:%{version}-%{release}
257f539
257f539
%description
257f539
This package contains configuration utilities for the GNOME desktop, which
257f539
allow to configure accessibility options, desktop fonts, keyboard and mouse
257f539
properties, sound setup, desktop theme and background, user interface
257f539
properties, screen resolution, and other settings.
257f539
257f539
%package filesystem
257f539
Summary: GNOME Control Center directories
257f539
# NOTE: this is an "inverse dep" subpackage. It gets pulled in
257f539
# NOTE: by the main package and MUST not depend on the main package
257f539
BuildArch: noarch
257f539
# Renamed in F28
257f539
Provides: control-center-filesystem = 1:%{version}-%{release}
257f539
Obsoletes: control-center-filesystem < 1:%{version}-%{release}
257f539
257f539
%description filesystem
257f539
The GNOME control-center provides a number of extension points
257f539
for applications. This package contains directories where applications
257f539
can install configuration files that are picked up by the control-center
257f539
utilities.
257f539
257f539
%prep
257f539
%autosetup -p1
257f539
257f539
%build
257f539
%meson -Ddocumentation=true
257f539
%meson_build
257f539
257f539
%install
257f539
%meson_install
257f539
257f539
# We do want this
257f539
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
257f539
257f539
# We don't want these
257f539
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/autostart
257f539
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/cursor-fonts
257f539
257f539
# Remove rpath
257f539
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gnome-control-center
257f539
257f539
%find_lang %{name} --all-name --with-gnome
257f539
257f539
%files -f %{name}.lang
257f539
%license COPYING
79b5f0d
%doc NEWS README.md
257f539
%{_bindir}/gnome-control-center
257f539
%{_datadir}/applications/*.desktop
257f539
%{_datadir}/bash-completion/completions/gnome-control-center
257f539
%{_datadir}/dbus-1/services/org.gnome.ControlCenter.SearchProvider.service
257f539
%{_datadir}/dbus-1/services/org.gnome.ControlCenter.service
257f539
%{_datadir}/gettext/
257f539
%{_datadir}/glib-2.0/schemas/org.gnome.ControlCenter.gschema.xml
257f539
%{_datadir}/gnome-control-center/keybindings/*.xml
257f539
%{_datadir}/gnome-control-center/pixmaps
257f539
%{_datadir}/gnome-shell/search-providers/gnome-control-center-search-provider.ini
257f539
%{_datadir}/icons/hicolor/*/*/*
257f539
%{_datadir}/man/man1/gnome-control-center.1*
257f539
%{_datadir}/metainfo/gnome-control-center.appdata.xml
257f539
%{_datadir}/pixmaps/faces
257f539
%{_datadir}/pkgconfig/gnome-keybindings.pc
257f539
%{_datadir}/polkit-1/actions/org.gnome.controlcenter.*.policy
257f539
%{_datadir}/polkit-1/rules.d/gnome-control-center.rules
257f539
%{_datadir}/sounds/gnome/default/*/*.ogg
257f539
%{_libexecdir}/cc-remote-login-helper
257f539
%{_libexecdir}/gnome-control-center-search-provider
257f539
257f539
%files filesystem
257f539
%dir %{_datadir}/gnome-control-center
257f539
%dir %{_datadir}/gnome-control-center/keybindings
257f539
%dir %{_datadir}/gnome/wm-properties
257f539
257f539
%changelog
492d03a
* Fri May 01 2020 Kalev Lember <klember@redhat.com> - 3.34.6-1
492d03a
- Update to 3.34.6
492d03a
e2e9a55
* Mon Mar 30 2020 Kalev Lember <klember@redhat.com> - 3.34.5-1
e2e9a55
- Update to 3.34.5
e2e9a55
0cf8df3
* Mon Feb 17 2020 Kalev Lember <klember@redhat.com> - 3.34.4-1
0cf8df3
- Update to 3.34.4
0cf8df3
453840f
* Wed Nov 27 2019 Kalev Lember <klember@redhat.com> - 3.34.2-1
453840f
- Update to 3.34.2
453840f
adc4e69
* Thu Oct 10 2019 Adam Williamson <awilliam@redhat.com> - 3.34.1-4
adc4e69
- Add patch to fix crash when selecting display with no modes (rhbz#1756553)
adc4e69
Felipe Borges 5584ce8
* Wed Oct 09 2019 Felipe Borges <feborges@redhat.com> - 3.34.1-3
Felipe Borges 5584ce8
- Add patch to fix parsing of addresses while adding printers (rhbz#1750394)
Felipe Borges 5584ce8
1427341
* Mon Oct 07 2019 Benjamin Berg <bberg@redhat.com> - 3.34.1-2
1427341
- Add patch to fix resetting of system wide format locale (rhbz#1759221)
1427341
1f72aa7
* Mon Oct 07 2019 Kalev Lember <klember@redhat.com> - 3.34.1-1
1f72aa7
- Update to 3.34.1
1f72aa7
Michael Catanzaro dac73f0
* Sat Oct 05 2019 Michael Catanzaro <mcatanzaro@gnome.org> - 3.34.0.1-3
Michael Catanzaro dac73f0
- Add patch to fix editing wired connection settings (rhbz#1750805)
Michael Catanzaro dac73f0
- Remove broken remote printers patch
Michael Catanzaro dac73f0
Michael Catanzaro f8b0e42
* Wed Oct 02 2019 Michael Catanzaro <mcatanzaro@gnome.org> - 3.34.0.1-2
Michael Catanzaro f8b0e42
- Add patch to fix crash when configuring remote printers
Michael Catanzaro f8b0e42
4d08998
* Mon Sep 09 2019 Kalev Lember <klember@redhat.com> - 3.34.0.1-1
4d08998
- Update to 3.34.0.1
4d08998
9b46e7f
* Mon Sep 09 2019 Kalev Lember <klember@redhat.com> - 3.34.0-1
9b46e7f
- Update to 3.34.0
9b46e7f
176c298
* Mon Aug 12 2019 Kalev Lember <klember@redhat.com> - 3.33.90-1
176c298
- Update to 3.33.90
176c298
125a6ec
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.33.3-3
125a6ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
125a6ec
f4feb78
* Sun Jul 21 2019 Kalev Lember <klember@redhat.com> - 3.33.3-2
f4feb78
- Remove libXxf86misc-devel BuildRequires as the package no longer exists
f4feb78
b5f3c94
* Wed Jun 19 2019 Kalev Lember <klember@redhat.com> - 3.33.3-1
b5f3c94
- Update to 3.33.3
b5f3c94
81aa86a
* Fri May 24 2019 Kalev Lember <klember@redhat.com> - 3.32.2-1
81aa86a
- Update to 3.32.2
81aa86a
fe90950
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 3.32.1-2
fe90950
- Rebuild with Meson fix for #1699099
fe90950
cb8545a
* Fri Mar 29 2019 Kalev Lember <klember@redhat.com> - 3.32.1-1
cb8545a
- Update to 3.32.1
cb8545a
be213e8
* Mon Mar 11 2019 Kalev Lember <klember@redhat.com> - 3.32.0.1-1
be213e8
- Update to 3.32.0.1
be213e8
c76fa28
* Mon Mar 11 2019 Kalev Lember <klember@redhat.com> - 3.32.0-1
c76fa28
- Update to 3.32.0
c76fa28
142176d
* Mon Mar 04 2019 Kalev Lember <klember@redhat.com> - 3.31.92-1
142176d
- Update to 3.31.92
142176d
bdfa6da
* Sat Feb 23 2019 Kevin Fenzi <kevin@scrye.com> - 3.31.90-2
bdfa6da
- Add https://gitlab.gnome.org/GNOME/gnome-control-center/merge_requests/387.patch 
bdfa6da
  to fix udisks crash
bdfa6da
931570a
* Thu Feb 07 2019 Kalev Lember <klember@redhat.com> - 3.31.90-1
931570a
- Update to 3.31.90
931570a
4fb509f
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.31.4-2
4fb509f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4fb509f
17a7776
* Wed Jan 09 2019 Kalev Lember <klember@redhat.com> - 3.31.4-1
17a7776
- Update to 3.31.4
17a7776
f1431db
* Tue Nov 20 2018 Pete Walter <pwalter@fedoraproject.org> - 3.30.2-3
f1431db
- Recommend gnome-remote-desktop for the sharing panel
f1431db
8334526
* Sat Nov 17 2018 Pete Walter <pwalter@fedoraproject.org> - 3.30.2-2
8334526
- Change bolt requires to recommends (#1643709)
5adeafd
- Change rygel requires to recommends
8334526
9f84668
* Thu Nov 01 2018 Kalev Lember <klember@redhat.com> - 3.30.2-1
9f84668
- Update to 3.30.2
9f84668
David Herrmann 97db40c
* Thu Oct 11 2018 David Herrmann <dh.herrmann@gmail.com> - 3.30.1-4
David Herrmann 97db40c
- Reduce 'dbus-x11' dependency to 'dbus'. The xinit scripts are no longer the
David Herrmann 97db40c
  canonical way to start dbus, but the 'dbus' package is nowadays required to
David Herrmann 97db40c
  provide a user and system bus to its dependents.
David Herrmann 97db40c
e5d9525
* Wed Oct 10 2018 Benjamin Berg <bberg@redhat.com> - 3.30.1-3
e5d9525
- Add patch to improve background loading. The patch is not acceptable
e5d9525
  upstream as is, but is also a good improvement on the current situation
e5d9525
  (#1631002)
e5d9525
ff45d46
* Sun Oct 07 2018 Kalev Lember <klember@redhat.com> - 3.30.1-2
ff45d46
- Backport an upstream fix for a crash in the online accounts panel
ff45d46
212c0cc
* Wed Sep 26 2018 Kalev Lember <klember@redhat.com> - 3.30.1-1
212c0cc
- Update to 3.30.1
212c0cc
f08a8e9
* Thu Sep 06 2018 Kalev Lember <klember@redhat.com> - 3.30.0-1
f08a8e9
- Update to 3.30.0
f08a8e9
79b5f0d
* Sun Aug 12 2018 Kalev Lember <klember@redhat.com> - 3.29.90-1
79b5f0d
- Update to 3.29.90
79b5f0d
adb0a71
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.2-2
adb0a71
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
adb0a71
7327e81
* Tue May 29 2018 Kalev Lember <klember@redhat.com> - 3.28.2-1
7327e81
- Update to 3.28.2
7327e81
e112c26
* Wed May 23 2018 Pete Walter <pwalter@fedoraproject.org> - 3.28.1-4
e112c26
- Change NetworkManager-wifi requires to recommends (#1478661)
e112c26
8f9c30b
* Tue May 22 2018 Ray Strode <rstrode@redhat.com> - 3.28.1-3
8f9c30b
- Change vino requires to a vino recommends
8f9c30b
914091a
* Fri Apr 13 2018 Kalev Lember <klember@redhat.com> - 3.28.1-2
914091a
- Backport new thunderbolt panel
914091a
257f539
* Tue Apr 10 2018 Pete Walter <pwalter@fedoraproject.org> - 3.28.1-1
257f539
- Rename control-center to gnome-control-center