Blame SPECS/power-profiles-daemon.spec

20fd51
Name:           power-profiles-daemon
20fd51
Version:        0.10.1
20fd51
Release:        1%{?dist}
20fd51
Summary:        Makes power profiles handling available over D-Bus
20fd51
20fd51
License:        GPLv3+
20fd51
URL:            https://gitlab.freedesktop.org/hadess/power-profiles-daemon
20fd51
Source0:        https://gitlab.freedesktop.org/hadess/power-profiles-daemon/uploads/3ef8a68ea5d23e23d893a688b63079d0/power-profiles-daemon-0.10.1.tar.xz
20fd51
20fd51
BuildRequires:  meson
20fd51
BuildRequires:  gcc
20fd51
BuildRequires:  gtk-doc
20fd51
BuildRequires:  pkgconfig(udev)
20fd51
BuildRequires:  pkgconfig(systemd)
20fd51
BuildRequires:  pkgconfig(gio-2.0)
20fd51
BuildRequires:  pkgconfig(gudev-1.0)
20fd51
BuildRequires:  pkgconfig(upower-glib)
20fd51
BuildRequires:  pkgconfig(polkit-gobject-1)
20fd51
BuildRequires:  systemd
20fd51
BuildRequires:  umockdev
20fd51
BuildRequires:  python3-dbusmock
20fd51
BuildRequires:  systemd-rpm-macros
20fd51
20fd51
%description
20fd51
%{summary}.
20fd51
20fd51
%package docs
20fd51
Summary:        Documentation for %{name}
20fd51
BuildArch:      noarch
20fd51
20fd51
%description docs
20fd51
This package contains the documentation for %{name}.
20fd51
20fd51
%prep
20fd51
%autosetup
20fd51
20fd51
%build
20fd51
%meson -Dgtk_doc=true
20fd51
%meson_build
20fd51
20fd51
%install
20fd51
%meson_install
20fd51
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/power-profiles-daemon
20fd51
20fd51
%check
20fd51
%meson_test
20fd51
20fd51
%post
20fd51
%systemd_post %{name}.service
20fd51
20fd51
%preun
20fd51
%systemd_preun %{name}.service
20fd51
20fd51
%postun
20fd51
%systemd_postun_with_restart %{name}.service
20fd51
20fd51
%triggerun -- power-profiles-daemon < 0.1-2
20fd51
20fd51
# This is for upgrades from previous versions before power-profiles-daemon became part
20fd51
# of the system daemons.
20fd51
systemctl --no-reload preset power-profiles-daemon.service &>/dev/null || :
20fd51
20fd51
%files
20fd51
%license COPYING
20fd51
%doc README.md
20fd51
%{_bindir}/powerprofilesctl
20fd51
%{_libexecdir}/%{name}
20fd51
%{_unitdir}/%{name}.service
20fd51
%{_sysconfdir}/dbus-1/system.d/net.hadess.PowerProfiles.conf
20fd51
%{_datadir}/dbus-1/system-services/net.hadess.PowerProfiles.service
20fd51
%{_datadir}/polkit-1/actions/net.hadess.PowerProfiles.policy
20fd51
%{_localstatedir}/lib/power-profiles-daemon
20fd51
20fd51
%files docs
20fd51
%dir %{_datadir}/gtk-doc/
20fd51
%dir %{_datadir}/gtk-doc/html/
20fd51
%{_datadir}/gtk-doc/html/%{name}/
20fd51
20fd51
%changelog
20fd51
* Tue Nov 02 2021 Bastien Nocera <bnocera@redhat.com> - 0.10.1-1
20fd51
+ power-profiles-daemon-0.10.1-1
20fd51
- Update to 0.10.1
20fd51
- Resolves: rhbz#2019372
20fd51
20fd51
* Wed Oct 06 2021 Bastien Nocera <bnocera@redhat.com> - 0.10.0-1
20fd51
+ power-profiles-daemon-0.10.0-1
20fd51
- Update to 0.10.0
20fd51
- Resolves: rhbz#2011233
20fd51
20fd51
* Thu Aug 19 2021 Bastien Nocera <bnocera@redhat.com> - 0.9.0-1
20fd51
+ power-profiles-daemon-0.9.0-1
20fd51
- Update to 0.9.0
20fd51
- Resolves: rhbz#1994473
20fd51
20fd51
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.8.1-4
20fd51
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
20fd51
  Related: rhbz#1991688
20fd51
20fd51
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.8.1-3
20fd51
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
20fd51
20fd51
* Wed Apr 14 2021 Bastien Nocera <bnocera@redhat.com> - 0.8.1-2
20fd51
+ power-profiles-daemon-0.8.1-2
20fd51
- Remove linter, as apparently unwanted in check section
20fd51
- Resolves: rhbz#1947950
20fd51
20fd51
* Thu Apr 01 2021 Bastien Nocera <bnocera@redhat.com> - 0.8.1-1
20fd51
+ power-profiles-daemon-0.8.1-1
20fd51
- Update to 0.8.1
20fd51
20fd51
* Mon Mar 22 2021 Bastien Nocera <bnocera@redhat.com> - 0.8-1
20fd51
+ power-profiles-daemon-0.8-1
20fd51
- Update to 0.8
20fd51
20fd51
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-3
20fd51
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
20fd51
20fd51
* Wed Oct 28 2020 Bastien Nocera <bnocera@redhat.com> - 0.1-2
20fd51
+ power-profiles-daemon-0.1-2
20fd51
- Reload presets when updating from an older version
20fd51
20fd51
* Fri Aug 07 2020 Bastien Nocera <bnocera@redhat.com> - 0.1-1
20fd51
- Initial package