59 lines
1.3 KiB
RPMSpec
59 lines
1.3 KiB
RPMSpec
Name: libepoxy
|
|
Version: 1.5.3
|
|
Release: 2
|
|
Summary: library work with epoxy runtime
|
|
License: MIT
|
|
URL: https://github.com/anholt/%{name}
|
|
Source0: https://github.com/anholt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: meson gcc mesa-libGL-devel mesa-libEGL-devel mesa-libGLES-devel
|
|
BuildRequires: python3 xorg-x11-server-Xvfb mesa-dri-drivers
|
|
|
|
%description
|
|
A library for handling OpenGL function pointer management.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
%{name}-devel contains the header files for developing
|
|
applications that want to make use of %{name}.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%check
|
|
xvfb-run -d -s "-screen 0 640x480x24" ninja -C %{_vpath_builddir} test || \
|
|
(cat %{_vpath_builddir}/meson-logs/testlog.txt ; exit 1)
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%license COPYING
|
|
%{_libdir}/%{name}.so.0*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/epoxy/*.h
|
|
%{_libdir}/%{name}.so
|
|
%{_libdir}/pkgconfig/epoxy.pc
|
|
|
|
%files help
|
|
%defattr(-,root,root)
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.5.3 - 2
|
|
- Package init
|