125 lines
3.7 KiB
RPMSpec
125 lines
3.7 KiB
RPMSpec
Summary: epoxy runtime library
|
|
Name: libepoxy
|
|
Version: 1.4.3
|
|
Release: 4%{?dist}
|
|
License: MIT
|
|
URL: https://github.com/anholt/libepoxy
|
|
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: meson
|
|
BuildRequires: gcc
|
|
BuildRequires: pkgconfig(gl)
|
|
BuildRequires: pkgconfig(egl)
|
|
BuildRequires: pkgconfig(glesv2)
|
|
BuildRequires: python3
|
|
|
|
Patch1: 0001-dispatch-Learn-about-glvnd.patch
|
|
Patch2: 0002-dispatch-Don-t-reference-glvnd-defines-on-non-glvnd-.patch
|
|
Patch3: 0003-dispatch-Use-epoxy_conservative_glx_dlsym-when-probi.patch
|
|
Patch4: 0004-dispatch-Be-more-paranoid-about-detecting-GLX-or-not.patch
|
|
Patch5: 0005-dispatch-Fix-the-libOpenGL-soname.patch
|
|
|
|
%description
|
|
A library for handling OpenGL function pointer management.
|
|
|
|
%package devel
|
|
Summary: Development files for libepoxy
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
This package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%check
|
|
# In theory this is fixed in 1.2 but we still see errors on most platforms
|
|
# https://github.com/anholt/libepoxy/issues/24
|
|
%meson_test \
|
|
%ifarch %{arm} aarch64 %{power64} s390x
|
|
|| :
|
|
%else
|
|
;
|
|
%endif
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc README.md
|
|
%{_libdir}/libepoxy.so.0*
|
|
|
|
%files devel
|
|
%{_includedir}/epoxy/
|
|
%{_libdir}/libepoxy.so
|
|
%{_libdir}/pkgconfig/epoxy.pc
|
|
|
|
%changelog
|
|
* Fri Sep 22 2017 Adam Jackson <ajax@redhat.com> - 1.4.3-4
|
|
- Backport some useful bits from master
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Thu Jul 13 2017 Adam Jackson <ajax@redhat.com> - 1.4.3-1
|
|
- libepoxy 1.4.3
|
|
|
|
* Thu Mar 09 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.4.1-2
|
|
- Switch to meson
|
|
- Add license file
|
|
- Simplify spec
|
|
|
|
* Thu Mar 09 2017 Dave Airlie <airlied@redhat.com> - 1.4.1-1
|
|
- libepoxy 1.4.1
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Fri Sep 23 2016 Adam Jackson <ajax@redhat.com> - 1.3.1-3
|
|
- Fix detection of EGL client extensions
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Thu Nov 05 2015 Adam Jackson <ajax@redhat.com> 1.3.1-1
|
|
- libepoxy 1.3.1
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Tue May 05 2015 Dave Airlie <airlied@redhat.com> 1.2-3
|
|
- update GL registry files (add new EGL extension)
|
|
|
|
* Wed Mar 25 2015 Adam Jackson <ajax@redhat.com> 1.2-2
|
|
- Fix description to not talk about DRM
|
|
- Sync some small bugfixes from git
|
|
|
|
* Mon Oct 13 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.0-1
|
|
- Update to 1.2 GA
|
|
- Don't fail build on make check failure for some architectures
|
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-0.4.20140411git6eb075c
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-0.3.20140411git6eb075c
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Fri Apr 11 2014 Dave Airlie <airlied@redhat.com> 1.2-0.2.20140411git6eb075c
|
|
- update to latest git snapshot
|
|
|
|
* Thu Mar 27 2014 Dave Airlie <airlied@redhat.com> 1.2-0.1.20140307gitd4ad80f
|
|
- initial git snapshot
|
|
|