Summary: The GIMP Toolkit - MinGW32 cross version
Summary(pl.UTF-8): GIMP Toolkit - wersja skrośna dla MinGW32
Name: crossmingw32-gtk+2
-Version: 2.24.29
-Release: 1
+Version: 2.24.30
+Release: 2
License: LGPL v2+
Group: Development/Libraries
Source0: http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.24/gtk+-%{version}.tar.xz
-# Source0-md5: 1b7a3689f65617387b5b54520f4439e8
+# Source0-md5: 04568ba5c58b75e3c7543e45628ad789
URL: http://www.gtk.org/
BuildRequires: autoconf >= 2.62
BuildRequires: automake >= 1:1.7
BuildRequires: gtk-doc >= 1.17
BuildRequires: libtool
BuildRequires: pkgconfig >= 1:0.15
+BuildRequires: sed >= 4.0
BuildRequires: tar >= 1:1.22
BuildRequires: xz
Requires: crossmingw32-atk >= 1.30.0
# in shared libraries (only import libraries are allowed); override this
# to allow static libuuid
%{__sed} -i -e 's/^\(deplibs_check_method\)=.*/\1="pass_all"/' libtool
+# avoid -luuid in shared linking
+%{__sed} -i -e 's/ -luuid//;$aLibs.private: -luuid' gdk*.pc
%{__make}
%{__make} -j1 install \
DESTDIR=$RPM_BUILD_ROOT
+# avoid -luuid in shared linking
+%{__sed} -i -e 's/ -luuid//' $RPM_BUILD_ROOT%{_libdir}/lib*.la
+
install -d $RPM_BUILD_ROOT%{_dlldir}
-mv -f $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
+%{__mv} $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
%if 0%{!?debug:1}
%{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll