SPECS: xchm.spec - added bcond xmlrpc

sls sls at pld-linux.org
Tue Mar 20 20:06:42 CET 2007


Author: sls                          Date: Tue Mar 20 19:06:42 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond xmlrpc

---- Files affected:
SPECS:
   xchm.spec (1.54 -> 1.55) 

---- Diffs:

================================================================
Index: SPECS/xchm.spec
diff -u SPECS/xchm.spec:1.54 SPECS/xchm.spec:1.55
--- SPECS/xchm.spec:1.54	Tue Mar 20 19:51:56 2007
+++ SPECS/xchm.spec	Tue Mar 20 20:06:37 2007
@@ -1,9 +1,13 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	xmlrpc			# Enable XmlRpc functionality
+#
 Summary:	CHM viewer for UNIX
 Summary(pl.UTF-8):	Przeglądarka CHM dla Uniksów
 Name:		xchm
 Version:	1.11
-Release:	0.1
+Release:	0.2
 License:	GPL
 Group:		Applications/File
 Source0:	http://dl.sourceforge.net/xchm/%{name}-%{version}.tar.gz
@@ -15,6 +19,7 @@
 BuildRequires:	chmlib-devel
 BuildRequires:	gettext-devel >= 0.11
 BuildRequires:	wxGTK2-devel >= 2.6.0
+%{?with_xmlrpc:BuildRequires:	xmlrpc++-devel}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -35,6 +40,7 @@
 %{__autoheader}
 %{__automake}
 %configure \
+	%{?with_xmlrpc:--enable-xmlrpc} \
 	WX_CONFIG_NAME=/usr/bin/wx-gtk2-ansi-config
 %{__make}
 
@@ -69,6 +75,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.55  2007/03/20 19:06:37  sls
+- added bcond xmlrpc
+
 Revision 1.54  2007/03/20 18:51:56  sls
 - ver. 1.11
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xchm.spec?r1=1.54&r2=1.55&f=u



More information about the pld-cvs-commit mailing list