Enable parental controls (malcontent)

per discussion on the Fedora Workstation Working Group, see
https://pagure.io/fedora-workstation/issue/186
This commit is contained in:
Felipe Borges 2021-06-01 12:51:02 +02:00
parent 21b72320a5
commit 98f54f655b

View File

@ -13,7 +13,7 @@
Name: gnome-control-center Name: gnome-control-center
Version: 40.0 Version: 40.0
Release: 9%{?dist} Release: 10%{?dist}
Summary: Utilities to configure the GNOME desktop Summary: Utilities to configure the GNOME desktop
License: GPLv2+ and CC-BY-SA License: GPLv2+ and CC-BY-SA
@ -59,6 +59,7 @@ BuildRequires: pkgconfig(libpulse-mainloop-glib)
BuildRequires: pkgconfig(libsecret-1) BuildRequires: pkgconfig(libsecret-1)
BuildRequires: pkgconfig(libsoup-2.4) BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(malcontent-0)
BuildRequires: pkgconfig(mm-glib) BuildRequires: pkgconfig(mm-glib)
BuildRequires: pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(polkit-gobject-1)
BuildRequires: pkgconfig(pwquality) BuildRequires: pkgconfig(pwquality)
@ -154,6 +155,7 @@ utilities.
%if 0%{?fedora} %if 0%{?fedora}
-Ddistributor_logo=%{_datadir}/pixmaps/fedora_logo_med.png \ -Ddistributor_logo=%{_datadir}/pixmaps/fedora_logo_med.png \
-Ddark_mode_distributor_logo=%{_datadir}/pixmaps/fedora_whitelogo_med.png \ -Ddark_mode_distributor_logo=%{_datadir}/pixmaps/fedora_whitelogo_med.png \
-Dmalcontent=true \
%endif %endif
%if 0%{?rhel} %if 0%{?rhel}
-Ddistributor_logo=%{_datadir}/pixmaps/fedora-logo.png \ -Ddistributor_logo=%{_datadir}/pixmaps/fedora-logo.png \
@ -208,6 +210,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gnome-control-center
%dir %{_datadir}/gnome/wm-properties %dir %{_datadir}/gnome/wm-properties
%changelog %changelog
* Tue Jun 01 2021 Felipe Borges <feborges@redhat.com> - 40.0-10
- Enable parental controls (malcontent)
* Fri Apr 02 2021 Kalev Lember <klember@redhat.com> - 40.0-9 * Fri Apr 02 2021 Kalev Lember <klember@redhat.com> - 40.0-9
- Only enable power-profiles-daemon on F35+ and RHEL 9+ - Only enable power-profiles-daemon on F35+ and RHEL 9+