SPECS: crossmingw32-glibmm.spec - proper static + shared build

czarny czarny at pld-linux.org
Sun Feb 25 16:14:30 CET 2007


Author: czarny                       Date: Sun Feb 25 15:14:30 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- proper static + shared build

---- Files affected:
SPECS:
   crossmingw32-glibmm.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/crossmingw32-glibmm.spec
diff -u SPECS/crossmingw32-glibmm.spec:1.4 SPECS/crossmingw32-glibmm.spec:1.5
--- SPECS/crossmingw32-glibmm.spec:1.4	Mon Feb 12 23:09:09 2007
+++ SPECS/crossmingw32-glibmm.spec	Sun Feb 25 16:14:25 2007
@@ -1,8 +1,8 @@
 # $Revision$, $Date$
 #
-%define		_realname	glibmm
 Summary:	A C++ interface for glib library - cross Mingw32 version
 Summary(pl.UTF-8):	Interfejs C++ dla biblioteki glib - wersja skrośna Mingw32
+%define		_realname	glibmm
 Name:		crossmingw32-%{_realname}
 Version:	2.12.5
 Release:	1
@@ -15,13 +15,12 @@
 BuildRequires:	automake
 BuildRequires:	crossmingw32-glib2 >= 2.12.9
 BuildRequires:	crossmingw32-libsigc++ >= 2.0.17
-BuildRequires:	libstdc++-devel
+BuildRequires:	crossmingw32-pkgconfig
+#BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 2:1.4d
 BuildRequires:	perl-XML-Parser
-BuildRequires:	pkgconfig
 Requires:	crossmingw32-glib2 >= 2.12.9
 Requires:	crossmingw32-libsigc++ >= 2.0.17
-Obsoletes:	gtkmm-glib
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		no_install_post_strip	1
@@ -33,6 +32,7 @@
 %define		gcclib			%{_prefix}/lib/gcc-lib/%{target}/%{version}
 
 %define		_sysprefix		/usr
+%define		_pkgconfigdir		%{_prefix}/lib/pkgconfig
 %define		_prefix			%{_sysprefix}/%{target}
 %define		__cc			%{target}-gcc
 %define		__cxx			%{target}-g++
@@ -48,16 +48,15 @@
 
 %build
 export PKG_CONFIG_PATH=%{_prefix}/lib/pkgconfig
-export CXXFLAGS="-I%{_includedir}/glib-2.0 -I/%{_libdir}/glib-2.0/include %{rpmcxxflags}"
-
 %{__libtoolize}
 %{__aclocal} -I scripts
 %{__autoconf}
 %{__automake}
 %configure \
+	--target=%{target} \
 	--host=%{target} \
-	--enable-fulldocs \
-	%{?with_static_libs:--enable-static}
+	--disable-fulldocs \
+	--enable-static
 
 %{__make}
 
@@ -73,8 +72,9 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog CHANGES NEWS README
-%attr(755,root,root) %{_libdir}/lib*.a
+%{_libdir}/lib*.a
 %{_libdir}/lib*.la
+%{_bindir}/*.dll
 %dir %{_libdir}/%{_realname}-2.4
 %{_libdir}/%{_realname}-2.4/include
 %dir %{_libdir}/%{_realname}-2.4/proc
@@ -90,6 +90,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2007/02/25 15:14:25  czarny
+- proper static + shared build
+
 Revision 1.4  2007/02/12 22:09:09  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/crossmingw32-glibmm.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list