Update to 20160115

This commit is contained in:
Nicolas Chauvet 2016-01-15 18:39:12 +01:00
parent 8e7e3ad191
commit f44d89ed15

View File

@ -1,8 +1,8 @@
%global snapshot git20160106 %global snapshot git20160115
Name: libglvnd Name: libglvnd
Version: 0.0.0 Version: 0.0.0
Release: 6%{?snapshot}%{?dist} Release: 7%{?snapshot}%{?dist}
Summary: The GL Vendor-Neutral Dispatch library Summary: The GL Vendor-Neutral Dispatch library
License: MIT and BSD and LGPLv2+ License: MIT and BSD and LGPLv2+
@ -16,6 +16,7 @@ Patch1: 0002-Enable-x11glvnd-by-default-on-more-recent-xorg-relea.patch
#This library only target few architectures use case #This library only target few architectures use case
ExclusiveArch: x86_64 i686 armv7hl ExclusiveArch: x86_64 i686 armv7hl
BuildRequires: xorg-x11-server-Xvfb
BuildRequires: libxml2-python BuildRequires: libxml2-python
BuildRequires: pkgconfig(xorg-server) BuildRequires: pkgconfig(xorg-server)
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
@ -25,19 +26,26 @@ BuildRequires: pkgconfig(xv)
%description %description
This is a work-in-progress implementation of the vendor-neutral dispatch layer This is a work-in-progress implementation of the vendor-neutral dispatch layer
for arbitrating OpenGL API calls between multiple vendors on a per-screen for arbitrating OpenGL API calls between multiple vendors on a per-screen
basis, as described by Andy Ritger's OpenGL ABI proposal [1]. basis, as described by Andy Ritger's OpenGL ABI proposal.
Currently, only the GLX window-system API and OpenGL are supported, but in the Currently, only the GLX window-system API and OpenGL are supported, but in the
future this library may support EGL and OpenGL ES as well. future this library may support EGL and OpenGL ES as well.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package -n xorg-x11-glvnd %package -n xorg-x11-glvnd
Summary: Development files for %{name} Summary: Xorg X11 %{name} library
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n xorg-x11-glvnd %description -n xorg-x11-glvnd
The xorg-x11-glvnd package contains xorg module for the GL Vendor Neutral The xorg-x11-glvnd package contains xorg module for the GL Vendor Neutral
Dispatch library Dispatch library.
%prep %prep
@ -55,7 +63,7 @@ make %{?_smp_mflags} V=1
%install %install
%make_install %make_install INSTALL="install -p"
find %{buildroot} -name '*.la' -exec rm -f {} ';' find %{buildroot} -name '*.la' -exec rm -f {} ';'
# Avoid conflict with mesa-libGL for now # Avoid conflict with mesa-libGL for now
@ -69,6 +77,9 @@ done
rm -rf %{buildroot}%{_libdir}/libGLESv1_CM* rm -rf %{buildroot}%{_libdir}/libGLESv1_CM*
%check
xvfb-run make check V=1
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -77,15 +88,29 @@ rm -rf %{buildroot}%{_libdir}/libGLESv1_CM*
%files %files
%doc README.md %doc README.md
%{_libdir}/*.so* %{_libdir}/*.so.*
%dir %{_libdir}/%{name} %dir %{_libdir}/%{name}
%{_libdir}/%{name}/lib*GL*.so* %{_libdir}/%{name}/lib*GL*.so.*
%files devel
%dir %{_includedir}/glvnd
%{_includedir}/glvnd/*.h
%{_libdir}/%{name}/lib*GL*.so
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%files -n xorg-x11-glvnd %files -n xorg-x11-glvnd
%{_libdir}/xorg/modules/extensions/*.so* %{_libdir}/xorg/modules/extensions/*.so*
%changelog %changelog
* Fri Jan 15 2016 Nicolas Chauvet <kwizart@gmail.com> - 0.0.0-7git20160115
- Bump for 20160115
- Enable make check
- Description improvements
- Enable libglvnd by default
- Enable devel sub-package
* Wed Jan 06 2016 Nicolas Chauvet <kwizart@gmail.com> - 0.0.0-6git20160106 * Wed Jan 06 2016 Nicolas Chauvet <kwizart@gmail.com> - 0.0.0-6git20160106
- Update to 20160106 snapshot - Update to 20160106 snapshot
- Remove 10-x11glvnd - Remove 10-x11glvnd