Stefan Dirsch
65a07c889b
libepoxy 1.5.7 OBS-URL: https://build.opensuse.org/request/show/893946 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libepoxy?expand=0&rev=19
105 lines
3.1 KiB
RPMSpec
105 lines
3.1 KiB
RPMSpec
#
|
|
# spec file for package libepoxy
|
|
#
|
|
# Copyright (c) 2021 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define sonum 0
|
|
Name: libepoxy
|
|
Version: 1.5.7
|
|
Release: 0
|
|
Summary: OpenGL function pointer management library
|
|
License: MIT
|
|
Group: Development/Libraries/C and C++
|
|
URL: https://github.com/anholt/libepoxy
|
|
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
Source1: baselibs.conf
|
|
BuildRequires: meson >= 0.48
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: python3-base
|
|
BuildRequires: pkgconfig(egl)
|
|
BuildRequires: pkgconfig(gl)
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRequires: pkgconfig(xorg-macros)
|
|
|
|
%description
|
|
Epoxy is a library for handling OpenGL function pointer management for you.
|
|
|
|
It hides the complexity of dlopen(), dlsym(), glXGetProcAddress(),
|
|
eglGetProcAddress(), etc. from the app developer, with very little knowledge
|
|
needed on their part. They get to read GL specs and write code using undecorated
|
|
function names like glCompileShader().
|
|
|
|
%package -n %{name}%{sonum}
|
|
Summary: OpenGL function pointer management library
|
|
Group: Development/Libraries/C and C++
|
|
|
|
%description -n %{name}%{sonum}
|
|
Epoxy is a library for handling OpenGL function pointer management for you.
|
|
|
|
It hides the complexity of dlopen(), dlsym(), glXGetProcAddress(),
|
|
eglGetProcAddress(), etc. from the app developer, with very little knowledge
|
|
needed on their part. They get to read GL specs and write code using undecorated
|
|
function names like glCompileShader().
|
|
|
|
%package devel
|
|
Summary: Development files for libepoxy
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %{name}%{sonum} = %{version}
|
|
Requires: glibc-devel
|
|
Requires: pkgconfig(egl)
|
|
Requires: pkgconfig(x11)
|
|
|
|
%description devel
|
|
Epoxy is a library for handling OpenGL function pointer management for you.
|
|
|
|
It hides the complexity of dlopen(), dlsym(), glXGetProcAddress(),
|
|
eglGetProcAddress(), etc. from the app developer, with very little knowledge
|
|
needed on their part. They get to read GL specs and write code using undecorated
|
|
function names like glCompileShader().
|
|
|
|
Development files.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
%meson \
|
|
-D docs=false \
|
|
-D glx=yes \
|
|
-D egl=yes \
|
|
-D x11=true \
|
|
-D tests=false \
|
|
%{nil}
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%post -n %{name}%{sonum} -p /sbin/ldconfig
|
|
%postun -n %{name}%{sonum} -p /sbin/ldconfig
|
|
|
|
%files -n %{name}%{sonum}
|
|
%license COPYING
|
|
%{_libdir}/libepoxy.so.*
|
|
|
|
%files devel
|
|
%doc README.md
|
|
%{_libdir}/libepoxy.so
|
|
%{_libdir}/pkgconfig/epoxy.pc
|
|
%{_includedir}/epoxy/
|
|
|
|
%changelog
|