Add libglvnd

This commit is contained in:
Nicolas Chauvet 2015-02-06 18:54:37 +01:00
parent 1d0cda7f3e
commit 2e3dc347c0

65
libglvnd.spec Normal file
View File

@ -0,0 +1,65 @@
Name: libglvnd
Version: 0
Release: 1%{?dist}
Summary: The GL Vendor-Neutral Dispatch library
License: MIT
URL: https://github.com/NVIDIA/libglvnd
Source0:
BuildRequires: pkgconfig(xorg-server)
BuildRequires: pkgconfig(X11)
BuildRequires: pkgconfig(Xv)
%description
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
basis, as described by Andy Ritger's OpenGL ABI proposal [1].
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.
%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}.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc
%{_libdir}/*.so.*
%files devel
%doc
%{_includedir}/*
%{_libdir}/*.so
%changelog
* Fri Feb 6 2015
-