SPECS: weechat.spec - add BRs, bconds and functionality

shadzik shadzik at pld-linux.org
Mon Mar 5 11:12:13 CET 2007


Author: shadzik                      Date: Mon Mar  5 10:12:13 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add BRs, bconds and functionality

---- Files affected:
SPECS:
   weechat.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/weechat.spec
diff -u SPECS/weechat.spec:1.3 SPECS/weechat.spec:1.4
--- SPECS/weechat.spec:1.3	Mon Mar  5 10:59:03 2007
+++ SPECS/weechat.spec	Mon Mar  5 11:12:08 2007
@@ -1,6 +1,11 @@
 # $Revision$, $Date$
 %bcond_without	qt	# don't build qt support
 %bcond_without	ncurses	# don't build ncurses support
+%bcond_without	ruby	# don't build ruby plugin support
+%bcond_without	lua	# don't build lua plugin support
+%bcond_without	perl	# don't build perl plugin support
+%bcond_without	python	# don't build python plugin support
+%bcond_without	gnutls	# don't build gnutls support
 
 Summary:	WeeChat
 Summary(pl.UTF-8):	WeeChat
@@ -12,13 +17,14 @@
 Source0:	http://weechat.flashtux.org/download/%{name}-%{version}.tar.bz2
 # Source0-md5:	12c39b30988d78e9544acda6e518476f
 URL:		http://weechat.flashtux.org/
-#BuildRequires:	autoconf
-#BuildRequires:	automake
+%{?with_lgnutls:BuildRequires:	gnutls-devel}
+%{?with_lua:BuildRequires:	lua-devel}
 %{?with_ncurses:BuildRequires:	ncurses-devel}
-BuildRequires:	perl-devel
-BuildRequires:	python-devel
+%{?with_perl:BuildRequires:	perl-devel}
+%{?with_python:BuildRequires:	python-devel}
 %{?with_qt:BuildRequires:	qt-devel}
 BuildRequires:	rpmbuild(macros) >= 1.129
+%{?with_ruby:BuildRequires:	ruby-devel}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -37,9 +43,15 @@
 	--enable-libsuffix=64 \
 %endif
 	--%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
+	--enable-plugins \
 	--with-qt-libraries=%{_libdir} \
 	--%{?with_qt:en}%{!?with_qt:dis}able-qt \
-	--%{?with_ncurses:en}%{!?with_ncurses:dis}able-ncurses
+	--%{?with_ncurses:en}%{!?with_ncurses:dis}able-ncurses \
+	--%{?with_perl:en}%{!?with_perl:dis}able-perl \
+	--%{?with_python:en}%{!?with_python:dis}able-python \
+	--%{?with_ruby:en}%{!?with_ruby:dis}able-ruby \
+	--%{?with_lua:en}%{!?with_lua:dis}able-lua \
+	--%{?with_gnutls:en}%{!?with_gnutls:dis}able-gnutls
 %{__make}
 
 %install
@@ -70,6 +82,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007/03/05 10:12:08  shadzik
+- add BRs, bconds and functionality
+
 Revision 1.3  2007/03/05 09:59:03  shadzik
 - add some docs
 
================================================================

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



More information about the pld-cvs-commit mailing list