SPECS: scribus.spec - added cairo bcond (default off because of mi...

deejay1 deejay1 at pld-linux.org
Mon Oct 10 20:09:49 CEST 2005


Author: deejay1                      Date: Mon Oct 10 18:09:49 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added cairo bcond (default off because of minor performance reasons)
- rel up to 1

---- Files affected:
SPECS:
   scribus.spec (1.96 -> 1.97) 

---- Diffs:

================================================================
Index: SPECS/scribus.spec
diff -u SPECS/scribus.spec:1.96 SPECS/scribus.spec:1.97
--- SPECS/scribus.spec:1.96	Wed Oct  5 13:13:17 2005
+++ SPECS/scribus.spec	Mon Oct 10 20:09:43 2005
@@ -2,13 +2,14 @@
 #
 # Conditional build:
 %bcond_without	cups	# build without CUPS support
+%bcond_with	cairo	# build with cairo support
 #
 
 Summary:	Scribus - Open Source Desktop Publishing
 Summary(pl):	Scribus - DTP dla Wolnego Oprogramowania
 Name:		scribus
 Version:	1.3.1
-Release:	0.9
+Release:	1
 License:	GPL v2
 Group:		X11/Applications/Publishing
 Source0:	http://www.scribus.org.uk/downloads/%{version}/%{name}-%{version}.tar.bz2
@@ -23,6 +24,7 @@
 URL:		http://www.scribus.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
+%{?with_cairo:BuildRequires:	cairo-devel}
 %if %{with cups}
 BuildRequires:	cups-devel
 %else
@@ -30,7 +32,7 @@
 %endif
 BuildRequires:	freetype-devel >= 2.1.0
 BuildRequires:	lcms-devel >= 1.09
-BuildRequires:	libart_lgpl-devel >= 2.3.14
+%{?without_cairo:BuildRequires:	libart_lgpl-devel >= 2.3.14}
 BuildRequires:	libjpeg-devel
 BuildRequires:	libpng-devel
 BuildRequires:	libtiff-devel
@@ -137,6 +139,7 @@
 %{__automake}
 %{__perl} admin/am_edit
 %configure \
+	%{?with_cairo:--enable-cairo} \
 	--with-qt-libraries=%{_libdir} \
 	--libdir=%{_ulibdir}
 %{__make}
@@ -283,6 +286,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.97  2005/10/10 18:09:43  deejay1
+- added cairo bcond (default off because of minor performance reasons)
+- rel up to 1
+
 Revision 1.96  2005/10/05 11:13:17  qboosh
 - updated nolibs patch is back
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/scribus.spec?r1=1.96&r2=1.97&f=u




More information about the pld-cvs-commit mailing list