Summary(pl.UTF-8): Analizator składni XML-a 1.0 - wersja skrośna dla Ming32
%define realname expat
Name: crossmingw32-%{realname}
-Version: 2.2.9
+Version: 2.4.4
Release: 1
License: MIT
Group: Development/Libraries
-Source0: http://downloads.sourceforge.net/expat/%{realname}-%{version}.tar.xz
-# Source0-md5: d2384fa607223447e713e1b9bd272376
+Source0: https://downloads.sourceforge.net/expat/%{realname}-%{version}.tar.xz
+# Source0-md5: a712d23b7afb32e7527cf0b3fd8f12ac
URL: http://www.libexpat.org/
BuildRequires: autoconf >= 2.69
BuildRequires: automake
BuildRequires: crossmingw32-gcc >= 1:3.2
-BuildRequires: libtool >= 1:2.4
+BuildRequires: libtool >= 2:2.4
BuildRequires: tar >= 1:1.22
BuildRequires: xz
Requires: crossmingw32-runtime
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define no_install_post_strip 1
+%define _enable_debug_packages 0
%define target i386-mingw32
%define target_platform i386-pc-mingw32
install -d $RPM_BUILD_ROOT%{_dlldir}
%{__mv} $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
+%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/cmake
+
%if 0%{!?debug:1}
%{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll
%{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a