Name: mageia-prime Version: 0.4 %define subrel 1 Release: %mkrel 2 Summary: An NVidia Prime configuration tool Group: Development/X11 URL: https://github.com/ghibo/%{name} Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz License: GPLv3 Requires: kmod Requires: dnf Requires: dnf-command(install) Requires: dnf-command(config-manager) Requires: urpmi Requires: drakxtools-backend # /bin/update-grub Requires: grub2-common # /bin/lspci Requires: pciutils # systemctl Requires: systemd-units Requires: xrandr %description A tool for easily configuring NVidia Prime under Mageia GNU/Linux. %prep %setup -q %build %make_build CFLAGS="%{optflags} -Wall -pedantic -D_GNU_SOURCE" %install %make_install %files %doc README.md %license LICENSE %{_sbindir}/mageia-prime-install %{_sbindir}/mageia-prime-uninstall %changelog * Wed Jun 06 2018 akien <akien> 0.4-2.1.mga6 (not released yet) + Revision: 1235052 - Also require systemd-units explicitly (for systemctl) - Require xrandr (mga#23122) * Fri Jun 02 2017 ghibo <ghibo> 0.4-1.mga6.nonfree + Revision: 1105867 - Updated to release 0.4. - Merged Neal Gompa changes for dnf support and cleaning spec file. * Tue May 23 2017 ghibo <ghibo> 0.3-1.mga6.nonfree + Revision: 1104293 - Update to release 0.3. - Use Recommends instead of Suggests (suggested by Neal Gompa and Remi Verschelde). * Tue May 23 2017 ghibo <ghibo> 0.2-2.mga6.nonfree + Revision: 1104287 - Added bumblebee to Conflicts * Mon May 22 2017 ghibo <ghibo> 0.2-1.mga6 + Revision: 1104134 - Update to release 0.2 * Wed May 10 2017 ghibo <ghibo> 0.1-1.mga6.nonfree + Revision: 1100048 - imported package mageia-prime