- Drop mesa-source subpackage. Man that feels good.

This commit is contained in:
Adam Jackson 2008-06-27 20:15:15 +00:00
parent 5d705973fb
commit 74b06fee87

View file

@ -15,7 +15,7 @@
Summary: Mesa graphics libraries Summary: Mesa graphics libraries
Name: mesa Name: mesa
Version: 7.1 Version: 7.1
Release: 0.36%{?dist} Release: 0.37%{?dist}
License: MIT License: MIT
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.mesa3d.org URL: http://www.mesa3d.org
@ -142,15 +142,6 @@ Requires: mesa-libOSMesa = %{version}-%{release}
Mesa offscreen rendering development package Mesa offscreen rendering development package
%package source
Summary: Mesa source code required to build X server
Group: Development/Libraries
%description source
The mesa-source package provides the minimal source code needed to
build DRI enabled X servers, etc.
%package -n glx-utils %package -n glx-utils
Summary: GLX utilities Summary: GLX utilities
Group: Development/Libraries Group: Development/Libraries
@ -277,18 +268,6 @@ pushd ../%{manpages}
make %{?_smp_mflags} install DESTDIR=$RPM_BUILD_ROOT make %{?_smp_mflags} install DESTDIR=$RPM_BUILD_ROOT
popd popd
# Install the source needed to build the X server. The egreps are just
# stripping out unnecessary dirs; only tricky bit is the [^c] to make sure
# .../dri/common is included.
%define mesasourcedir %{_datadir}/mesa/source
mkdir -p $RPM_BUILD_ROOT/%{mesasourcedir}
( find src -name \*.[ch] ; find include -name \*.h ) |
egrep -v '^src/(glu|glw)' |
egrep -v '^src/mesa/drivers/(directfb|dos|fbdev|glide|ggi|osmesa)' |
egrep -v '^src/mesa/drivers/(windows|dri/[^c])' |
xargs tar cf - --mode a=r |
(cd $RPM_BUILD_ROOT/%{mesasourcedir} && tar xf -)
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -358,11 +337,6 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libOSMesa16.so %{_libdir}/libOSMesa16.so
%{_libdir}/libOSMesa32.so %{_libdir}/libOSMesa32.so
# We constructed this dir carefully, so just slurp in the whole thing.
%files source
%defattr(-,root,root,-)
%{mesasourcedir}
%files -n glx-utils %files -n glx-utils
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_bindir}/glxgears %{_bindir}/glxgears
@ -425,6 +399,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/mesa-demos-data %{_libdir}/mesa-demos-data
%changelog %changelog
* Fri Jun 27 2008 Adam Jackson <ajax@redhat.com> 7.1-0.37
- Drop mesa-source subpackage. Man that feels good.
* Fri Jun 27 2008 Adam Jackson <ajax@redhat.com> 7.1-0.36 * Fri Jun 27 2008 Adam Jackson <ajax@redhat.com> 7.1-0.36
- Today's snapshot. - Today's snapshot.
- Package swrast_dri for the new X world order. - Package swrast_dri for the new X world order.