16 |
%if !%simple |
%if !%simple |
17 |
# When updating, please add new ids to ldetect-lst (merge2pcitable.pl) |
# When updating, please add new ids to ldetect-lst (merge2pcitable.pl) |
18 |
%define version 331.20 |
%define version 331.20 |
19 |
%define rel 2.1 |
%define rel 3 |
20 |
# the highest supported videodrv abi |
# the highest supported videodrv abi |
21 |
%define videodrv_abi 14 |
%define videodrv_abi 14 |
22 |
%endif |
%endif |
117 |
Source10: nvidia-mgabuild-skel |
Source10: nvidia-mgabuild-skel |
118 |
# include xf86vmproto for X_XF86VidModeGetGammaRampSize, fixes build on cooker |
# include xf86vmproto for X_XF86VidModeGetGammaRampSize, fixes build on cooker |
119 |
Patch3: nvidia-settings-include-xf86vmproto.patch |
Patch3: nvidia-settings-include-xf86vmproto.patch |
120 |
|
# (tmb) fix uvm build when CONFIG_UIDGID_STRICT_TYPE_CHECKS is set |
121 |
|
Patch4: nvidia-current-331.20-CONFIG_UIDGID_STRICT_TYPE_CHECKS-buildfix.patch |
122 |
%endif |
%endif |
123 |
License: Freeware |
License: Freeware |
124 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
BuildRoot: %{_tmppath}/%{name}-buildroot |
238 |
%endif |
%endif |
239 |
sh %{nsource} --extract-only |
sh %{nsource} --extract-only |
240 |
|
|
241 |
#%if !%simple |
%if !%simple |
242 |
#cd %{pkgname} |
cd %{pkgname} |
243 |
#cd .. |
%patch4 -p2 |
244 |
#%endif |
cd .. |
245 |
|
%endif |
246 |
|
|
247 |
rm -rf %{pkgname}/usr/src/nv/precompiled |
rm -rf %{pkgname}/usr/src/nv/precompiled |
248 |
|
|