Summary: PNG library - Mingw32 cross version
Summary(pl.UTF-8): Biblioteka PNG - wersja skrośna dla Mingw32
Name: crossmingw32-%{realname}
-Version: 1.2.31
+Version: 1.2.32
Release: 1
License: distributable
Group: Development/Libraries
Source0: http://dl.sourceforge.net/libpng/%{realname}-%{version}.tar.lzma
-# Source0-md5: d1f5fe979e3450cda4d571cef93c507e
+# Source0-md5: 4b86e9d73d86744a263bb69671ab74d0
Patch0: %{realname}-pngminus.patch
Patch1: %{realname}-opt.patch
Patch2: %{realname}-revert.patch
%define __cc %{target}-gcc
%define __cxx %{target}-g++
-%ifarch alpha sparc sparc64 sparcv9
+%ifnarch %{ix86}
+# arch-specific flags (like alpha's -mieee) are not valid for i386 gcc
%define optflags -O2
%endif
+# -z options are invalid for mingw linker
+%define filterout_ld -Wl,-z,.*
%description
The PNG library is a collection of routines used to create and