mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-28 11:06:25 +00:00
Subpackage libglapi instead of abusing -dri-drivers for it to keep minimal
disk space minimal. (#807750)
This commit is contained in:
parent
7ff11a9499
commit
4b435c8c6e
1 changed files with 18 additions and 6 deletions
24
mesa.spec
24
mesa.spec
|
@ -30,7 +30,7 @@
|
||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Version: 8.0.1
|
Version: 8.0.1
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
|
@ -85,7 +85,6 @@ Group: System Environment/Libraries
|
||||||
Requires(post): /sbin/ldconfig
|
Requires(post): /sbin/ldconfig
|
||||||
Requires(postun): /sbin/ldconfig
|
Requires(postun): /sbin/ldconfig
|
||||||
Provides: libGL
|
Provides: libGL
|
||||||
Requires: mesa-dri-drivers%{?_isa} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description libGL
|
%description libGL
|
||||||
Mesa libGL runtime library.
|
Mesa libGL runtime library.
|
||||||
|
@ -95,7 +94,6 @@ Summary: Mesa libEGL runtime libraries
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires(post): /sbin/ldconfig
|
Requires(post): /sbin/ldconfig
|
||||||
Requires(postun): /sbin/ldconfig
|
Requires(postun): /sbin/ldconfig
|
||||||
Requires: mesa-dri-drivers%{?_isa} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description libEGL
|
%description libEGL
|
||||||
Mesa libEGL runtime libraries
|
Mesa libEGL runtime libraries
|
||||||
|
@ -105,7 +103,6 @@ Summary: Mesa libGLES runtime libraries
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires(post): /sbin/ldconfig
|
Requires(post): /sbin/ldconfig
|
||||||
Requires(postun): /sbin/ldconfig
|
Requires(postun): /sbin/ldconfig
|
||||||
Requires: mesa-dri-drivers%{?_isa} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description libGLES
|
%description libGLES
|
||||||
Mesa GLES runtime libraries
|
Mesa GLES runtime libraries
|
||||||
|
@ -262,6 +259,15 @@ Provides: libxatracker-devel
|
||||||
%description libxatracker-devel
|
%description libxatracker-devel
|
||||||
Mesa XA state tracker development package
|
Mesa XA state tracker development package
|
||||||
|
|
||||||
|
%package libglapi
|
||||||
|
Summary: Mesa shared glapi
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires(post): /sbin/ldconfig
|
||||||
|
Requires(postun): /sbin/ldconfig
|
||||||
|
|
||||||
|
%description libglapi
|
||||||
|
Mesa shared glapi
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Mesa-%{version}%{?snapshot} -b0 -b2
|
%setup -q -n Mesa-%{version}%{?snapshot} -b0 -b2
|
||||||
#setup -q -n mesa-%{gitdate} -b2
|
#setup -q -n mesa-%{gitdate} -b2
|
||||||
|
@ -406,10 +412,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%doc docs/COPYING
|
%doc docs/COPYING
|
||||||
%dir %{_libdir}/dri
|
%dir %{_libdir}/dri
|
||||||
|
|
||||||
%files dri-drivers
|
%files libglapi
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libglapi.so.0
|
%{_libdir}/libglapi.so.0
|
||||||
%{_libdir}/libglapi.so.0.*
|
%{_libdir}/libglapi.so.0.*
|
||||||
|
|
||||||
|
%files dri-drivers
|
||||||
|
%defattr(-,root,root,-)
|
||||||
%if %{with_hardware}
|
%if %{with_hardware}
|
||||||
%{_libdir}/dri/radeon_dri.so
|
%{_libdir}/dri/radeon_dri.so
|
||||||
%{_libdir}/dri/r200_dri.so
|
%{_libdir}/dri/r200_dri.so
|
||||||
|
@ -543,6 +551,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 28 2012 Adam Jackson <ajax@redhat.com> 8.0.1-9
|
||||||
|
- Subpackage libglapi instead of abusing -dri-drivers for it to keep minimal
|
||||||
|
disk space minimal. (#807750)
|
||||||
|
|
||||||
* Wed Mar 28 2012 Adam Jackson <ajax@redhat.com> 8.0.1-8
|
* Wed Mar 28 2012 Adam Jackson <ajax@redhat.com> 8.0.1-8
|
||||||
- mesa-8.0.1-llvmpipe-shmget.patch: Fix image pitch bug.
|
- mesa-8.0.1-llvmpipe-shmget.patch: Fix image pitch bug.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue