packages: nagios-vshell/nagios-vshell.spec - php deps

glen glen at pld-linux.org
Sat Jan 7 18:49:33 CET 2012


Author: glen                         Date: Sat Jan  7 17:49:33 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- php deps

---- Files affected:
packages/nagios-vshell:
   nagios-vshell.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/nagios-vshell/nagios-vshell.spec
diff -u packages/nagios-vshell/nagios-vshell.spec:1.6 packages/nagios-vshell/nagios-vshell.spec:1.7
--- packages/nagios-vshell/nagios-vshell.spec:1.6	Sat Jan  7 18:42:05 2012
+++ packages/nagios-vshell/nagios-vshell.spec	Sat Jan  7 18:49:28 2012
@@ -2,18 +2,27 @@
 # TODO
 # - gettext to system dir
 %define		pkg	vshell
+%define		php_min_version 5.2.0
+%include	/usr/lib/rpm/macros.php
 Summary:	Nagios V-Shell
 Name:		nagios-%{pkg}
 Version:	1.8
-Release:	0.7
+Release:	0.8
 License:	GPL v2
 Group:		Applications/WWW
 Source0:	http://assets.nagios.com/downloads/exchange/nagiosvshell/%{pkg}.tar.gz
 # Source0-md5:	802a80daa263b441af1b729cb3e7fa35
 Patch0:		config.patch
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Patch1:		http-host.patch
 URL:		http://exchange.nagios.org/directory/Addons/Frontends-(GUIs-and-CLIs)/Web-Interfaces/Nagios-V-2DShell/details
 Requires:	nagios-cgi
+Requires:	php-common >= 4:%{php_min_version}
+Requires:	php-date
+Requires:	php-gettext
+Requires:	php-json
+Requires:	php-pcre
+Requires:	php-session
 Requires:	webapps
 Requires:	webserver(access)
 Requires:	webserver(alias)
@@ -25,6 +34,11 @@
 %define		_sysconfdir	%{_webapps}/nagios
 %define		_appdir		%{_datadir}/nagios/%{pkg}
 
+# bad depsolver
+%define		_noautopear	pear
+# put it together for rpmbuild
+%define		_noautoreq	%{?_noautophp} %{?_noautopear}
+
 %description
 Nagios V-Shell is a PHP web interface to Nagios Core that is designed
 to be lightweight, easy to install and use, and customizable. V-Shell
@@ -66,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2012/01/07 17:49:28  glen
+- php deps
+
 Revision 1.6  2012/01/07 17:42:05  glen
 - still package files under nagios dirs, and use it's auth methods
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-vshell/nagios-vshell.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list