## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 %global forgeurl https://gitlab.freedesktop.org/upower/%{name} Version: 0.23 %forgemeta Name: power-profiles-daemon Release: %autorelease Summary: Makes power profiles handling available over D-Bus License: GPL-3.0-or-later URL: %{forgeurl} Source0: %{forgesource} BuildRequires: meson BuildRequires: gcc BuildRequires: gtk-doc BuildRequires: argparse-manpage BuildRequires: pkgconfig(bash-completion) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(upower-glib) BuildRequires: python3dist(shtab) BuildRequires: systemd-rpm-macros # Test dependencies BuildRequires: umockdev BuildRequires: python3dist(python-dbusmock) BuildRequires: python3dist(pygobject) # This is an implementation of the power-profiles-daemon service Provides: ppd-service Conflicts: ppd-service %description %{summary}. %package docs Summary: Documentation for %{name} BuildArch: noarch %description docs This package contains the documentation for %{name}. %prep %forgeautosetup %build %meson \ -Dgtk_doc=true \ -Dpylint=disabled \ -Dzshcomp=%{zsh_completions_dir} \ %meson_build %install %meson_install mkdir -p %{buildroot}/%{_localstatedir}/lib/power-profiles-daemon %check # Tests may fail when executed in parallel %define _smp_build_ncpus 1 %meson_test %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_postun_with_restart %{name}.service %files %license COPYING %doc README.md %{_bindir}/powerprofilesctl %{_libexecdir}/%{name} %{_unitdir}/%{name}.service %{_datadir}/dbus-1/system.d/net.hadess.PowerProfiles.conf %{_datadir}/dbus-1/system.d/org.freedesktop.UPower.PowerProfiles.conf %{_datadir}/dbus-1/system-services/net.hadess.PowerProfiles.service %{_datadir}/dbus-1/system-services/org.freedesktop.UPower.PowerProfiles.service %{_datadir}/polkit-1/actions/power-profiles-daemon.policy %dir %{_localstatedir}/lib/power-profiles-daemon/ %{_mandir}/man1/powerprofilesctl.1.gz %{bash_completions_dir}/powerprofilesctl %{zsh_completions_dir}/_powerprofilesctl %files docs %dir %{_datadir}/gtk-doc/ %dir %{_datadir}/gtk-doc/html/ %{_datadir}/gtk-doc/html/%{name}/ %changelog ## START: Generated by rpmautospec * Sat Nov 02 2024 Arthur Bols - 0.23-2 - Fix tuned install conflict (fedora#2323331) * Thu Sep 12 2024 Arthur Bols - 0.23-1 - Update to 0.23 (fedora#2310963) * Fri Sep 06 2024 Arthur Bols - 0.22-1 - Update to 0.22 (fedora#2309330) * Wed Jul 24 2024 Arthur Bols - 0.21-6 - Remove outdated F35 power-profiles-daemon.service preset fix * Tue Jul 23 2024 Arthur Bols - 0.21-5 - Run tests sequentially * Fri Jul 19 2024 Fedora Release Engineering - 0.21-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jun 11 2024 Kate Hsuan - 0.21-3 - Provide ppd-service * Mon Apr 08 2024 Arthur Bols - 0.21-2 - Remove bash-completion recommends * Thu Apr 04 2024 Arthur Bols - 0.21-1 - Update to 0.21 (fedora#2273227) * Fri Feb 16 2024 Arthur Bols - 0.20-1 - Update to 0.20 (fedora#2264317) * Thu Feb 01 2024 Arthur Bols - 0.13-8 - Cleanup spec - Use forgemeta macros - Cleanup BuildRequires * Tue Jan 30 2024 José Relvas - 0.13-7 - Point source to new upower upstream link * Fri Jan 26 2024 Fedora Release Engineering - 0.13-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.13-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Aug 20 2023 Arthur Bols - 0.13-4 - Migrate to SPDX license * Fri Jul 21 2023 Fedora Release Engineering - 0.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Apr 26 2023 Bastien Nocera - 0.13-1 - Update to 0.13 * Fri Jan 20 2023 Fedora Release Engineering - 0.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 28 2022 Bastien Nocera - 0.12-1 + power-profiles-daemon-0.12-1 - Update to 0.12 * Mon May 02 2022 Bastien Nocera - 0.11.1-1 + power-profiles-daemon-0.11.1-1 - Update to 0.11.1 * Fri Apr 29 2022 Bastien Nocera - 0.11-1 + power-profiles-daemon-0.11-1 - Update to 0.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.10.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Nov 05 2021 Kalev Lember - 0.10.1-2 - Apply power-profiles-daemon.service preset on upgrades to F35 and F36 * Thu Oct 28 2021 Bastien Nocera - 0.10.1-1 - power-profiles-daemon-0.10.1-1 - Update to 0.10.1 * Mon Oct 04 2021 Bastien Nocera - 0.10.0-1 + power-profiles-daemon-0.10.0-1 - Update to 0.10.0 * Fri Jul 23 2021 Fedora Release Engineering - 0.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jul 20 2021 Bastien Nocera - 0.9.0-1 + power-profiles-daemon-0.9.0-1 - Update to 0.9.0 * Wed Apr 14 2021 Bastien Nocera - 0.8.1-2 + power-profiles-daemon-0.8.1-2 - Remove linter, as apparently unwanted in check section * Thu Apr 01 2021 Bastien Nocera - 0.8.1-1 + power-profiles-daemon-0.8.1-1 - Update to 0.8.1 * Mon Mar 22 2021 Bastien Nocera - 0.8-1 + power-profiles-daemon-0.8-1 - Update to 0.8 * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 0.1-4 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. * Wed Jan 27 2021 Fedora Release Engineering - 0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Oct 28 2020 Bastien Nocera - 0.1-2 + power-profiles-daemon-0.1-2 - Reload presets when updating from an older version * Fri Aug 07 2020 Bastien Nocera - 0.1-1 - Initial package ## END: Generated by rpmautospec