]> git.pld-linux.org Git - packages/X11-driver-nvidia-legacy2.git/commitdiff
- src.rpm contents shouldn't be arch or bcond dependent
authorhawk <hawk@pld-linux.org>
Sat, 20 Oct 2007 11:59:09 +0000 (11:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- updated URL, removed obsolete conftest.patch, cleanup

Changed files:
    X11-driver-nvidia-legacy2.spec -> 1.1.2.16

X11-driver-nvidia-legacy2.spec

index 5f86059aebb1206dde9a0ff292ba011735243bab..379de3d9b093a9aa93772d5381162092b1dcca89 100644 (file)
@@ -1,8 +1,8 @@
 # Conditional build:
 %bcond_without dist_kernel     # without distribution kernel
+%bcond_without up              # without up packages
 %bcond_without smp             # without smp packages
 %bcond_without kernel          # without kernel packages
-%bcond_without incall          # include all tarballs
 %bcond_without userspace       # don't build userspace programs
 %bcond_with    verbose         # verbose build (V=1)
 %bcond_with    grsec_kernel    # build for kernel-grsecurity
 %define                _min_x11        6.7.0
 %define                _rel    55
 #
-%define                need_x86        0
-%define                need_x8664      0
-%if %{with incall}
-%define                need_x86        1
-%define                need_x8664      1
-%else
-%ifarch %{ix86}
-%define                need_x86        1
-%endif
-%ifarch %{x8664}
-%define                need_x8664      1
-%endif
-%endif
-#
 
 Summary:       Linux Drivers for NVIDIA GeForce/Quadro Chips
 Summary(pl):   Sterowniki do kart graficznych NVIDIA GeForce/Quadro
@@ -37,26 +23,18 @@ Version:    %{_nv_ver}
 Release:       %{_rel}
 License:       nVidia Binary
 Group:         X11
-# why not pkg0!?
-%if %{need_x86}
 Source0:       http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}/NVIDIA-Linux-x86-%{_nv_ver}-pkg1.run
 # Source0-md5: 66f8b5e243aad22162e40d0f05f0bf1e
-%endif
-%if %{need_x8664}
 Source1:       http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}/NVIDIA-Linux-x86_64-%{_nv_ver}-pkg1.run
 # Source1-md5: 1cb134675bbdce8e172a0edc78618ed3
-%endif
 Source2:       %{name}-settings.desktop
 Source3:       %{name}-xinitrc.sh
 Patch0:                %{name}-GL.patch
-Patch1:                %{name}-conftest.patch
-# http://www.minion.de/files/1.0-6629/
-URL:           http://www.nvidia.com/object/linux.html
+URL:           http://www.nvidia.com/object/unix.html
 %if %{with kernel}
 %{?with_dist_kernel:BuildRequires:     kernel%{_alt_kernel}-module-build >= 3:2.6.7}
 %endif
 BuildRequires: %{kgcc_package}
-#BuildRequires:        X11-devel >= %{_min_x11}        # disabled for now
 BuildRequires: rpmbuild(macros) >= 1.308
 BuildRequires: sed >= 4.0
 BuildConflicts:        XFree86-nvidia
@@ -195,7 +173,6 @@ rm -rf NVIDIA-Linux-x86*-%{_nv_ver}-pkg*
 %setup -qDT -n NVIDIA-Linux-x86_64-%{_nv_ver}-pkg1
 %endif
 %patch0 -p1
-#%patch1 -p1
 sed -i 's:-Wpointer-arith::' usr/src/nv/Makefile.kbuild
 
 %build
@@ -252,12 +229,6 @@ install usr/lib/tls/libnvidia-tls.so.%{version} $RPM_BUILD_ROOT/usr/%{_lib}/tls
 install usr/lib/libGL{,core}.so.%{version} $RPM_BUILD_ROOT%{_libdir}
 install usr/X11R6/lib/modules/extensions/libglx.so.%{version} \
        $RPM_BUILD_ROOT%{_libdir}/modules/extensions
-%ifarch %{x8664}
-# support for running 32-bit OpenGL applications on 64-bit AMD64 Linux installations
-#install -d $RPM_BUILD_ROOT%{_libdir32}
-#install usr/lib32%{?with_tls:/tls}/libnvidia-tls.so.%{version} $RPM_BUILD_ROOT%{_libdir32}
-#install usr/lib32/libGL{,core}.so.%{version} $RPM_BUILD_ROOT%{_libdir32}
-%endif
 
 install usr/X11R6/lib/modules/drivers/nvidia_drv.so $RPM_BUILD_ROOT%{_libdir}/modules/drivers
 install usr/X11R6/lib/libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}
@@ -321,7 +292,6 @@ EOF
 %defattr(644,root,root,755)
 %doc LICENSE
 %doc usr/share/doc/{README.txt,NVIDIA_Changelog,XF86Config.sample}
-#%%lang(de) %doc usr/share/doc/README.DE
 %attr(755,root,root) %{_libdir}/libGL.so.*.*
 %attr(755,root,root) %{_libdir}/libGL.so
 %attr(755,root,root) %{_libdir}/libGLcore.so.*.*
@@ -329,14 +299,6 @@ EOF
 %dir /usr/%{_lib}/tls
 %attr(755,root,root) /usr/%{_lib}/libnvidia-tls.so.*.*.*
 %attr(755,root,root) /usr/%{_lib}/tls/libnvidia-tls.so.*.*.*
-%ifarch %{x8664}
-# support for running 32-bit OpenGL applications on 64-bit AMD64 Linux installations
-#dir %{_libdir32}
-#attr(755,root,root) %{_libdir32}/libGL.so.*.*
-#attr(755,root,root) %{_libdir32}/libGLcore.so.*.*
-#attr(755,root,root) %{_libdir32}/libXvMCNVIDIA.so.*.*
-#attr(755,root,root) %{_libdir32}/libnvidia-tls.so.*.*.*
-%endif
 %attr(755,root,root) /usr/%{_lib}/libGL.so.1
 %attr(755,root,root) /usr/%{_lib}/libGL.so
 %attr(755,root,root) %{_libdir}/modules/extensions/libglx.so*
@@ -360,7 +322,6 @@ EOF
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so
 /usr/include/GL/*.h
-# -static
 %{_libdir}/libXvMCNVIDIA.a
 
 %files progs
This page took 0.057545 seconds and 4 git commands to generate.