mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-25 01:45:29 +00:00
Add khrplatform-devel subpackage so {EGL,GLES}-devel are usable
This commit is contained in:
parent
30013cd0f9
commit
eb9de72039
1 changed files with 22 additions and 1 deletions
23
mesa.spec
23
mesa.spec
|
@ -26,7 +26,7 @@
|
||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Version: 7.11
|
Version: 7.11
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
|
@ -133,6 +133,14 @@ Requires: mesa-dri-filesystem%{?isa}
|
||||||
%description dri-drivers-dri1
|
%description dri-drivers-dri1
|
||||||
Mesa-based DRI1 drivers.
|
Mesa-based DRI1 drivers.
|
||||||
|
|
||||||
|
%package -n khrplatform-devel
|
||||||
|
Summary: Khronos platform development package
|
||||||
|
Group: Development/Libraries
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n khrplatform-devel
|
||||||
|
Khronos platform development package
|
||||||
|
|
||||||
%package libGL-devel
|
%package libGL-devel
|
||||||
Summary: Mesa libGL development package
|
Summary: Mesa libGL development package
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
@ -147,6 +155,7 @@ Mesa libGL development package
|
||||||
Summary: Mesa libEGL development package
|
Summary: Mesa libEGL development package
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: mesa-libEGL = %{version}-%{release}
|
Requires: mesa-libEGL = %{version}-%{release}
|
||||||
|
Requires: khrplatform-devel >= %{version}-%{release}
|
||||||
|
|
||||||
%description libEGL-devel
|
%description libEGL-devel
|
||||||
Mesa libEGL development package
|
Mesa libEGL development package
|
||||||
|
@ -155,6 +164,7 @@ Mesa libEGL development package
|
||||||
Summary: Mesa libGLES development package
|
Summary: Mesa libGLES development package
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: mesa-libGLES = %{version}-%{release}
|
Requires: mesa-libGLES = %{version}-%{release}
|
||||||
|
Requires: khrplatform-devel >= %{version}-%{release}
|
||||||
|
|
||||||
%description libGLES-devel
|
%description libGLES-devel
|
||||||
Mesa libGLES development package
|
Mesa libGLES development package
|
||||||
|
@ -258,6 +268,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
# core libs and headers, but not drivers.
|
# core libs and headers, but not drivers.
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT DRI_DIRS=
|
make install DESTDIR=$RPM_BUILD_ROOT DRI_DIRS=
|
||||||
|
|
||||||
|
# not installed by make install, grr
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_includedir}/KHR
|
||||||
|
install -m 0644 include/KHR/*.h $RPM_BUILD_ROOT%{_includedir}/KHR
|
||||||
|
|
||||||
# just the DRI drivers that are sane
|
# just the DRI drivers that are sane
|
||||||
install -d $RPM_BUILD_ROOT%{_libdir}/dri
|
install -d $RPM_BUILD_ROOT%{_libdir}/dri
|
||||||
# use gallium driver iff built
|
# use gallium driver iff built
|
||||||
|
@ -370,6 +384,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_libdir}/dri/tdfx_dri.so
|
%{_libdir}/dri/tdfx_dri.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%files -n khrplatform-devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_includedir}/KHR
|
||||||
|
|
||||||
%files libGL-devel
|
%files libGL-devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_includedir}/GL/gl.h
|
%{_includedir}/GL/gl.h
|
||||||
|
@ -440,6 +458,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_libdir}/pkgconfig/osmesa.pc
|
%{_libdir}/pkgconfig/osmesa.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 08 2011 Adam Jackson <ajax@redhat.com> 7.11-3
|
||||||
|
- Add khrplatform-devel subpackage so {EGL,GLES}-devel are usable
|
||||||
|
|
||||||
* Wed Aug 3 2011 Michel Salim <salimma@fedoraproject.org> - 7.11-2
|
* Wed Aug 3 2011 Michel Salim <salimma@fedoraproject.org> - 7.11-2
|
||||||
- Rebuild against final LLVM 2.9 release
|
- Rebuild against final LLVM 2.9 release
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue