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