Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/power-profiles-daemon.git#8d368a319f1e980475e0a224b28e904e4c036a41
This commit is contained in:
parent
d1287d2dc7
commit
ecf9cdc110
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/power-profiles-daemon-0.1.tar.xz
|
||||
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# power-profiles-daemon
|
||||
|
||||
The power-profiles-daemon package
|
||||
80
power-profiles-daemon.spec
Normal file
80
power-profiles-daemon.spec
Normal file
@ -0,0 +1,80 @@
|
||||
Name: power-profiles-daemon
|
||||
Version: 0.1
|
||||
Release: 2%{?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/5efc7a766d5a50ed811e085035c7b967/%{name}-%{version}.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
|
||||
|
||||
%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
|
||||
%{_libexecdir}/%{name}
|
||||
%{_unitdir}/%{name}.service
|
||||
%{_sysconfdir}/dbus-1/system.d/net.hadess.PowerProfiles.conf
|
||||
%{_datadir}/dbus-1/system-services/net.hadess.PowerProfiles.service
|
||||
|
||||
%files docs
|
||||
%dir %{_datadir}/gtk-doc/
|
||||
%dir %{_datadir}/gtk-doc/html/
|
||||
%{_datadir}/gtk-doc/html/%{name}/
|
||||
|
||||
%changelog
|
||||
* Wed Oct 28 2020 Bastien Nocera <bnocera@redhat.com> - 0.1-2
|
||||
+ power-profiles-daemon-0.1-2
|
||||
- Reload presets when updating from an older version
|
||||
|
||||
* Fri Aug 07 2020 Bastien Nocera <bnocera@redhat.com> - 0.1-1
|
||||
- Initial package
|
||||
Loading…
Reference in New Issue
Block a user