]> git.pld-linux.org Git - packages/nvidia-settings.git/blobdiff - nvidia-settings.spec
- up to 331.20
[packages/nvidia-settings.git] / nvidia-settings.spec
index 4a1c9ff1cad790fc58457e88d31ae75c81e27957..ba835b8ac2fb38419f763796f33e5ca91963be55 100644 (file)
@@ -8,16 +8,18 @@ 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:       310.19
+Version:       331.20
 Release:       1
 License:       GPL
 Group:         X11
 Source0:       ftp://download.nvidia.com/XFree86/nvidia-settings/%{name}-%{version}.tar.bz2
-# Source0-md5: bcd79ca8d4f806616e206f54a6cc3ab3
+# Source0-md5: bbe5b7beaedb274d4dc81640f8e561ce
 Source1:       %{name}.desktop
 Source2:       %{name}.png
+Source3:       %{name}-autostart.desktop
 URL:           ftp://download.nvidia.com/XFree86/nvidia-settings/
 BuildRequires: OpenGL-devel
+BuildRequires: libvdpau-devel
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXext-devel
 BuildRequires: xorg-lib-libXv-devel
@@ -110,13 +112,14 @@ sterowników NVIDIA.
 %install
 rm -rf $RPM_BUILD_ROOT
 %if %{with nvidia_settings}
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_desktopdir},%{_pixmapsdir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_desktopdir},%{_pixmapsdir},/etc/xdg/autostart}
 %{__make} install \
        INSTALL="install -p" \
        PREFIX=%{_prefix} \
        DESTDIR=$RPM_BUILD_ROOT
 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/xdg/autostart/%{name}.desktop
 %endif
 
 %if %{with libXNVCtrl}
@@ -166,6 +169,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/nvidia-settings.1*
 %{_desktopdir}/nvidia-settings.desktop
 %{_pixmapsdir}/nvidia-settings.png
+/etc/xdg/autostart/%{name}.desktop
 %endif
 
 %if %{with utils}
@@ -177,6 +181,7 @@ rm -rf $RPM_BUILD_ROOT
 %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
 %endif
 
 %if %{with libXNVCtrl}
This page took 0.084167 seconds and 4 git commands to generate.