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

RevLine 
[9108]1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary: A library for handling OpenGL function pointer management
4Name: libepoxy
[12396]5Version: 1.5.4
[12451]6Release: 2%{?_dist_release}
7Group: system
[12396]8Vendor: Project Vine
9Distribution: Vine Linux
10
[9108]11License: MIT
12URL: https://github.com/anholt/libepoxy
[12396]13Source0: https://github.com/anholt/libepoxy/releases/download/%{version}/%{name}-%{version}.tar.xz
[9108]14
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16
[12396]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
[9108]26
27%description
28Epoxy is a library for handling OpenGL function pointer management for you.
29
[12396]30
[9108]31%package devel
32Summary: Development tools for %{name}
33Summary(ja): %{name} の開発環境
[12451]34Group: programming
[9108]35Requires: %{name} = %{version}-%{release}
36Requires: pkgconfig
37
38%description devel
39Header files and libraries for building a extension library for the %{name}.
40
[12396]41
[9108]42# compat32
43%package -n compat32-%{name}
44Summary: A library for handling OpenGL function pointer management
[12451]45Group: system
[9108]46Requires: %{name} = %{version}-%{release}
47
48%description -n compat32-%{name}
49Epoxy is a library for handling OpenGL function pointer management for you.
50
[12396]51
[9108]52%package -n compat32-%{name}-devel
53Summary: Development tools for compat32-%{name}
54Summary(ja): compat32-%{name} の開発環境
[12451]55Group: programming
[9108]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
[12396]62
[9108]63%prep
64%setup -q
65
[12396]66
[9108]67%build
[12451]68%meson -Degl=yes
[12396]69%meson_build
[9108]70
[12396]71
[9108]72%install
73rm -rf $RPM_BUILD_ROOT
[12396]74%meson_install
[9108]75
76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
[12396]80%if 0
[9108]81%check
[12396]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
[9108]87
[12396]88
[9108]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,-)
[12396]97%license COPYING
[9108]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
[12451]119* Fri Aug 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.4-2
120- enabled egl.
121
[12396]122* Tue May 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.4-1
123- new upstream release.
124
[9791]125* Thu Oct 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.1-1
126- new upstream release
127
[9108]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.