1 |
ghibo |
1100048 |
Name: mageia-prime |
2 |
ghibo |
1105867 |
Version: 0.4 |
3 |
akien |
1235047 |
Release: %mkrel 2 |
4 |
ghibo |
1100048 |
Summary: An NVidia Prime configuration tool |
5 |
|
|
Group: Development/X11 |
6 |
ghibo |
1105867 |
URL: https://github.com/ghibo/%{name} |
7 |
|
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz |
8 |
ghibo |
1100048 |
License: GPLv3 |
9 |
akien |
1235047 |
|
10 |
ghibo |
1100048 |
Requires: pciutils |
11 |
ghibo |
1105867 |
Requires: kmod |
12 |
|
|
Requires: dnf |
13 |
|
|
Requires: dnf-command(install) |
14 |
|
|
Requires: dnf-command(config-manager) |
15 |
ghibo |
1100048 |
Requires: urpmi |
16 |
ghibo |
1105867 |
Requires: drakxtools-backend |
17 |
|
|
Requires: grub2-common |
18 |
akien |
1235047 |
Requires: xrandr |
19 |
ghibo |
1100048 |
|
20 |
|
|
%description |
21 |
|
|
A tool for easily configuring NVidia Prime under Mageia GNU/Linux. |
22 |
|
|
|
23 |
|
|
%prep |
24 |
|
|
%setup -q |
25 |
|
|
|
26 |
|
|
%build |
27 |
|
|
%make_build CFLAGS="%{optflags} -Wall -pedantic -D_GNU_SOURCE" |
28 |
|
|
|
29 |
|
|
%install |
30 |
|
|
%make_install |
31 |
|
|
|
32 |
|
|
%files |
33 |
|
|
%doc README.md |
34 |
ghibo |
1105867 |
%license LICENSE |
35 |
ghibo |
1100048 |
%{_sbindir}/mageia-prime-install |
36 |
|
|
%{_sbindir}/mageia-prime-uninstall |