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

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

updated 15 packages

devhelp-3.36.2-1

gitg-3.32.1-

glade3-3.22.2-1

glib-networking-2.64.2-1

gnome-builder-3.36.0-1

gspell-1.8.3-1

gtk3-3.24.20-1

gtkspell3-3.0.10-2

json-glib-1.4.4-2

libdazzle-3.36.0-1

libepoxy-1.5.4-1

libgee-0.20.3-1

libpeas-1.26.0-1

pango-1.44.7-1

vte3-0.60.2-1

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: 1%{?_dist_release}
7Group: System Environment/Libraries
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: Development/Libraries
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 Environment/Libraries
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: Development/Libraries
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=no
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* Tue May 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.4-1
120- new upstream release.
121
122* Thu Oct 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.1-1
123- new upstream release
124
125* Sat Nov 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-1
126- initial build
127
Note: See TracBrowser for help on using the repository browser.