Commit b192d44f authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Add libepoxy

parent 06a709f7
......@@ -36,7 +36,7 @@ PACKAGES = \
libXfixes libXext libXft libXi libXinerama libICE libSM libXpm libXrandr libXtst \
libXv libXvMC libXxf86vm libXdamage libXcursor libXcomposite libxkbfile libxshmfence \
dbus cairo dbus-glib \
libpciaccess libdrm mesa \
libpciaccess libdrm mesa libepoxy \
graphite2 harfbuzz libdatrie libthai pango atk at-spi2-core at-spi2-atk gdk-pixbuf2 gtk3 \
itstool yelp-xsl yelp-tools \
hicolor-icon-theme libcroco vala librsvg2 adwaita-icon-theme \
......
......@@ -34,6 +34,7 @@ Requires: zenity
Requires: mesa-libGL
Requires: mesa-libEGL
Requires: mesa-dri-drivers
Requires: libepoxy
%description
Meta package for Gnome SDK dependencies
......
......@@ -31,6 +31,7 @@ BuildRequires: zenity
BuildRequires: mesa-libGL
BuildRequires: libICE-devel
BuildRequires: libXxf86vm-devel
BuildRequires: libepoxy-devel
Requires: gtk2-devel gtk2-immodules
Requires: gtk3-devel gtk3-immodules
......@@ -94,6 +95,7 @@ Requires: mesa-libEGL-devel
Requires: mesa-dri-drivers
Requires: libICE-devel
Requires: libXxf86vm-devel
Requires: libepoxy-devel
%description
Meta package for Gnome SDK dependencies
......
Summary: Direct Rendering Manager runtime library
Name: libepoxy
Version: 1.2
Release: 1%{?dist}
License: MIT
URL: http://github.com/anholt/libepoxy
Source0: https://github.com/anholt/libepoxy/archive/v%{version}.tar.gz
BuildRequires: gnome-sdk-base
BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libEGL-devel
BuildRequires: mesa-libGLES-devel
BuildRequires: xorg-x11-util-macros
%description
A library for handling OpenGL function pointer management.
%package devel
Summary: Development files for libepoxy
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
autoreconf -vif || exit 1
%configure --disable-silent-rules
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
# NOTE: We intentionally don't ship *.la files
find $RPM_BUILD_ROOT -type f -name '*.la' -delete -print
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc README.md
%{_libdir}/libepoxy.so.0
%{_libdir}/libepoxy.so.0.0.0
%files devel
%dir %{_includedir}/epoxy/
%{_includedir}/epoxy/*
%{_libdir}/libepoxy.so
%{_libdir}/pkgconfig/epoxy.pc
%changelog
* Thu Dec 11 2014 Alexander Larsson <alexl@redhat.com> - 1.2-1
- Initial version
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment