Name: power-profiles-daemon Version: 0.1 Release: 1%{?dist} Summary: Makes power profiles handling available over D-Bus License: GPLv3+ URL: https://gitlab.freedesktop.org/hadess/power-profiles-daemon Source0: %{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 %{?systemd_requires} %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 %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 * Fri Aug 07 2020 Bastien Nocera - 0.0-1 - Initial package