summaryrefslogtreecommitdiff
path: root/libepoxy.spec
blob: 1ef1a2b4f1ccef658caa7c55e6c364d07fe49bb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
Name:		 libepoxy
Version:	 1.5.10
Release: 	 3
Summary:	 library work with epoxy runtime 
License:	 MIT
URL:		 https://github.com/anholt/%{name}
Source0:         https://download.gnome.org/sources/%name/1.5/%{name}-%{version}.tar.xz 
Patch0001:   add-GLIBC_2.27-to-test-versions-for-riscv.patch

BuildRequires: gcc
BuildRequires: meson >= 0.53.0
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(glesv1_cm)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(egl)
BuildRequires: /usr/bin/xvfb-run
BuildRequires: 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)

%files
%license COPYING
%{_libdir}/%{name}.so.0*

%files devel
%{_includedir}/epoxy/*.h
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/epoxy.pc

%files help
%doc README.md

%changelog
* Tue Sep 03 2024 Funda Wang <fundawang@yeah.net> - 1.5.10-3
- cleanup spec

* Mon Mar 06 2023 laokz <zhangkai@iscas.ac.cn> - 1.5.10-2
- add GLIBC_2.27 to test/dlwrap.c for riscv

* Thu Feb 02 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.5.10-1
- update to 1.5.10

* Mon Jan 30 2023 Wenlong Zhang <zhangwenlong@loongson.cn> - 1.5.9-3
- fix build error for loongarch64

* Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.5.9-2
- Rebuild for next release

* Thu Dec 02 2021 xingxing <xingxing9@huawei.com> - 1.5.9-1
- update to 1.5.9

* Fri Jan 29 2021 zhanzhimin <zhanzhimin@huawei.com> - 1.5.5-1
- update to 1.5.5

* Mon Aug 03 2020 orange-snn <songnannan2@huawei.com> - 1.5.4-2
- change the buildrequires form mesa to libglvnd

* Mon Jun 22 2020 xinghe<xinghe1@huawei.com> - 1.5.4-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update to 1.5.4

* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.5.3-2
- Package init