libepoxy/libepoxy.spec

66 lines
1.4 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:55:52 -04:00
Name: libepoxy
2020-06-12 18:14:10 +08:00
Version: 1.5.4
Release: 1
2019-09-30 10:55:52 -04:00
Summary: library work with epoxy runtime
License: MIT
URL: https://github.com/anholt/%{name}
2020-06-22 11:03:43 +08:00
Source0: https://github.com/anholt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
2019-09-30 10:55:52 -04:00
2020-06-12 18:14:10 +08:00
BuildRequires: meson gcc libGL-devel libEGL-devel libX11-devel
2019-09-30 10:55:52 -04:00
BuildRequires: python3 xorg-x11-server-Xvfb mesa-dri-drivers
2020-06-12 18:14:10 +08:00
BuildRequires: pkgconfig(gl) pkgconfig(egl) pkgconfig(glesv2)
2019-09-30 10:55:52 -04:00
%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
2020-06-22 11:03:43 +08:00
* Mon Jun 22 2020 xinghe<xinghe1@huawei.com> - 1.5.4 - 1
2020-06-12 18:14:10 +08:00
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update to 1.5.4
2019-09-30 10:55:52 -04:00
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.5.3 - 2
- Package init