]> git.pld-linux.org Git - packages/X11-driver-firegl.git/blobdiff - X11-driver-firegl.spec
- rel 0.2
[packages/X11-driver-firegl.git] / X11-driver-firegl.spec
index 185afd789a5ece8d94822cd60c12185d0d1f3db0..9bacc951b2b4dbc2f7c3d4a3575d408c5d383dfe 100644 (file)
@@ -6,14 +6,19 @@
 %bcond_without userspace       # don't build userspace tools
 %bcond_with    verbose         # verbose build (V=1)
 %bcond_without incall          # include all sources in srpm
-
-%define                _min_eq_x11     1:6.9.0
-%define                _max_x11        1:7.0.0
-%define                x11ver          x690
-
+%bcond_with    grsec_kernel    # build for kernel-grsecurity
+#
 %if !%{with kernel}
 %undefine with_dist_kernel
 %endif
+#
+%if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel}
+%define        alt_kernel      grsecurity
+%endif
+#
+%define                _min_eq_x11     1:6.9.0
+%define                _max_x11        1:7.0.0
+%define                x11ver          x690
 
 %ifarch %{ix86}
 %define                arch_sufix      ""
 
 %define                _rel    0.2
 Summary:       Linux Drivers for ATI graphics accelerators
-Summary(pl):   Sterowniki do akceleratorów graficznych ATI
+Summary(pl.UTF-8):     Sterowniki do akceleratorów graficznych ATI
 Name:          X11-driver-firegl
-Version:       8.30.3
+Version:       8.34.8
 Release:       %{_rel}
 License:       ATI Binary (parts are GPL)
 Group:         X11
-Source0:       http://dlmdownloads.ati.com/drivers/linux/ati-driver-installer-%{version}.run
-# Source0-md5: 058990a8e7cb57c670d423adfd7bfc00
+Source0:       http://www2.ati.com/drivers/linux/ati-driver-installer-%{version}-x86.x86_64.run
+# Source0-md5: 44eda48613542b955a63bd6af2ccc6ce
 Patch0:                firegl-panel.patch
 Patch1:                firegl-panel-ugliness.patch
 Patch2:                %{name}-kh.patch
 Patch3:                %{name}-viak8t.patch
 Patch4:                %{name}-force-define-AGP.patch
-URL:           http://www.ati.com/support/drivers/linux/radeon-linux.html
+Patch5:                xorg-driver-video-fglrx-2.6.20-restore_syscalls.patch
+Patch6:                xorg-driver-video-fglrx-2.6.20-init_work_macro.patch
+URL:           http://ati.amd.com/support/drivers/linux/linux-radeon.html
 #BuildRequires:        X11-devel >= %{_min_eq_x11}     # disabled for now
 %{?with_dist_kernel:BuildRequires:     kernel%{_alt_kernel}-module-build >= 3:2.6.14}
 %{?with_userspace:BuildRequires:       qt-devel}
@@ -59,7 +66,7 @@ Obsoletes:    XFree86-driver-firegl
 ExclusiveArch: i586 i686 athlon pentium3 pentium4 %{x8664}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _ccver  %(rpm -q --qf "%{VERSION}" gcc | sed 's/\..*//')
+%define                _ccver  %(rpm -q --qf "%{VERSION}" gcc | sed 's/\\..*//')
 
 %define                _noautoreqdep   libGL.so.1
 
@@ -71,15 +78,15 @@ Display driver files for the ATI Radeon 8500, 9700, Mobility M9 and
 the FireGL 8700/8800, E1, Z1/X1 graphics accelerators. This package
 provides 2D display drivers and hardware accelerated OpenGL.
 
-%description -l pl
+%description -l pl.UTF-8
 Sterowniki do kart graficznych ATI Radeon 8500, 9700, Mobility M9 oraz
-graficznych akceleratorów FireGL 8700/8800, E1, Z1/X1. Pakiet
-dostarcza sterowniki obs³uguj±ce wy¶wietlanie 2D oraz sprzêtowo
+graficznych akceleratorów FireGL 8700/8800, E1, Z1/X1. Pakiet
+dostarcza sterowniki obsługujące wyświetlanie 2D oraz sprzętowo
 akcelerowany OpenGL.
 
 %package -n kernel%{_alt_kernel}-video-firegl
 Summary:       ATI kernel module for FireGL support
-Summary(pl):   Modu³ j±dra oferuj±cy wsparcie dla ATI FireGL
+Summary(pl.UTF-8):     Moduł jądra oferujący wsparcie dla ATI FireGL
 Release:       %{_rel}@%{_kernel_ver_str}
 License:       ATI
 Group:         Base/Kernel
@@ -90,12 +97,12 @@ Provides:   X11-driver-firegl(kernel)
 %description -n kernel%{_alt_kernel}-video-firegl
 ATI kernel module for FireGL support.
 
-%description -n kernel%{_alt_kernel}-video-firegl -l pl
-Modu³ j±dra oferuj±cy wsparcie dla ATI FireGL.
+%description -n kernel%{_alt_kernel}-video-firegl -l pl.UTF-8
+Moduł jądra oferujący wsparcie dla ATI FireGL.
 
 %package -n kernel%{_alt_kernel}-smp-video-firegl
 Summary:       ATI kernel module for FireGL support
-Summary(pl):   Modu³ j±dra oferuj±cy wsparcie dla ATI FireGL
+Summary(pl.UTF-8):     Moduł jądra oferujący wsparcie dla ATI FireGL
 Release:       %{_rel}@%{_kernel_ver_str}
 License:       ATI
 Group:         Base/Kernel
@@ -106,8 +113,8 @@ Provides:   X11-driver-firegl(kernel)
 %description -n kernel%{_alt_kernel}-smp-video-firegl
 ATI kernel module for FireGL support.
 
-%description -n kernel%{_alt_kernel}-smp-video-firegl -l pl
-Modu³ j±dra oferuj±cy wsparcie dla ATI FireGL.
+%description -n kernel%{_alt_kernel}-smp-video-firegl -l pl.UTF-8
+Moduł jądra oferujący wsparcie dla ATI FireGL.
 
 %prep
 %setup -q -c -T
@@ -125,6 +132,8 @@ cd common
 %patch3 -p1
 %patch4 -p2
 cd -
+%patch5 -p1
+%patch6 -p1
 
 install -d common%{_prefix}/{%{_lib},bin}
 cp -r %{x11ver}%{arch_sufix}%{_prefix}/%{_lib}/* common%{_prefix}/%{_lib}
@@ -207,7 +216,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) /usr/%{_lib}/libGL.so.1
 %attr(755,root,root) /usr/%{_lib}/libGL.so
 
-%attr(755,root,root) %{_libdir}/modules/dri/atiogl_a_dri.so
+#attr(755,root,root) %{_libdir}/modules/dri/atiogl_a_dri.so
 %attr(755,root,root) %{_libdir}/modules/dri/fglrx_dri.so
 %attr(755,root,root) %{_libdir}/modules/drivers/fglrx_drv.so
 %attr(755,root,root) %{_libdir}/modules/linux/libfglrxdrm.so
This page took 0.241231 seconds and 4 git commands to generate.