SPECS: crossmingw32-cairo.spec - proper shared + static build
czarny
czarny at pld-linux.org
Sun Feb 25 16:08:58 CET 2007
Author: czarny Date: Sun Feb 25 15:08:58 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- proper shared + static build
---- Files affected:
SPECS:
crossmingw32-cairo.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/crossmingw32-cairo.spec
diff -u SPECS/crossmingw32-cairo.spec:1.1 SPECS/crossmingw32-cairo.spec:1.2
--- SPECS/crossmingw32-cairo.spec:1.1 Tue Feb 20 21:16:58 2007
+++ SPECS/crossmingw32-cairo.spec Sun Feb 25 16:08:53 2007
@@ -13,7 +13,8 @@
Group: Libraries
Source0: http://cairographics.org/releases/%{_realname}-%{version}.tar.gz
# Source0-md5: 487b3d7515752fe57f780d0fd707b01a
-Patch0: %{_realname}-link.patch
+Patch0: %{name}-dll.patch
+Patch1: %{name}-dllmain.patch
URL: http://cairographics.org/
BuildRequires: autoconf >= 2.54
BuildRequires: automake >= 1:1.7
@@ -84,7 +85,8 @@
%prep
%setup -q -n %{_realname}-%{version}
-%patch0 -p1
+#%patch0 -p1
+#%patch1 -p1
%build
export PKG_CONFIG_PATH=%{_prefix}/lib/pkgconfig
@@ -94,17 +96,21 @@
%{__autoconf}
%{__automake}
%configure \
- AR="%{target}-ar" \
- RANLIB="%{target}-ranlib" \
--target=%{target} \
- --host=%{target_platform} \
+ --host=%{target} \
%{?with_glitz:--enable-glitz} \
- --enable-ps \
- --enable-pdf \
+ --disable-gtk-doc \
--disable-xlib \
--disable-xlib-render \
+ --enable-freetype \
+ --enable-pdf \
+ --enable-png \
+ --enable-ps \
+ --disable-svg \
--enable-windows \
- --enable-svg \
+
+%{__sed} -i -e 's/^deplibs_check_method=.*/deplibs_check_method="pass_all"/' libtool
+
%{__make}
%install
@@ -120,8 +126,9 @@
%defattr(644,root,root,755)
# COPYING contains only notes, not LGPL/MPL texts
%doc AUTHORS COPYING ChangeLog NEWS README TODO
-%attr(755,root,root) %{_libdir}/lib*.la
-%attr(755,root,root) %{_libdir}/lib*.a
+%{_libdir}/lib*.la
+%{_libdir}/lib*.a
+%{_bindir}/*.dll
%{_includedir}/*
%{_pkgconfigdir}/*.pc
@@ -131,6 +138,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2007/02/25 15:08:53 czarny
+- proper shared + static build
+
Revision 1.1 2007/02/20 20:16:58 czarny
- new based on cairo.spec
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/crossmingw32-cairo.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list