]> git.pld-linux.org Git - packages/cacti-plugin-boost.git/blob - cacti-plugin-boost.spec
02c93a9892f45bfe38e7d74dcad67b9e4ac83e9f
[packages/cacti-plugin-boost.git] / cacti-plugin-boost.spec
1 # TODO
2 # - sync pl
3 # - init.d processes
4 %define         plugin boost
5 Summary:        Plugin for Cacti - Boost
6 Summary(pl.UTF-8):      Wtyczka do Cacti - Boost
7 Name:           cacti-plugin-boost
8 Version:        4.3
9 Release:        0.4
10 License:        GPL v2
11 Group:          Applications/WWW
12 Source0:        http://docs.cacti.net/_media/plugin:boost-v%{version}-1.tgz
13 # Source0-md5:  f4df111245fd9c11c5496b36e7971ef6
14 Patch0:         paths.patch
15 URL:            http://docs.cacti.net/plugin:boost
16 BuildRequires:  rpmbuild(macros) >= 1.553
17 Requires:       cacti >= 0.8.7g-6
18 Provides:       cacti(pia) >= 2.8
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         cactidir                /usr/share/cacti
23 %define         plugindir               %{cactidir}/plugins/%{plugin}
24 %define         cachedir                /var/cache/cacti/%{plugin}
25
26 %description
27 Cacti plugin that boosts Cacti performance especially for large sites.
28
29 This plugin boost's Cacti performance especially for Large Sites. It
30 does this by introducing three new features to Cacti.
31
32 First, it caches recently viewed images to a public Cache folder for
33 all users to share.
34
35 Second, it introduces an "on demand" RRD update feaure to Cacti. This
36 feature will only update the RRD files when there is demand on the
37 system to view a graph. The RRD's will be updated just before the
38 Graph is rendered by the web server. Then, on a predetermined
39 schedule, it conducts a batch update's of all remaining RRD's.
40
41 Lastly, it introduces an RRD update service to Cacti. This service
42 allows you to add multiple Cacti servers to your web farm allowing all
43 the servers to participate in the "on demand" RRD update and viewing
44 process.
45
46 %description -l pl.UTF-8
47 Wtyczka Cacti zwiększająca jego wydajność, szczególnie w przypadku
48 dużych serwisów.
49
50 %prep
51 %setup -qc
52 mv boost/* .; rmdir boost
53 %undos -f php
54 %patch0 -p1
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{plugindir},%{cachedir}}
59 cp -a . $RPM_BUILD_ROOT%{plugindir}
60 %{__rm} $RPM_BUILD_ROOT%{plugindir}/{README,LICENSE}
61 %{__rm} $RPM_BUILD_ROOT%{plugindir}/cacti_rrdsvc
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc README
69 %{plugindir}
70 %attr(770,root,http) %dir %{cachedir}
This page took 0.068152 seconds and 3 git commands to generate.