]> git.pld-linux.org Git - packages/cacti-plugin-cycle.git/blob - cacti-plugin-cycle.spec
53f92e734eb7c09725f7038a82bbb43e46e829aa
[packages/cacti-plugin-cycle.git] / cacti-plugin-cycle.spec
1 # TODO
2 # - bundles jquery v1.6.3
3 # - bundles jquery-autocomplete  1.1
4 %define         plugin  cycle
5 %define         php_min_version 5.2.0
6 %include        /usr/lib/rpm/macros.php
7 Summary:        Automatically cycle through cacti graphs
8 Name:           cacti-plugin-%{plugin}
9 Version:        2.0
10 Release:        1
11 License:        GPL v2
12 Group:          Applications/WWW
13 Source0:        http://docs.cacti.net/_media/plugin:%{plugin}-v%{version}-1.tgz
14 # Source0-md5:  a114638444967822e498ca28a81119e9
15 URL:            http://docs.cacti.net/plugin:cycle
16 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
17 BuildRequires:  rpmbuild(macros) >= 1.554
18 Requires:       cacti >= 0.8.7e-8
19 Requires:       cacti(pia) >= 2.0
20 Requires:       php-common >= 4:%{php_min_version}
21 Requires:       php-date
22 Requires:       php-json
23 Requires:       php-pcre
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %define         cactidir                /usr/share/cacti
28 %define         plugindir               %{cactidir}/plugins/%{plugin}
29
30 %description
31 This plugin allows you to automatically view the Cacti graphs one by
32 one after a specified time delay.
33
34 %prep
35 %setup -qc
36 mv %{plugin}/{LICENSE,README} .
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{plugindir}
41 cp -a %{plugin}/* $RPM_BUILD_ROOT%{plugindir}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc README
49 %{plugindir}
This page took 0.058895 seconds and 2 git commands to generate.