fe17fa
Summary: epoxy runtime library
fe17fa
Name: libepoxy
da9b80
Version: 1.5.2
da9b80
Release: 1%{?dist}
fe17fa
License: MIT
fe17fa
URL: http://github.com/anholt/libepoxy
da9b80
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
f6c7fc
fe17fa
BuildRequires: automake autoconf libtool
fe17fa
BuildRequires: mesa-libGL-devel
fe17fa
BuildRequires: mesa-libEGL-devel
fe17fa
BuildRequires: mesa-libGLES-devel
fe17fa
BuildRequires: xorg-x11-util-macros
fe17fa
BuildRequires: python
da9b80
BuildRequires: xorg-x11-server-Xvfb mesa-dri-drivers
da9b80
BuildRequires: glx-utils xdpyinfo
fe17fa
fe17fa
%description
fe17fa
A library for handling OpenGL function pointer management.
fe17fa
fe17fa
%package devel
fe17fa
Summary: Development files for libepoxy
fe17fa
Requires: %{name}%{?_isa} = %{version}-%{release}
fe17fa
fe17fa
%description devel
fe17fa
This package contains libraries and header files for
fe17fa
developing applications that use %{name}.
fe17fa
fe17fa
%prep
da9b80
%autosetup -p1
fe17fa
fe17fa
%build
fe17fa
autoreconf -vif || exit 1
fe17fa
%configure --disable-silent-rules
fe17fa
make %{?_smp_mflags}
fe17fa
fe17fa
%install
da9b80
%make_install DESTDIR=$RPM_BUILD_ROOT
fe17fa
fe17fa
# NOTE: We intentionally don't ship *.la files
fe17fa
find $RPM_BUILD_ROOT -type f -name '*.la' -delete -print
fe17fa
fe17fa
%check
da9b80
xvfb-run -d -s "-screen 0 640x480x24" make check || \
da9b80
%ifarch s390 ppc
da9b80
    (cat `find . -name test-suite.log` ; exit 0)
da9b80
%else
da9b80
    (cat `find . -name test-suite.log` ; exit 1)
da9b80
%endif
fe17fa
fe17fa
%post -p /sbin/ldconfig
fe17fa
%postun -p /sbin/ldconfig
fe17fa
fe17fa
%files
fe17fa
%doc README.md
fe17fa
%{_libdir}/libepoxy.so.0
fe17fa
%{_libdir}/libepoxy.so.0.0.0
fe17fa
fe17fa
%files devel
fe17fa
%dir %{_includedir}/epoxy/
fe17fa
%{_includedir}/epoxy/*
fe17fa
%{_libdir}/libepoxy.so
fe17fa
%{_libdir}/pkgconfig/epoxy.pc
fe17fa
fe17fa
%changelog
da9b80
* Tue May 22 2018 Adam Jackson <ajax@redhat.com> - 1.5.2-1
da9b80
- epoxy 1.5.2
da9b80
f6c7fc
* Wed Apr 11 2018 Debarshi Ray <rishi@fedoraproject.org> - 1.3.1-2
f6c7fc
- Prevent crash in epoxy_glx_version if GLX is not available
f6c7fc
Resolves: #1566101
f6c7fc
db2a1c
* Fri Jan 27 2017 Adam Jackson <ajax@redhat.com> - 1.3.1-1
db2a1c
- libepoxy 1.3.1
db2a1c
fe17fa
* Wed Mar 25 2015 Adam Jackson <ajax@redhat.com> 1.2-2
fe17fa
- Fix description to not talk about DRM
fe17fa
- Sync some small bugfixes from git
fe17fa
fe17fa
* Mon Oct 13 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.0-1
fe17fa
- Update to 1.2 GA
fe17fa
- Don't fail build on make check failure for some architectures
fe17fa
fe17fa
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-0.4.20140411git6eb075c
fe17fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
fe17fa
fe17fa
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-0.3.20140411git6eb075c
fe17fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fe17fa
fe17fa
* Fri Apr 11 2014 Dave Airlie <airlied@redhat.com> 1.2-0.2.20140411git6eb075c
fe17fa
- update to latest git snapshot
fe17fa
fe17fa
* Thu Mar 27 2014 Dave Airlie <airlied@redhat.com> 1.2-0.1.20140307gitd4ad80f
fe17fa
- initial git snapshot
fe17fa