SPECS: rtorrent.spec - bcond xmlrpc-c - rel 3

shadzik shadzik at pld-linux.org
Wed Jan 9 16:50:21 CET 2008


Author: shadzik                      Date: Wed Jan  9 15:50:21 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bcond xmlrpc-c
- rel 3

---- Files affected:
SPECS:
   rtorrent.spec (1.56 -> 1.57) 

---- Diffs:

================================================================
Index: SPECS/rtorrent.spec
diff -u SPECS/rtorrent.spec:1.56 SPECS/rtorrent.spec:1.57
--- SPECS/rtorrent.spec:1.56	Sun Dec 16 13:16:19 2007
+++ SPECS/rtorrent.spec	Wed Jan  9 16:50:16 2008
@@ -3,12 +3,13 @@
 # Conditional build:
 %bcond_with	colors		# with color version
 %bcond_with	ipv6		# with IPv6 support (default IPv4-only)
+%bcond_with	xmlrpc-c	# build xmlrpc-c support
 #
 Summary:	rTorrent - a console-based BitTorrent client
 Summary(pl.UTF-8):	rTorrent - konsolowy klient BitTorrenta
 Name:		rtorrent
 Version:	0.7.9
-Release:	2
+Release:	3
 License:	GPL v2+
 Group:		Applications/Networking
 Source0:	http://libtorrent.rakshasa.no/downloads/%{name}-%{version}.tar.gz
@@ -23,7 +24,9 @@
 BuildRequires:	libtorrent-devel >= 0.11.9
 BuildRequires:	ncurses-devel
 BuildRequires:	pkgconfig
+%if %{with xmlrpc-c}
 BuildRequires:	xmlrpc-c-devel
+%endif
 BuildRequires:	zlib-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -52,7 +55,7 @@
 	CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses" \
 	--%{?debug:en}%{!?debug:dis}able-debug \
 	--%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
-	--with-xmlrpc-c
+	--%{?with_xmlrpc-c:en}%{!?with_xmlrpc-c:dis}able-xmlrpc-c
 
 %{__make}
 
@@ -77,6 +80,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.57  2008-01-09 15:50:16  shadzik
+- bcond xmlrpc-c
+- rel 3
+
 Revision 1.56  2007-12-16 12:16:19  jpc
 - enable xmlrpc support
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rtorrent.spec?r1=1.56&r2=1.57&f=u



More information about the pld-cvs-commit mailing list