SPECS: liferea.spec - added bcond lua

sls sls at pld-linux.org
Sat Mar 24 21:36:46 CET 2007


Author: sls                          Date: Sat Mar 24 20:36:46 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond lua

---- Files affected:
SPECS:
   liferea.spec (1.127 -> 1.128) 

---- Diffs:

================================================================
Index: SPECS/liferea.spec
diff -u SPECS/liferea.spec:1.127 SPECS/liferea.spec:1.128
--- SPECS/liferea.spec:1.127	Fri Mar 23 19:07:17 2007
+++ SPECS/liferea.spec	Sat Mar 24 21:36:41 2007
@@ -4,6 +4,7 @@
 %bcond_without	dbus		# without DBUS support
 %bcond_without	gtkhtml		# without GtkHTML
 %bcond_without	xulrunner	# without XULRunner backend
+%bcond_without	lua		# without LUA scripting support
 #
 %ifarch %{x8664}
 %undefine	with_gtkhtml	# GtkHTML backend disabled on x86_64
@@ -19,6 +20,7 @@
 # Source0-md5:	695e1c3bef330faa71a0d41706fbd104
 Patch0:		%{name}-desktop.patch
 Patch1:		%{name}-xulrunner.patch
+Patch2:		%{name}-lua51.patch
 URL:		http://liferea.sourceforge.net/
 BuildRequires:	GConf2-devel >= 2.10.0
 BuildRequires:	autoconf >= 2.59
@@ -31,6 +33,7 @@
 BuildRequires:	libtool
 BuildRequires:	libxml2-devel >= 1:2.6.19
 BuildRequires:	libxslt-devel >= 1.1.19
+%{?with_lua:BuildRequires:	lua51-devel}
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.311
 %{?with_xulrunner:BuildRequires:	xulrunner-devel}
@@ -83,6 +86,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 #%{__glib_gettextize}
@@ -95,6 +99,7 @@
 	--disable-schemas-install \
 	%{!?with_dbus: --disable-dbus} \
 	%{!?with_gtkhtml: --disable-gtkhtml2} \
+	%{!?with_lua: --disable-lua} \
 	%{!?with_xulrunner: --disable-xulrunner}
 %{__make}
 
@@ -153,6 +158,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.128  2007/03/24 20:36:41  sls
+- added bcond lua
+
 Revision 1.127  2007/03/23 18:07:17  megabajt
 - release 2 to rebuild with xulrunner 1.8.1.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/liferea.spec?r1=1.127&r2=1.128&f=u



More information about the pld-cvs-commit mailing list