- xorg-driver-video virtual for video drivers auto/th/xorg-driver-video-nvidia-280_13-1
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 25 Aug 2011 20:18:24 +0000 (20:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 1

Changed files:
    xorg-driver-video-nvidia.spec -> 1.336

xorg-driver-video-nvidia.spec

index 5d474b9fbd14289a6023bfecbc7aee3aea9b6e36..d6c18294ecf82243554c881f0da88c6fd1b6e6e6 100644 (file)
@@ -24,9 +24,8 @@
 %endif
 %define                no_install_post_check_so 1
 
-%define                pname           xorg-driver-video-nvidia
 %define                rel             1%{?with_multigl:.mgl}
-
+%define                pname   xorg-driver-video-nvidia
 Summary:       Linux Drivers for nVidia GeForce/Quadro Chips
 Summary(hu.UTF-8):     Linux meghajtók nVidia GeForce/Quadro chipekhez
 Summary(pl.UTF-8):     Sterowniki do kart graficznych nVidia GeForce/Quadro
@@ -56,6 +55,7 @@ Requires:     %{pname}-libs = %{epoch}:%{version}-%{rel}
 Requires:      xorg-xserver-server
 Requires:      xorg-xserver-server(videodrv-abi) <= 10.0
 Requires:      xorg-xserver-server(videodrv-abi) >= 2.0
+Provides:      xorg-driver-video
 Provides:      xorg-xserver-module(glx)
 Obsoletes:     XFree86-driver-nvidia
 Obsoletes:     XFree86-nvidia
@@ -252,18 +252,18 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,extensions} \
        $RPM_BUILD_ROOT{%{_includedir}/GL,%{_libdir}/vdpau,%{_bindir},%{_mandir}/man1} \
        $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d} \
-       $RPM_BUILD_ROOT/etc/OpenCL/vendors
+       $RPM_BUILD_ROOT%{_sysconfdir}/OpenCL/vendors
 
 %if %{with multigl}
 install -d $RPM_BUILD_ROOT{%{_libdir}/nvidia,%{_sysconfdir}/ld.so.conf.d}
 %endif
 
 install -p nvidia-{settings,smi,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir}
-cp -a nvidia-{settings,smi,xconfig}.* $RPM_BUILD_ROOT%{_mandir}/man1
-cp -a nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir}
-cp -a nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir}
+cp -p nvidia-{settings,smi,xconfig}.* $RPM_BUILD_ROOT%{_mandir}/man1
+cp -p nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir}
+cp -p nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir}
 install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh
-install -p nvidia.icd $RPM_BUILD_ROOT/etc/OpenCL/vendors
+install -p nvidia.icd $RPM_BUILD_ROOT%{_sysconfdir}/OpenCL/vendors
 
 %if %{without multigl}
 install -p libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}
@@ -387,9 +387,9 @@ ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so
 
 %files libs
 %defattr(644,root,root,755)
-%dir /etc/OpenCL
-%dir /etc/OpenCL/vendors
-/etc/OpenCL/vendors/nvidia.icd
+%dir %{_sysconfdir}/OpenCL
+%dir %{_sysconfdir}/OpenCL/vendors
+%{_sysconfdir}/OpenCL/vendors/nvidia.icd
 %if %{with multigl}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia.conf
 %dir %{_libdir}/nvidia
This page took 0.03678 seconds and 4 git commands to generate.