%global __strip %{_mingw32_strip} %global __objdump %{_mingw32_objdump} %define __debug_install_post %{_mingw32_debug_install_post} Name: mingw-harfbuzz Version: 0.6.0 Release: 1%{?dist} Summary: MinGW Windows HarfBuzz library License: MIT URL: http://freedesktop.org/wiki/Software/HarfBuzz Source0: http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-%{version}.tar.bz2 BuildArch: noarch BuildRequires: mingw32-filesystem >= 68 BuildRequires: mingw32-gcc BuildRequires: mingw32-binutils BuildRequires: mingw32-freetype BuildRequires: mingw32-cairo BuildRequires: mingw32-glib2 %description HarfBuzz is an implementation of the OpenType Layout engine. This package contains the MinGW Windows cross compiled HarfBuzz library. %package -n mingw32-harfbuzz Summary: MinGW Windows HarfBuzz library %description -n mingw32-harfbuzz HarfBuzz is an implementation of the OpenType Layout engine. This package contains the MinGW Windows cross compiled HarfBuzz library. %{?_mingw32_debug_package} %prep %setup -q -n harfbuzz-%{version} %build %{_mingw32_configure} --disable-static # Upstream patch for -no-undefined: # https://bugs.freedesktop.org/show_bug.cgi?id=39686 make %{?_smp_mflags} V=1 LDFLAGS=-no-undefined %install make install DESTDIR=$RPM_BUILD_ROOT %files -n mingw32-harfbuzz %doc COPYING %{_mingw32_bindir}/libharfbuzz-0.dll %{_mingw32_includedir}/harfbuzz/ %{_mingw32_libdir}/libharfbuzz.dll.a %{_mingw32_libdir}/libharfbuzz.la %{_mingw32_libdir}/pkgconfig/harfbuzz.pc %changelog * Sat Jul 30 2011 Kalev Lember - 0.6.0-1 - Initial RPM release