SPECS: X11-driver-nvidia.spec - without userspace bcond
glen
glen at pld-linux.org
Sat Jul 30 21:03:43 CEST 2005
Author: glen Date: Sat Jul 30 19:03:43 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- without userspace bcond
---- Files affected:
SPECS:
X11-driver-nvidia.spec (1.49 -> 1.50)
---- Diffs:
================================================================
Index: SPECS/X11-driver-nvidia.spec
diff -u SPECS/X11-driver-nvidia.spec:1.49 SPECS/X11-driver-nvidia.spec:1.50
--- SPECS/X11-driver-nvidia.spec:1.49 Sun Jul 10 21:48:47 2005
+++ SPECS/X11-driver-nvidia.spec Sat Jul 30 21:03:37 2005
@@ -5,6 +5,7 @@
%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)
#
%define _nv_ver 1.0
@@ -223,6 +224,8 @@
%install
rm -rf $RPM_BUILD_ROOT
+
+%if %{with userspace}
install -d $RPM_BUILD_ROOT%{_libdir}/modules/{drivers,extensions} \
$RPM_BUILD_ROOT{/usr/include/GL,/usr/%{_lib}/tls,%{_bindir}}
@@ -254,6 +257,7 @@
# OpenGL ABI for Linux compatibility
ln -sf %{_libdir}/libGL.so.1 $RPM_BUILD_ROOT/usr/%{_lib}/libGL.so.1
ln -sf %{_libdir}/libGL.so $RPM_BUILD_ROOT/usr/%{_lib}/libGL.so
+%endif
%if %{with kernel}
cd usr/src/nv/
@@ -298,6 +302,7 @@
%postun -n kernel-smp-video-nvidia
%depmod %{_kernel_ver}smp
+%if %{with userspace}
%files
%defattr(644,root,root,755)
%doc LICENSE
@@ -322,6 +327,7 @@
%attr(755,root,root) /usr/%{_lib}/libGL.so
%attr(755,root,root) %{_libdir}/modules/extensions/libglx.so*
%attr(755,root,root) %{_libdir}/modules/drivers/nvidia_drv.o
+%endif
%if %{with kernel}
%files -n kernel-video-nvidia
@@ -335,6 +341,7 @@
%endif
%endif
+%if %{with userspace}
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so
@@ -346,6 +353,7 @@
%defattr(644,root,root,755)
%doc usr/share/doc/nvidia-settings-user-guide.txt
%attr(755,root,root) %{_bindir}/nvidia-settings
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -353,6 +361,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.50 2005/07/30 19:03:37 glen
+- without userspace bcond
+
Revision 1.49 2005/07/10 19:48:47 djurban
- updated to 7667, this removes support for many old cars,
previous version tagged as 'nvidia-7174'
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/X11-driver-nvidia.spec?r1=1.49&r2=1.50&f=u
More information about the pld-cvs-commit
mailing list