]> git.pld-linux.org Git - packages/crossmingw32-gtk+2.git/blobdiff - crossmingw32-gtk+2.spec
- more -luuid hacks; release 2
[packages/crossmingw32-gtk+2.git] / crossmingw32-gtk+2.spec
index 96daf5798107e613eba3470b961f136c9f7f85f7..606541023800a9bd47174ecbdb2a4c91d894277d 100644 (file)
@@ -1,12 +1,12 @@
 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
@@ -19,6 +19,7 @@ BuildRequires:        crossmingw32-pango >= 1.28.0
 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
@@ -130,6 +131,8 @@ CPPFLAGS="%{rpmcppflags} -DWINVER=0x0500"
 # 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}
 
@@ -140,8 +143,11 @@ rm -rf $RPM_BUILD_ROOT
 %{__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
This page took 0.071068 seconds and 4 git commands to generate.