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