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