X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;ds=sidebyside;f=nvidia-settings.spec;h=47d53d9cb6963d3c064990e8e6bc842aa2753406;hb=e80a81b;hp=3a9cd06913ca2b248598956ad870c767e17f0a57;hpb=279dbbcc2484a773791bcedf1d425532ce4295e2;p=packages%2Fnvidia-settings.git diff --git a/nvidia-settings.spec b/nvidia-settings.spec index 3a9cd06..47d53d9 100644 --- a/nvidia-settings.spec +++ b/nvidia-settings.spec @@ -9,12 +9,12 @@ Summary: Tool for configuring the NVIDIA driver Summary(pl.UTF-8): Narzędzie do konfigurowania sterownika NVIDIA Name: nvidia-settings # keep the version in sync with xorg-driver-video-nvidia.spec -Version: 387.34 +Version: 470.63.01 Release: 1 License: GPL v2 (with MIT parts) Group: X11/Applications Source0: https://download.nvidia.com/XFree86/nvidia-settings/%{name}-%{version}.tar.bz2 -# Source0-md5: 5ec9fcb89a0e32ef28fbe8e50d6bc34f +# Source0-md5: 5ef0d380f8a94019cf2250a6028afad9 Source1: %{name}.desktop Source2: %{name}.png Source3: %{name}-autostart.desktop @@ -119,29 +119,30 @@ sterowników NVIDIA. %build %if %{with libXNVCtrl} +CFLAGS="%{rpmcppflags} %{rpmcflags} -fPIC" \ %{__make} -C src/libXNVCtrl \ NV_VERBOSE=1 \ CC="%{__cc}" \ - CFLAGS="%{rpmcppflags} %{rpmcflags} -fPIC" + OUTPUTDIR=. %endif %if %{with utils} +CFLAGS="%{rpmcppflags} %{rpmcflags} -fPIC" \ %{__make} -C samples \ NV_VERBOSE=1 \ CC="%{__cc}" \ OUTPUTDIR=$(pwd)/_out/utils \ - X_CFLAGS="%{rpmcppflags} %{rpmcflags} -fPIC" %endif %if %{with nvidia_settings} +CFLAGS="%{rpmcppflags} %{rpmcflags}" \ +LDFLAGS="%{rpmldflags}" \ %{__make} -C src \ %{!?with_gtk3:BUILD_GTK3LIB=} \ NV_USE_BUNDLED_LIBJANSSON=0 \ NV_VERBOSE=1 \ STRIP_CMD=: \ - CC="%{__cc}" \ - X_CFLAGS="%{rpmcppflags} %{rpmcflags}" \ - X_LDFLAGS="%{rpmldflags}" + CC="%{__cc}" %{__make} -C doc \ NV_VERBOSE=1 @@ -221,7 +222,6 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/nv-control-dvc %attr(755,root,root) %{_bindir}/nv-control-events %attr(755,root,root) %{_bindir}/nv-control-framelock -%attr(755,root,root) %{_bindir}/nv-control-gvi %attr(755,root,root) %{_bindir}/nv-control-info %attr(755,root,root) %{_bindir}/nv-control-targets %attr(755,root,root) %{_bindir}/nv-control-warpblend