]> git.pld-linux.org Git - packages/liferea.git/commitdiff
- added bcond lua
authorSzymon Siwek <sls@pld-linux.org>
Sat, 24 Mar 2007 20:36:41 +0000 (20:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    liferea.spec -> 1.128

liferea.spec

index 1b908d8fa13682f95866e4b899258fa1adcb6b4e..ec5ebc9ca3818c8cb551344569eb1f820ba5272f 100644 (file)
@@ -3,6 +3,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
@@ -18,6 +19,7 @@ Source0:      http://dl.sourceforge.net/liferea/%{name}-%{version}.tar.gz
 # 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
@@ -30,6 +32,7 @@ BuildRequires:        libstdc++-devel
 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}
@@ -82,6 +85,7 @@ Moduł przeglądarki HTML dla Liferea oparty na Mozilli.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 #%{__glib_gettextize}
@@ -94,6 +98,7 @@ Moduł przeglądarki HTML dla Liferea oparty na Mozilli.
        --disable-schemas-install \
        %{!?with_dbus: --disable-dbus} \
        %{!?with_gtkhtml: --disable-gtkhtml2} \
+       %{!?with_lua: --disable-lua} \
        %{!?with_xulrunner: --disable-xulrunner}
 %{__make}
 
This page took 0.028276 seconds and 4 git commands to generate.