Name        : ati                          Relocations: (not relocatable)
Version     : 8.20.8                            Vendor: Penguin Liberation Front
Release     : 3plf                          Build Date: Thu 29 Dec 2005 
06:20:14 PM CET
Install Date: (not installed)               Build Host: ryu.zarb.org
Group       : System/Kernel and hardware    Source RPM: (none)
Size        : 129634938      License: Freeware
Signature   : (none)
Packager    : Anssi Hannula <[EMAIL PROTECTED]>
URL         : http://www.ati.com/support/driver.html
Summary     : ATI dkms module, X.org driver and OpenGL libraries
Description :
Source package to build ATI proprietary driver for ATI Radeon 8500
and newer ATI video cards.

This is in PLF for it's non-free license.

---------------
Anssi Hannula <[EMAIL PROTECTED]> 8.20.8-3plf
- move includes to /usr/X11R6/include
- silent %pre
---------------

---------------
Index: ati.spec
===================================================================
RCS file: /home/projects/plf/cvs/SPECS/non-free/ati/ati.spec,v
retrieving revision 1.2
diff -u -r1.2 ati.spec
--- ati.spec    29 Dec 2005 02:46:26 -0000      1.2
+++ ati.spec    29 Dec 2005 18:04:07 -0000
@@ -8,7 +8,7 @@
 
 %define distsuffix plf
 
-%define num_release 2
+%define num_release 3
 %define release %mkrel %num_release
 
 %define module_name fglrx
@@ -203,8 +203,9 @@
 rm -rf %{buildroot}
 
 # OpenGL headers
-install -d -m755 %{buildroot}%{_includedir}/GL
-install -m644 common/usr/include/GL/*  %{buildroot}%{_includedir}/GL
+install -d -m755 %{buildroot}%{_prefix}/X11R6/include/GL 
%{buildroot}%{_includedir}
+ln -s ../X11R6/include/GL %{buildroot}%{_includedir}/GL
+install -m644 common/usr/include/GL/*  %{buildroot}%{_prefix}/X11R6/include/GL
 
 # gamma header
 install -d -m755 %{buildroot}%{_prefix}/X11R6/include/X11/extensions
@@ -323,7 +324,8 @@
 %pre xorg
 if [[ -f /usr/share/fglrx/fglrx-uninstall.sh ]]; then
        cd /usr/share/fglrx
-       sh fglrx-uninstall.sh
+       sh fglrx-uninstall.sh &>/dev/null || :
+       rm -f fglrx-uninstall.sh
 fi
 
 %post xorg
@@ -401,9 +403,10 @@
 %{_prefix}/X11R6/%{_lib}/libfglrx_gamma.so
 %{_prefix}/X11R6/%{_lib}/libfglrx_pp.so
 %{_prefix}/X11R6/include/X11/extensions/fglrx_gamma.h
-%dir %{_prefix}/include/GL
-%{_prefix}/include/GL/glATI.h
-%{_prefix}/include/GL/glxATI.h
+%{_includedir}/GL
+%dir %{_prefix}/X11R6/include/GL
+%{_prefix}/X11R6/include/GL/glATI.h
+%{_prefix}/X11R6/include/GL/glxATI.h
 %{_libdir}/%{name}/libGL.so
 
 %files -n dkms-%{name}
@@ -411,6 +414,10 @@
 /usr/src/%{name}-%{version}-%{release}
 
 %changelog
+* Thu Dec 29 2005 Anssi Hannula <[EMAIL PROTECTED]> 8.20.8-3plf
+- move includes to %{_prefix}/X11R6/include
+- silent %%pre
+
 * Thu Dec 29 2005 Anssi Hannula <[EMAIL PROTECTED]> 8.20.8-2plf
 - dkms-ati requires ati-xorg
 - ati-xorg obsoletes ati


_______________________________________________
PLF-announce mailing list
[email protected]
https://www.zarb.org/mailman/listinfo/plf-announce

Reply via email to