SPECS (Titanium): xorg-driver-video-fglrx.spec - dropped unused ve...

hawk hawk at pld-linux.org
Mon Nov 12 11:12:07 CET 2007


Author: hawk                         Date: Mon Nov 12 10:12:07 2007 GMT
Module: SPECS                         Tag: Titanium
---- Log message:
- dropped unused verbose bcond
- disable userspace for alt_kernels
- prefix src package with alt kernel if present

---- Files affected:
SPECS:
   xorg-driver-video-fglrx.spec (1.59 -> 1.59.2.1) 

---- Diffs:

================================================================
Index: SPECS/xorg-driver-video-fglrx.spec
diff -u SPECS/xorg-driver-video-fglrx.spec:1.59 SPECS/xorg-driver-video-fglrx.spec:1.59.2.1
--- SPECS/xorg-driver-video-fglrx.spec:1.59	Fri Nov  9 19:17:01 2007
+++ SPECS/xorg-driver-video-fglrx.spec	Mon Nov 12 11:12:02 2007
@@ -4,7 +4,6 @@
 %bcond_without	dist_kernel	# without distribution kernel
 %bcond_without	kernel		# don't build kernel modules
 %bcond_without	userspace	# don't build userspace tools
-%bcond_with	verbose		# verbose build (V=1)
 %bcond_with	multigl		# package libGL in a way allowing concurrent install with nvidia/fglrx drivers
 
 %define		x11ver		x710
@@ -13,6 +12,10 @@
 %undefine with_dist_kernel
 %endif
 
+%if "%{_alt_kernel}" != "%{nil}"
+%undefine	with_userspace
+%endif
+
 %ifarch %{ix86}
 %define		arch_sufix	%{nil}
 %define		arch_dir	x86
@@ -21,9 +24,11 @@
 %define		arch_dir	x86_64
 %endif
 
+%define		pname		xorg-driver-video-fglrx
+
 Summary:	Linux Drivers for ATI graphics accelerators
 Summary(pl.UTF-8):	Sterowniki do akceleratorĂłw graficznych ATI
-Name:		xorg-driver-video-fglrx
+Name:		%{pname}%{_alt_kernel}
 Version:	8.42.3
 %define		_rel	3
 Release:	%{_rel}%{?with_multigl:.mgl}
@@ -31,8 +36,8 @@
 Group:		X11
 Source0:	http://dlmdownloads.ati.com/drivers/linux/ati-driver-installer-%{version}-x86.x86_64.run
 # Source0-md5:	56ff087389b5594f0db9949354bb0698
-Patch0:		%{name}-kh.patch
-Patch1:		%{name}-pm.patch
+Patch0:		%{pname}-kh.patch
+Patch1:		%{pname}-pm.patch
 URL:		http://www.ati.com/support/drivers/linux/radeon-linux.html
 %{?with_userspace:BuildRequires:	OpenGL-GLU-devel}
 %{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
@@ -84,7 +89,7 @@
 Summary:	Header files for development for the ATI Radeon cards proprietary driver
 Summary(pl.UTF-8):	Pliki nagłówkowe do programowania z uşyciem własnościowego sterownika dla kart ATI Radeon
 Group:		X11/Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{pname} = %{version}-%{release}
 # or more?
 Requires:	xorg-proto-glproto-devel
 
@@ -100,7 +105,7 @@
 Summary:	Static libraries for development for the ATI Radeon cards proprietary driver
 Summary(pl.UTF-8):	Biblioteki statyczne do programowania z uşyciem własnościowego sterownika dla kart ATI Radeon
 Group:		X11/Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
+Requires:	%{pname}-devel = %{version}-%{release}
 
 %description static
 Static libraries for development for the ATI proprietary driver for
@@ -277,6 +282,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.59.2.1  2007-11-12 10:12:02  hawk
+- dropped unused verbose bcond
+- disable userspace for alt_kernels
+- prefix src package with alt kernel if present
+
 Revision 1.59  2007-11-09 18:17:01  patrys
 - don't obsolete mesa-libgl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xorg-driver-video-fglrx.spec?r1=1.59&r2=1.59.2.1&f=u



More information about the pld-cvs-commit mailing list