17 |
# Primus has no stable release and only a 0.1 tag |
# Primus has no stable release and only a 0.1 tag |
18 |
# Staying with version number 0.1 until another tag is published |
# Staying with version number 0.1 until another tag is published |
19 |
Version: 0.1 |
Version: 0.1 |
20 |
Release: %mkrel -c %{date} 3 |
Release: %mkrel -c %{date} 4 |
21 |
URL: https://github.com/amonakov/primus |
URL: https://github.com/amonakov/primus |
22 |
License: ISC |
License: ISC |
23 |
Source0: %{name}-master.tar.gz |
Source0: %{name}-master.tar.gz |
80 |
%endif |
%endif |
81 |
|
|
82 |
%build |
%build |
83 |
LIBDIR=%{_lib} %make CFLAGS="%{optflags}" |
export CXXFLAGS="%{optflags}" |
84 |
|
|
85 |
|
%make LIBDIR=%{_lib} \ |
86 |
|
PRIMUS_libGLa=%{_libdir}/nvidia-current/libGL.so.1 \ |
87 |
|
PRIMUS_libGLd=%{_libdir}/libGL.so.1 |
88 |
|
|
89 |
%install |
%install |
90 |
install -Dm755 primusrun %{buildroot}%{_bindir}/primusrun |
install -Dm755 primusrun %{buildroot}%{_bindir}/primusrun |