1 |
ghibo |
1100048 |
Name: mageia-prime |
2 |
|
|
Version: 0.1 |
3 |
|
|
Release: %mkrel 1 |
4 |
|
|
Summary: An NVidia Prime configuration tool |
5 |
|
|
Group: Development/X11 |
6 |
|
|
URL: http://www.github.com/ghibo/mageia-prime |
7 |
|
|
Source0: https://github.com/ghibo/mageia-prime/archive/v%{version}.tar.gz |
8 |
|
|
License: GPLv3 |
9 |
|
|
Requires: pciutils |
10 |
|
|
Requires: urpmi |
11 |
|
|
|
12 |
|
|
%description |
13 |
|
|
A tool for easily configuring NVidia Prime under Mageia GNU/Linux. |
14 |
|
|
|
15 |
|
|
%prep |
16 |
|
|
%setup -q |
17 |
|
|
|
18 |
|
|
%build |
19 |
|
|
%make_build CFLAGS="%{optflags} -Wall -pedantic -D_GNU_SOURCE" |
20 |
|
|
|
21 |
|
|
%install |
22 |
|
|
mkdir -p %{buildroot}%{_sbindir} |
23 |
|
|
%make_install |
24 |
|
|
|
25 |
|
|
%files |
26 |
|
|
%doc README.md |
27 |
|
|
%license LICENSE-GPL-3.0.txt |
28 |
|
|
%{_sbindir}/mageia-prime-install |
29 |
|
|
%{_sbindir}/mageia-prime-uninstall |
30 |
|
|
|