packages: cacti-plugin-ntop/cacti-plugin-ntop.spec - up to 0.2, add correct...
glen
glen at pld-linux.org
Fri Oct 28 09:17:05 CEST 2011
Author: glen Date: Fri Oct 28 07:17:05 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.2, add correct deps
---- Files affected:
packages/cacti-plugin-ntop:
cacti-plugin-ntop.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: packages/cacti-plugin-ntop/cacti-plugin-ntop.spec
diff -u packages/cacti-plugin-ntop/cacti-plugin-ntop.spec:1.8 packages/cacti-plugin-ntop/cacti-plugin-ntop.spec:1.9
--- packages/cacti-plugin-ntop/cacti-plugin-ntop.spec:1.8 Sun May 16 16:13:37 2010
+++ packages/cacti-plugin-ntop/cacti-plugin-ntop.spec Fri Oct 28 09:17:00 2011
@@ -1,19 +1,22 @@
# $Revision$, $Date$
%define plugin ntop
-%include /usr/lib/rpm/macros.perl
-Summary: Plugin for Cacti - Ntop
+%define php_min_version 5.0.0
+%include /usr/lib/rpm/macros.php
+Summary: Plugin for Cacti - Provides an iFrame to point to your NTop Server
Summary(pl.UTF-8): Wtyczka do Cacti - Ntop
Name: cacti-plugin-ntop
-Version: 0.1
+Version: 0.2
Release: 1
License: GPL v2
Group: Applications/WWW
-Source0: http://mirror.cactiusers.org/downloads/plugins/%{plugin}-%{version}.zip
-# Source0-md5: 7e5b07df1db6fc8db73aa16da878e0de
+Source0: http://docs.cacti.net/_media/plugin:%{plugin}-v%{version}-1.tgz
+# Source0-md5: 29a192e1f935fbb30c7b9bd5384ff78f
URL: http://www.cactiusers.org/
BuildRequires: rpm-perlprov
BuildRequires: unzip
-Requires: cacti
+Requires: cacti >= 0.8.7e
+Requires: cacti(pia) >= 2.0
+Requires: php-common >= 4:%{php_min_version}
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,18 +24,19 @@
%define plugindir %{cactidir}/plugins/%{plugin}
%description
-Plugin for Cacti - Ntop.
+Provide an iFrame to point to your NTop Server.
%description -l pl.UTF-8
Wtyczka do Cacti - Ntop.
%prep
-%setup -q -c
+%setup -qc
+mv %{plugin}/{LICENSE,README} .
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{plugindir}
-cp -a . $RPM_BUILD_ROOT%{plugindir}
+cp -a %{plugin}/* $RPM_BUILD_ROOT%{plugindir}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -48,6 +52,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2011/10/28 07:17:00 glen
+- up to 0.2, add correct deps
+
Revision 1.8 2010/05/16 14:13:37 sparky
- BR: unzip
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti-plugin-ntop/cacti-plugin-ntop.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list