Summary: Font configuration and customization tools - cross MinGW32 versoin
Summary(pl.UTF-8): Narzędzia do konfigurowania fontów - wersja skrośna dla MinGW32
Name: crossmingw32-%{realname}
-Version: 2.10.2
+Version: 2.10.91
Release: 1
License: MIT
Group: Development/Libraries
-Source0: http://fontconfig.org/release/%{realname}-%{version}.tar.gz
-# Source0-md5: 025e08b3d7fe45c433de5718e441ed15
+Source0: http://fontconfig.org/release/%{realname}-%{version}.tar.bz2
+# Source0-md5: c795bb39fab3a656e5dff8bad6a199f6
Patch0: %{realname}-blacklist.patch
Patch1: %{realname}-bitstream-cyberbit.patch
+Patch2: %{realname}-mkstemp.patch
URL: http://fontconfig.org/
BuildRequires: autoconf >= 2.61
BuildRequires: automake
# arch-specific flags (like alpha's -mieee) are not valid for i386 gcc
%define optflags -O2
%endif
-# -z options are invalid for mingw linker
+# -z options are invalid for mingw linker, most of -f options are Linux-specific
%define filterout_ld -Wl,-z,.*
+%define filterout_c -f[-a-z0-9=]*
%description
Fontconfig is designed to locate fonts within the system and select
%setup -q -n %{realname}-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
export PKG_CONFIG_LIBDIR=%{_prefix}/lib/pkgconfig