From b73c2344549d014e9c869fe6af5b88e1cb76f31f Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 02 2021 13:26:42 +0000 Subject: import power-profiles-daemon-0.9.0-1.el9 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cec25c5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/power-profiles-daemon-0.9.0.tar.xz diff --git a/.power-profiles-daemon.metadata b/.power-profiles-daemon.metadata new file mode 100644 index 0000000..1dcde80 --- /dev/null +++ b/.power-profiles-daemon.metadata @@ -0,0 +1 @@ +70c52d74aeaa04e750c62aca9b1bcb0f2040923e SOURCES/power-profiles-daemon-0.9.0.tar.xz diff --git a/SPECS/power-profiles-daemon.spec b/SPECS/power-profiles-daemon.spec new file mode 100644 index 0000000..787a61c --- /dev/null +++ b/SPECS/power-profiles-daemon.spec @@ -0,0 +1,111 @@ +Name: power-profiles-daemon +Version: 0.9.0 +Release: 1%{?dist} +Summary: Makes power profiles handling available over D-Bus + +License: GPLv3+ +URL: https://gitlab.freedesktop.org/hadess/power-profiles-daemon +Source0: https://gitlab.freedesktop.org/hadess/power-profiles-daemon/uploads/28dd86921d78b4e0ae03447e066ae247/power-profiles-daemon-0.9.0.tar.xz + +BuildRequires: meson +BuildRequires: gcc +BuildRequires: gtk-doc +BuildRequires: pkgconfig(udev) +BuildRequires: pkgconfig(systemd) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gudev-1.0) +BuildRequires: pkgconfig(upower-glib) +BuildRequires: systemd +BuildRequires: umockdev +BuildRequires: python3-dbusmock +BuildRequires: systemd-rpm-macros + +%description +%{summary}. + +%package docs +Summary: Documentation for %{name} +BuildArch: noarch + +%description docs +This package contains the documentation for %{name}. + +%prep +%autosetup + +%build +%meson -Dgtk_doc=true +%meson_build + +%install +%meson_install +mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/power-profiles-daemon + +%check +%meson_test + +%post +%systemd_post %{name}.service + +%preun +%systemd_preun %{name}.service + +%postun +%systemd_postun_with_restart %{name}.service + +%triggerun -- power-profiles-daemon < 0.1-2 + +# This is for upgrades from previous versions before power-profiles-daemon became part +# of the system daemons. +systemctl --no-reload preset power-profiles-daemon.service &>/dev/null || : + +%files +%license COPYING +%doc README.md +%{_bindir}/powerprofilesctl +%{_libexecdir}/%{name} +%{_unitdir}/%{name}.service +%{_sysconfdir}/dbus-1/system.d/net.hadess.PowerProfiles.conf +%{_datadir}/dbus-1/system-services/net.hadess.PowerProfiles.service +%{_localstatedir}/lib/power-profiles-daemon + +%files docs +%dir %{_datadir}/gtk-doc/ +%dir %{_datadir}/gtk-doc/html/ +%{_datadir}/gtk-doc/html/%{name}/ + +%changelog +* Thu Aug 19 2021 Bastien Nocera - 0.9.0-1 ++ power-profiles-daemon-0.9.0-1 +- Update to 0.9.0 +- Resolves: rhbz#1994473 + +* Tue Aug 10 2021 Mohan Boddu - 0.8.1-4 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 0.8.1-3 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* 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 +- Resolves: rhbz#1947950 + +* 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 + +* 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