Name: switcheroo-control Version: 1.0 Release: 1%{?dist} Summary: D-Bus service to check the availability of dual-GPU License: GPLv3 URL: https://github.com/hadess/switcheroo-control Source0: https://github.com/hadess/switcheroo-control/releases/download/%{version}/switcheroo-control-%{version}.tar.xz BuildRequires: gcc BuildRequires: pkgconfig(gio-2.0) BuildRequires: systemd %{?systemd_requires} %description D-Bus service to check the availability of dual-GPU. %prep %autosetup %build %configure %make_build %install %make_install %post %systemd_post switcheroo-control.service %preun %systemd_preun switcheroo-control.service %postun %systemd_postun_with_restart switcheroo-control.service %files %license COPYING %doc NEWS README.md %{_sysconfdir}/dbus-1/system.d/net.hadess.SwitcherooControl.conf %{_unitdir}/switcheroo-control.service %{_sbindir}/switcheroo-control %changelog * Fri Oct 21 2016 Kalev Lember - 1.0-1 - Initial Fedora packaging