1 |
ghibo |
1100048 |
Name: mageia-prime |
2 |
ghibo |
1105867 |
Version: 0.4 |
3 |
akien |
1235053 |
Release: %mkrel 3 |
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 |
1105867 |
Requires: kmod |
11 |
|
|
Requires: dnf |
12 |
|
|
Requires: dnf-command(install) |
13 |
|
|
Requires: dnf-command(config-manager) |
14 |
ghibo |
1100048 |
Requires: urpmi |
15 |
ghibo |
1105867 |
Requires: drakxtools-backend |
16 |
akien |
1235053 |
# /bin/update-grub |
17 |
ghibo |
1105867 |
Requires: grub2-common |
18 |
akien |
1235053 |
# /bin/lspci |
19 |
|
|
Requires: pciutils |
20 |
|
|
# systemctl |
21 |
|
|
Requires: systemd-units |
22 |
akien |
1235047 |
Requires: xrandr |
23 |
ghibo |
1100048 |
|
24 |
|
|
%description |
25 |
|
|
A tool for easily configuring NVidia Prime under Mageia GNU/Linux. |
26 |
|
|
|
27 |
|
|
%prep |
28 |
|
|
%setup -q |
29 |
|
|
|
30 |
|
|
%build |
31 |
|
|
%make_build CFLAGS="%{optflags} -Wall -pedantic -D_GNU_SOURCE" |
32 |
|
|
|
33 |
|
|
%install |
34 |
|
|
%make_install |
35 |
|
|
|
36 |
|
|
%files |
37 |
|
|
%doc README.md |
38 |
ghibo |
1105867 |
%license LICENSE |
39 |
ghibo |
1100048 |
%{_sbindir}/mageia-prime-install |
40 |
|
|
%{_sbindir}/mageia-prime-uninstall |