Blame SPECS/power-profiles-daemon.spec

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