]> git.pld-linux.org Git - packages/X11-driver-firegl.git/blobdiff - X11-driver-firegl.spec
- patches needed to compile firegl on 2.6.12 kernel - commented out for now
[packages/X11-driver-firegl.git] / X11-driver-firegl.spec
index b8decb28df9f43702eff4ebac753b64c5f1bf092..e2de895408e3f4d3aac780588f4bab4fa80dbd9d 100644 (file)
@@ -18,7 +18,7 @@
 %else
 %define                need_x86        0%{?with_incall:1}
 %endif
-%ifarch amd64
+%ifarch %{x8664}
 %define                need_amd64      1
 %else
 %define                need_amd64      0%{?with_incall:1}
 Summary:       Linux Drivers for ATI graphics accelerators
 Summary(pl):   Sterowniki do akceleratorów graficznych ATI
 Name:          X11-driver-firegl
-Version:       8.12.10
-%define                _rel    2
+Version:       8.14.13
+%define                _rel    1
 Release:       %{_rel}
 License:       ATI Binary (parts are GPL)
 Vendor:                ATI
 Group:         X11/XFree86
 %if %{need_x86}
 Source0:       http://www2.ati.com/drivers/linux/fglrx_6_8_0-%{version}-1.i386.rpm
-# Source0-md5: 9c6397047331aadaa2c379ca78245810
+# Source0-md5: 5187698cee2edf3dee89bc3eee5729c1
 %endif
 %if %{need_amd64}
-Source1:       http://www2.ati.com/drivers/linux/fglrx64_6_8_0-%{version}-1.x86_64.rpm
-# Source1-md5: a54abd8af43d3066faccda4cecec851c
+Source1:       http://www2.ati.com/drivers/linux/64bit/fglrx64_6_8_0-%{version}-1.x86_64.rpm
+# Source1-md5: fc6c39cdf856955359c6f7087a78581c
 %endif
 Patch0:                firegl-panel.patch
 Patch1:                firegl-panel-ugliness.patch
-Patch2:                %{name}-kernel-2_6_11.patch
-Patch3:                %{name}-kh.patch
-Patch4:                %{name}-viak8t.patch
+Patch2:                %{name}-kh.patch
+Patch3:                %{name}-viak8t.patch
+# needed to compile with linux kernel 2.6.12 or newer
+# NOTE: You have to uncommented these in %prep (I thinks these may brake build on < 2.6.12)
+Patch4:                %{name}-pci_name.patch
+Patch5:                %{name}-inter_module_get.patch
 URL:           http://www.ati.com/support/drivers/linux/radeon-linux.html
 BuildRequires: cpio
 %{?with_dist_kernel:BuildRequires:     kernel-module-build >= 2.6.7}
-BuildRequires: rpmbuild(macros) >= 1.153
+BuildRequires: rpmbuild(macros) >= 1.213
 %{?with_userspace:BuildRequires:       qt-devel}
 #BuildRequires:        X11-devel >= %{_min_x11}        # disabled for now
 Requires:      X11-OpenGL-core >= %{_min_x11}
 Requires:      X11-Xserver
-Requires:      X11-driver-firegl(kernel)
+%{?with_kernel:Requires:       X11-driver-firegl(kernel)}
 Requires:      X11-libs >= %{_min_x11}
 Requires:      X11-modules >= %{_min_x11}
 Provides:      X11-OpenGL-libGL
@@ -63,7 +66,7 @@ Obsoletes:    Mesa
 Obsoletes:     X11-OpenGL-libGL
 Obsoletes:     XFree86-OpenGL-libGL
 Obsoletes:     XFree86-driver-firegl
-ExclusiveArch: i586 i686 athlon pentium3 pentium4 amd64
+ExclusiveArch: i586 i686 athlon pentium3 pentium4 %{x8664}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _noautoreqdep   libGL.so.1
@@ -118,7 +121,7 @@ Modu
 
 %prep
 %setup -q -c -T
-%ifarch amd64
+%ifarch %{x8664}
 rpm2cpio %{SOURCE1} | cpio -i -d
 %else
 rpm2cpio %{SOURCE0} | cpio -i -d
@@ -128,8 +131,10 @@ tar -xzf usr/src/ATI/fglrx_panel_sources.tgz -C panel_src
 
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
-%{?with_dist_kernel:%patch3 -p1}
+%{?with_dist_kernel:%patch2 -p1}
+%patch3 -p1
+#%patch4 -p1
+#%patch5 -p1
 
 %build
 %if %{with kernel}
This page took 0.033224 seconds and 4 git commands to generate.