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