## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 7; 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 Name: malcontent Version: 0.14.0 Release: %autorelease Summary: Parental controls implementation License: LGPL-2.1-only AND CC-BY-3.0 URL: https://gitlab.freedesktop.org/pwithnall/%{name}/ Source0: https://tecnocode.co.uk/downloads/%{name}/%{name}-%{gnome_tarball_version}.tar.xz Source1: https://gitlab.gnome.org/pwithnall/libgsystemservice/-/archive/0.3.0/libgsystemservice-0.3.0.tar.bz2 Source2: gvdb.tar.xz Source3: http://www.corpit.ru/mjt/tinycdb/tinycdb-0.81.tar.gz %gnome_check_version BuildRequires: gettext BuildRequires: gi-docgen BuildRequires: meson BuildRequires: cmake BuildRequires: git-core BuildRequires: gcc BuildRequires: itstool BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(accountsservice) BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(libadwaita-1) BuildRequires: pkgconfig(appstream) BuildRequires: pkgconfig(flatpak) BuildRequires: pkgconfig(glib-testing-0) BuildRequires: pkgconfig(gnome-desktop-4) BuildRequires: pam-devel BuildRequires: gtk-doc BuildRequires: libsoup3-devel Provides: bundled(gvdb) Provides: bundled(libgsystemservice) Provides: bundled(tinycdb) Requires: polkit # Descriptions mostly gathered from: # https://github.com/endlessm/malcontent/blob/debian-master/debian/control %description libmalcontent implements parental controls support which can be used by applications to filter or limit the access of child accounts to inappropriate content. %package control Summary: Parental Controls UI Requires: %{name}%{?_isa} = %{version}-%{release} %description control This package contains a user interface for querying and setting parental controls for users. %package pam Summary: Parental Controls PAM Module %description pam This package contains a PAM module which prevents logins for users who have exceeded their allowed computer time. %package tools Summary: Parental Controls Tools Requires: %{name}%{?_isa} = %{version}-%{release} %description tools This package contains tools for querying and updating the parental controls settings for users. %package ui-devel Summary: Development files for libmalcontent-ui Requires: %{name}-ui-libs%{?_isa} = %{version}-%{release} %description ui-devel This package contains the pkg-config file and development headers for libmalcontent-ui. %package ui-libs Summary: Libraries for %{name} %description ui-libs This package contains libmalcontent-ui. %package devel Summary: Development files for %{name} Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel This package contains the pkg-config file and development headers for %{name}. %package libs Summary: Libraries for %{name} %description libs This package contains libmalcontent. %package doc Summary: Documentation for %{name} %description doc This package documentation for libmalcontent. %prep %autosetup -p1 -n %{name}-%{gnome_tarball_version} -S git tar -xf %{SOURCE1} -C subprojects mv subprojects/libgsystemservice-0.3.0 subprojects/libgsystemservice tar -xf %{SOURCE2} -C subprojects tar -xf %{SOURCE3} -C subprojects cp subprojects/packagefiles/tinycdb/meson.build subprojects/tinycdb-0.81 %build %meson -Dui=enabled -Dinstalled_tests=false %meson_build %install %meson_install %find_lang %{name} --with-gnome %check desktop-file-validate %{buildroot}%{_datadir}/applications/org.freedesktop.MalcontentControl.desktop appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.freedesktop.MalcontentControl.metainfo.xml %files -f %{name}.lang %license COPYING COPYING-DOCS %doc README.md %{_datadir}/accountsservice/interfaces/ %{_datadir}/dbus-1/interfaces/ %{_datadir}/polkit-1/actions/*.policy %{_datadir}/polkit-1/rules.d/com.endlessm.ParentalControls.rules %{_libexecdir}/malcontent-timer-extension-agent %{_libexecdir}/malcontent-timerd %{_libexecdir}/malcontent-webd %{_libexecdir}/malcontent-webd-update %{_datadir}/dbus-1/services/org.freedesktop.MalcontentControl.service %{_datadir}/dbus-1/system-services/org.freedesktop.MalcontentTimer1.ExtensionAgent.service %{_datadir}/dbus-1/system-services/org.freedesktop.MalcontentTimer1.service %{_datadir}/dbus-1/system-services/org.freedesktop.MalcontentWeb1.service %{_datadir}/dbus-1/system.d/org.freedesktop.MalcontentTimer1.ExtensionAgent.conf %{_datadir}/dbus-1/system.d/org.freedesktop.MalcontentTimer1.conf %{_datadir}/dbus-1/system.d/org.freedesktop.MalcontentWeb1.conf %{_mandir}/man8/malcontent-timer-extension-agent.8* %{_mandir}/man8/malcontent-timerd.8* %{_mandir}/man8/malcontent-webd.8* %{_unitdir}/malcontent-timer-extension-agent.service %{_unitdir}/malcontent-timerd.service %{_unitdir}/malcontent-webd-update.service %{_unitdir}/malcontent-webd-update.timer %{_unitdir}/malcontent-webd.service %{_sysusersdir}/malcontent-timer-extension-agent.conf %{_sysusersdir}/malcontent-timerd.conf %{_sysusersdir}/malcontent-webd.conf %exclude %{_libexecdir}/installed-tests/malcontent-webd-update-1/malcontent-webd-template.py %files control %license COPYING %doc README.md %{_bindir}/malcontent-control %{_datadir}/applications/org.freedesktop.MalcontentControl.desktop %{_datadir}/icons/hicolor/scalable/apps/org.freedesktop.MalcontentControl.svg %{_datadir}/icons/hicolor/symbolic/apps/org.freedesktop.MalcontentControl-symbolic.svg %{_datadir}/metainfo/org.freedesktop.MalcontentControl.metainfo.xml %files pam %license COPYING %{_libdir}/security/pam_malcontent.so %files tools %license COPYING %{_bindir}/malcontent-client %{_mandir}/man8/malcontent-client.8.* %files ui-devel %license COPYING %dir %{_datadir}/gir-1.0 %{_datadir}/gir-1.0/MalcontentUi-1.gir %{_libdir}/libmalcontent-ui-1.so %{_includedir}/malcontent-ui-1/ %{_libdir}/pkgconfig/malcontent-ui-1.pc %files ui-libs %license COPYING %doc README.md %dir %{_libdir}/girepository-1.0/ %{_libdir}/girepository-1.0/MalcontentUi-1.typelib %{_libdir}/libmalcontent-ui-1.so.* %files devel %dir %{_datadir}/gir-1.0 %{_datadir}/gir-1.0/Malcontent-0.gir %{_includedir}/malcontent-0/ %{_libdir}/libmalcontent-0.so %{_libdir}/pkgconfig/malcontent-0.pc %files libs %license COPYING %doc README.md %dir %{_libdir}/girepository-1.0/ %{_libdir}/girepository-1.0/Malcontent-0.typelib %{_libdir}/libmalcontent-0.so.* %{_libdir}/libnss_malcontent.so* %files doc %{_docdir}/libmalcontent-0 %{_docdir}/libmalcontent-ui-1 %changelog ## START: Generated by rpmautospec * Thu Jul 16 2026 Fedora Release Engineering - 0.14.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Tue Jun 30 2026 Milan Crha - 0.14.0-6 - Rebuild for new gnome-desktop4 * Mon May 11 2026 Michael Catanzaro - 0.14.0-2 - Rebuild for accountsservice soname bump * Thu Mar 26 2026 Milan Crha - 0.14.0-1 - Update to 0.14.0 * Thu Jan 22 2026 Jan Horak - 0.14.alpha-2 - Update to 0.14.alpha * Fri Jan 16 2026 Fedora Release Engineering - 0.13.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Thu Jul 24 2025 Fedora Release Engineering - 0.13.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Fri Jan 17 2025 Fedora Release Engineering - 0.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Thu Nov 14 2024 Michel Lind - 0.13.0-1 - Update to 0.13.0 - Resolves: rhbz#2325062 * Thu Oct 24 2024 Steve Cossette - 0.12.0-1 - 0.12.0 * Mon Sep 02 2024 Miroslav Suchý - 0.11.1-7 - convert license to SPDX * Thu Jul 18 2024 Fedora Release Engineering - 0.11.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 0.11.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.11.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Nov 07 2023 Neal Gompa - 0.11.1-3 - Rebuild for appstream 1.0 * Thu Jul 20 2023 Fedora Release Engineering - 0.11.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Mar 16 2023 Bastien Nocera - 0.11.1-1 - Update to 0.11.1 * Thu Jan 19 2023 Fedora Release Engineering - 0.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Sep 12 2022 Bastien Nocera - 0.11.0-1 + malcontent-0.11.0-1 - Update to 0.11.0 * Tue Aug 02 2022 Bastien Nocera - 0.10.5-1 + malcontent-0.10.5-1 - Update to 0.10.5 (#2113504) * Thu Jul 21 2022 Fedora Release Engineering - 0.10.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.10.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Nov 08 2021 Bastien Nocera - 0.10.3-1 - Update to 0.10.3 (#2020858) * Mon Oct 04 2021 Bastien Nocera - 0.10.2-2 + malcontent-0.10.2-2 - Make parental controls app unremovable (#2009852) * Mon Oct 04 2021 Bastien Nocera - 0.10.2-1 + malcontent-0.10.2-1 - Update to 0.10.2 * Thu Sep 09 2021 Bastien Nocera - 0.10.1-2 + malcontent-0.10.1-2 - Make Parental controls app require the malcontent base package - Fixes: rhbz#2001555 * Thu Aug 26 2021 Bastien Nocera - 0.10.1-1 + malcontent-0.10.1-1 - Update to 0.10.1 - Hide management application in GNOME, it's accessible through the User accounts panel * Thu Jul 22 2021 Fedora Release Engineering - 0.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Dec 16 2020 Bastien Nocera - 0.10.0-1 + malcontent-0.10.0-1 - Update to 0.10.0 * Tue Sep 08 2020 Bastien Nocera - 0.8.0-5 + malcontent-0.8.0-5 - More review comments * Mon Sep 07 2020 Bastien Nocera - 0.8.0-4 + malcontent-0.8.0-4 - Fix more review comments again * Fri Sep 04 2020 Bastien Nocera - 0.8.0-3 + malcontent-0.8.0-3 - Fix more review comments * Fri Aug 28 2020 Bastien Nocera - 0.8.0-2 + malcontent-0.8.0-2 - Fix review comments * Thu Jul 23 2020 Bastien Nocera - 0.8.0-1 + malcontent-0.8.0-1 - First package ## END: Generated by rpmautospec