source: projects/specs/trunk/lib/libe/libepoxy/libepoxy-vl.spec @ 12451

Revision 12451, 3.0 KB checked in by tomop, 4 years ago (diff)

updated 6 packages

libX11-1.6.11-1

libepoxy-1.5.4-2

libxcb-1.14-1

pixman-0.40.0-1

xcb-proto-1.14-1

xorg-x11-server-1.20.8-2

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary: A library for handling OpenGL function pointer management
4Name: libepoxy
5Version: 1.5.4
6Release: 2%{?_dist_release}
7Group: system
8Vendor: Project Vine
9Distribution: Vine Linux
10
11License: MIT
12URL: https://github.com/anholt/libepoxy
13Source0: https://github.com/anholt/libepoxy/releases/download/%{version}/%{name}-%{version}.tar.xz
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16
17BuildRequires: meson
18BuildRequires: gcc
19BuildRequires: pkgconfig(gl)
20BuildRequires: pkgconfig(egl)
21BuildRequires: libGL-devel
22BuildRequires: libX11-devel
23BuildRequires: pkgconfig(glesv2)
24BuildRequires: python3
25BuildRequires: xorg-x11-server-Xvfb mesa-dri-drivers xorg-x11-xauth
26
27%description
28Epoxy is a library for handling OpenGL function pointer management for you.
29
30
31%package devel
32Summary: Development tools for %{name}
33Summary(ja): %{name} の開発環境
34Group: programming
35Requires: %{name} = %{version}-%{release}
36Requires: pkgconfig
37
38%description devel
39Header files and libraries for building a extension library for the %{name}.
40
41
42# compat32
43%package -n compat32-%{name}
44Summary: A library for handling OpenGL function pointer management
45Group: system
46Requires: %{name} = %{version}-%{release}
47
48%description -n compat32-%{name}
49Epoxy is a library for handling OpenGL function pointer management for you.
50
51
52%package -n compat32-%{name}-devel
53Summary: Development tools for compat32-%{name}
54Summary(ja): compat32-%{name} の開発環境
55Group: programming
56Requires: compat32-%{name} = %{version}-%{release}
57Requires: %{name}-devel = %{version}-%{release}
58
59%description -n compat32-%{name}-devel
60Header files and libraries for building a extension library for the compat32-%{name}.
61
62
63%prep
64%setup -q
65
66
67%build
68%meson -Degl=yes
69%meson_build
70
71
72%install
73rm -rf $RPM_BUILD_ROOT
74%meson_install
75
76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80%if 0
81%check
82# this should be %%meson_test but the macro expands with a bajillion
83# embedded newlines for no obvious reason
84xvfb-run -d -s "-screen 0 640x480x24" ninja -C %{_vpath_builddir} test || \
85    (cat %{_vpath_builddir}/meson-logs/testlog.txt ; exit 1)
86%endif
87
88
89%post -p /sbin/ldconfig
90%postun -p /sbin/ldconfig
91
92%post -n compat32-%{name} -p /sbin/ldconfig
93%postun -n compat32-%{name} -p /sbin/ldconfig
94
95%files
96%defattr(-,root,root,-)
97%license COPYING
98%doc README.md
99%{_libdir}/libepoxy.so.*
100
101%files devel
102%defattr(-,root,root,-)
103%{_includedir}/epoxy
104%{_libdir}/libepoxy.so
105%{_libdir}/pkgconfig/epoxy.pc
106
107# compat32
108%if %{build_compat32}
109%files -n compat32-%{name}
110%defattr(-,root,root,-)
111%{_libdir}/libepoxy.so.*
112
113%files -n compat32-%{name}-devel
114%defattr(-,root,root,-)
115%{_libdir}/libepoxy.so
116%endif
117
118%changelog
119* Fri Aug 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.4-2
120- enabled egl.
121
122* Tue May 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.4-1
123- new upstream release.
124
125* Thu Oct 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.1-1
126- new upstream release
127
128* Sat Nov 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-1
129- initial build
130
Note: See TracBrowser for help on using the repository browser.