|
|
@@ -41,7 +41,7 @@ Class: PLUS
|
|
|
Group: XWindow
|
|
|
License: GPL
|
|
|
Version: %{V_gtk}
|
|
|
-Release: 20050118
|
|
|
+Release: 20050121
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://ftp.gtk.org/pub/gtk/v%{V_gtk_major}/gtk+-%{V_gtk}.tar.gz
|
|
|
@@ -168,6 +168,22 @@ AutoReqProv: no
|
|
|
--enable-shared \
|
|
|
--enable-static
|
|
|
|
|
|
+ # create a libtool for building without shared libs
|
|
|
+ cp -fp libtool libtool_noshared
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's;\(build_libtool_libs\)=yes;\1=no;g' \
|
|
|
+ libtool_noshared
|
|
|
+
|
|
|
+ # build libgtk-x11-2.0, libgdk_pixbuf2, and libgdk-x11-2.0 only statically
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's;^LIBTOOL = \(.*\)libtool;LIBTOOL = \1libtool_noshared;' \
|
|
|
+ gdk-pixbuf/Makefile.in \
|
|
|
+ gdk-pixbuf/Makefile \
|
|
|
+ gdk/Makefile.in \
|
|
|
+ gdk/Makefile \
|
|
|
+ gtk/Makefile.in \
|
|
|
+ gtk/Makefile
|
|
|
+
|
|
|
# build package
|
|
|
%{l_make} %{l_mflags}
|
|
|
|