new package
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Thu, 22 Nov 2012 17:37:55 +0000 (18:37 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Thu, 22 Nov 2012 17:37:55 +0000 (18:37 +0100)
cacti-plugin-realtime.spec [new file with mode: 0644]

diff --git a/cacti-plugin-realtime.spec b/cacti-plugin-realtime.spec
new file mode 100644 (file)
index 0000000..da069e9
--- /dev/null
@@ -0,0 +1,47 @@
+%define                plugin  realtime
+%define                php_min_version 5.1.1
+%include       /usr/lib/rpm/macros.php
+Summary:       Plugin for Cacti - realtime
+Summary(pl.UTF-8):     Wtyczka do Cacti - realtime
+%define        ver     %(echo %{version} |tr _ -)
+Name:          cacti-plugin-%{plugin}
+Version:       0.5_2
+Release:       1
+License:       GPL v2
+Group:         Applications/WWW
+Source0:       http://docs.cacti.net/_media/plugin:realtime-v%{ver}.tgz
+# Source0-md5: 94562c20ab4784c27a1463028886b313
+URL:           http://docs.cacti.net/plugin:realtime
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+Requires:      cacti
+Requires:      cacti(pia) >= 2.8
+Requires:      php(core) >= %{php_min_version}
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                cactidir                /usr/share/cacti
+%define                plugindir               %{cactidir}/plugins/%{plugin}
+
+%description
+Provides a method to view Cacti graphs with a resolution of upto 5
+seconds. Features
+
+Allows Syncronization between windows. Dynamically sizes viewing
+window based upon graph size. Uses Ajax for Graph generation.
+
+%prep
+%setup -qc
+mv %{plugin}/{LICENSE,README} .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{plugindir}
+cp -a %{plugin}/* $RPM_BUILD_ROOT%{plugindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{plugindir}
This page took 0.100648 seconds and 4 git commands to generate.