2 # - bundles jquery v1.6.3
3 # - bundles jquery-autocomplete 1.1
5 %define php_min_version 5.2.0
6 Summary: Automatically cycle through cacti graphs
7 Name: cacti-plugin-%{plugin}
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}
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 %define cactidir /usr/share/cacti
27 %define plugindir %{cactidir}/plugins/%{plugin}
30 This plugin allows you to automatically view the Cacti graphs one by
31 one after a specified time delay.
35 mv %{plugin}/{LICENSE,README} .
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{plugindir}
40 cp -a %{plugin}/* $RPM_BUILD_ROOT%{plugindir}
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)