fix desc
[packages/cacti-plugin-realtime.git] / cacti-plugin-realtime.spec
CommitLineData
98e4384c 1%define plugin realtime
96ce2bc1 2%define ver %(echo %{version} |tr _ -)
98e4384c
JK
3%define php_min_version 5.1.1
4%include /usr/lib/rpm/macros.php
5Summary: Plugin for Cacti - realtime
6Summary(pl.UTF-8): Wtyczka do Cacti - realtime
98e4384c
JK
7Name: cacti-plugin-%{plugin}
8Version: 0.5_2
9Release: 1
10License: GPL v2
11Group: Applications/WWW
96ce2bc1 12Source0: http://docs.cacti.net/_media/plugin:%{plugin}-v%{ver}.tgz
98e4384c
JK
13# Source0-md5: 94562c20ab4784c27a1463028886b313
14URL: http://docs.cacti.net/plugin:realtime
15BuildRequires: rpm-php-pearprov >= 4.4.2-11
16Requires: cacti
17Requires: cacti(pia) >= 2.8
18Requires: php(core) >= %{php_min_version}
92a6b75a
ER
19Requires: php(date)
20Requires: php(pcre)
21Requires: php(session)
98e4384c
JK
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%define cactidir /usr/share/cacti
26%define plugindir %{cactidir}/plugins/%{plugin}
27
28%description
29Provides a method to view Cacti graphs with a resolution of upto 5
b83a3c6c 30seconds.
98e4384c
JK
31
32Allows Syncronization between windows. Dynamically sizes viewing
33window based upon graph size. Uses Ajax for Graph generation.
34
35%prep
36%setup -qc
37mv %{plugin}/{LICENSE,README} .
38
39%install
40rm -rf $RPM_BUILD_ROOT
41install -d $RPM_BUILD_ROOT%{plugindir}
42cp -a %{plugin}/* $RPM_BUILD_ROOT%{plugindir}
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
49%doc README
50%{plugindir}
This page took 0.173737 seconds and 4 git commands to generate.