summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Jackson <ajax@fedoraproject.org>2009-02-23 20:25:07 +0000
committerAdam Jackson <ajax@fedoraproject.org>2009-02-23 20:25:07 +0000
commit792edb228703f8e0aae2e42c45de8169569343cb (patch)
tree946a31462b6f5d3db49904d03cf02b9d3c423c1c
parentf7e21206a98f8afa2f427d240f8af85e77665af7 (diff)
downloadmesa-792edb228703f8e0aae2e42c45de8169569343cb.tar.gz
mesa-792edb228703f8e0aae2e42c45de8169569343cb.tar.xz
mesa-792edb228703f8e0aae2e42c45de8169569343cb.zip
- libGL Requires: mesa-dri-drivers%{?_isa}. Gets both 32 and 64 bit driversmesa-7_3-5_fc11
installed on multilib systems, so 32-bit clients get DRI.
-rw-r--r--mesa.spec21
1 files changed, 13 insertions, 8 deletions
diff --git a/mesa.spec b/mesa.spec
index 4de4f32..12263b8 100644
--- a/mesa.spec
+++ b/mesa.spec
@@ -20,7 +20,7 @@
Summary: Mesa graphics libraries
Name: mesa
Version: 7.3
-Release: 4%{?dist}
+Release: 5%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.mesa3d.org
@@ -77,7 +77,7 @@ Requires(postun): /sbin/ldconfig
Provides: libGL
%if %{with_dri}
Requires: libdrm >= 2.4.0-0.21
-Requires: mesa-dri-drivers = %{version}-%{release}
+Requires: mesa-dri-drivers%{?_isa} = %{version}-%{release}
Conflicts: xorg-x11-server-Xorg < 1.4.99.901-14
%endif
@@ -228,11 +228,6 @@ make #{?_smp_mflags}
make -C progs/xdemos glxgears glxinfo
make %{?_smp_mflags} -C progs/demos
-# this keeps breaking, check it early. note that the exit from eu-ftr is odd.
-#for i in */*.so ; do
-# eu-findtextrel $i && exit 1
-#done
-
pushd ../%{xdriinfo}
%configure
make %{?_smp_mflags}
@@ -253,7 +248,7 @@ make install DESTDIR=$RPM_BUILD_ROOT DRI_DIRS=
%if %{with_dri}
install -d $RPM_BUILD_ROOT%{_libdir}/dri
install -m 0755 -t $RPM_BUILD_ROOT%{_libdir}/dri %{_lib}/libdricore.so >& /dev/null
-for f in i810 i915 i965 mga r128 r200 r300 radeon savage sis swrast tdfx unichrome; do
+for f in i810 i915 i965 mach64 mga r128 r200 r300 radeon savage sis swrast tdfx unichrome; do
so=%{_lib}/${f}_dri.so
test -e $so && echo $so
done | xargs install -m 0755 -t $RPM_BUILD_ROOT%{_libdir}/dri >& /dev/null || :
@@ -288,6 +283,12 @@ pushd ../%{manpages}
make %{?_smp_mflags} install DESTDIR=$RPM_BUILD_ROOT
popd
+# this keeps breaking, check it early. note that the exit from eu-ftr is odd.
+#pushd $RPM_BUILD_ROOT%{_libdir}
+#for i in *.so ; do
+# eu-findtextrel $i && exit 1
+#done
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -420,6 +421,10 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/mesa-demos-data
%changelog
+* Mon Feb 23 2009 Adam Jackson <ajax@redhat.com> 7.3-5
+- libGL Requires: mesa-dri-drivers%%{?_isa}. Gets both 32 and 64 bit
+ drivers installed on multilib systems, so 32-bit clients get DRI.
+
* Mon Feb 23 2009 Dave Airlie <airlied@redhat.com> 7.3-4
- radeon: merge radeon-rewrite branch, drop old r300 bufmgr