SPECS: crossmingw32-glib2.spec - proper build procedure (shared) -...

czarny czarny at pld-linux.org
Sun Feb 25 16:01:58 CET 2007


Author: czarny                       Date: Sun Feb 25 15:01:58 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- proper build procedure (shared)
- need to develop static + shared version

---- Files affected:
SPECS:
   crossmingw32-glib2.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/crossmingw32-glib2.spec
diff -u SPECS/crossmingw32-glib2.spec:1.12 SPECS/crossmingw32-glib2.spec:1.13
--- SPECS/crossmingw32-glib2.spec:1.12	Tue Feb 20 21:04:54 2007
+++ SPECS/crossmingw32-glib2.spec	Sun Feb 25 16:01:53 2007
@@ -22,6 +22,8 @@
 # Source0-md5:	b3f6a2a318610af6398b3445f1a2d6c6
 Patch0:		%{name}-stacktest.patch
 URL:		http://www.gtk.org/
+BuildRequires:	crossmingw32-libiconv
+BuildRequires:	crossmingw32-gettext
 BuildRequires:	unzip
 Requires:	crossmingw32-binutils
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -29,7 +31,8 @@
 %define		no_install_post_strip	1
 
 %define		target			i386-mingw32
-%define		target_platform 	i386-pc-mingw32
+%define		host			%{target}
+%define		target_platform 	%{target}
 %define		arch			%{_prefix}/%{target}
 %define		gccarch			%{_prefix}/lib/gcc-lib/%{target}
 %define		gcclib			%{_prefix}/lib/gcc-lib/%{target}/%{version}
@@ -105,9 +108,10 @@
 %{__automake}
 %{__autoconf}
 %configure \
-	AR="%{target}-ar" \
-	RANLIB="%{target}-ranlib" \
-	--host=%{target}
+	--target=%{target} \
+	--host=%{target} \
+	--disable-gtk-doc \
+	--enable-shared
 
 %{__make}
 
@@ -129,6 +133,7 @@
 %{_includedir}/glib-2.0
 %{_libdir}/*.la
 %{_libdir}/*.a
+%{_bindir}/*.dll
 %dir %{_libdir}/glib-2.0/include
 %{_libdir}/glib-2.0/include/glibconfig.h
 %{_pkgconfigdir}/*.pc
@@ -144,6 +149,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2007/02/25 15:01:53  czarny
+- proper build procedure (shared)
+- need to develop static + shared version
+
 Revision 1.12  2007/02/20 20:04:54  czarny
 - according to other specs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/crossmingw32-glib2.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list