%?mingw_package_header Name: mingw-libepoxy Version: 1.4.3 Release: 1%{?dist} Summary: MinGW Windows libepoxy library License: MIT URL: https://github.com/anholt/libepoxy Source0: https://github.com/anholt/libepoxy/archive/%{version}/libepoxy-%{version}.tar.gz BuildArch: noarch BuildRequires: mingw32-filesystem BuildRequires: mingw64-filesystem BuildRequires: mingw32-gcc BuildRequires: mingw64-gcc BuildRequires: python # Required for autoreconf BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: xorg-x11-util-macros %description Epoxy is a library for handling OpenGL function pointer management. This package contains the MinGW Windows cross compiled libepoxy library. %package -n mingw32-libepoxy Summary: MinGW Windows libepoxy library %description -n mingw32-libepoxy Epoxy is a library for handling OpenGL function pointer management. This package contains the MinGW Windows cross compiled libepoxy library. %package -n mingw64-libepoxy Summary: MinGW Windows libepoxy library %description -n mingw64-libepoxy Epoxy is a library for handling OpenGL function pointer management. This package contains the MinGW Windows cross compiled libepoxy library. %?mingw_debug_package %prep %setup -q -n libepoxy-%{version} autoreconf -fi %build %mingw_configure %mingw_make %{?_smp_mflags} V=1 %install %mingw_make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/*.la rm -f $RPM_BUILD_ROOT%{mingw64_libdir}/*.la %files -n mingw32-libepoxy %license COPYING %{mingw32_bindir}/libepoxy-0.dll %{mingw32_libdir}/libepoxy.dll.a %{mingw32_libdir}/pkgconfig/epoxy.pc %{mingw32_includedir}/epoxy/ %files -n mingw64-libepoxy %license COPYING %{mingw64_bindir}/libepoxy-0.dll %{mingw64_libdir}/libepoxy.dll.a %{mingw64_libdir}/pkgconfig/epoxy.pc %{mingw64_includedir}/epoxy/ %changelog * Sun Oct 15 2017 Kalev Lember - 1.4.3-1 - Update to 1.4.3 * Wed Jul 26 2017 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 20 2017 Kalev Lember - 1.4.1-1 - Update to 1.4.1 * Fri Feb 10 2017 Fedora Release Engineering - 1.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat May 07 2016 Erik van Pienbroek - 1.3.1-3 - Add BuildRequires: python to fix FTBFS * Thu Feb 04 2016 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Nov 05 2015 Kalev Lember - 1.3.1-1 - Update to 1.3.1 * Wed Jun 17 2015 Fedora Release Engineering - 1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Mar 24 2015 Kalev Lember - 1.2-2 - Package review fixes (#1205194) - Don't explicitly BR mingw{32,64}-binutils - Fix the license tag * Tue Mar 24 2015 Kalev Lember - 1.2-1 - Initial Fedora packaging