1 Summary: Cacti is a php frontend for rrdtool
2 Summary(pl): Cacti - frontend w PHP do rrdtoola
7 Group: Applications/WWW
8 Source0: http://www.raxnet.net/downloads/%{name}-%{version}.tar.gz
9 # Source0-md5: d87613690e82e025412de6d747b0674e
10 #Patch0: %{name}-%{version}-paths.patch.bz2
11 URL: http://www.raxnet.net/
14 Requires: libnet-snmp50
16 Requires: net-snmp-utils
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 %define webadminroot /home/services/httpd
29 Cacti is a complete frondend to rrdtool, it stores all of the
30 nessesary information to create graphs and populate them with data in
33 The frontend is completely PHP driven. Along with being able to
34 maintain Graphs, Data Sources, and Round Robin Archives in a database,
35 cacti handles the data gathering also. There is also SNMP support for
36 those used to creating traffic graphs with MRTG.
39 Cacti to pe³ny frontent do rrdtoola, zapamiêtuj±cy wszystkie
40 informacje potrzebne do tworzenia wykresów i wype³niaj±ce je danymi w
43 Frontend jest w pe³ni oparty na PHP. Oprócz zarz±dzania wykresami,
44 ¼ród³ami danych, archiwami Round Robin w bazie danych, cacti obs³uguje
45 tak¿e gromadzenie danych. Ma tak¿e obs³ugê SNMP przydatn± przy
46 tworzeniu wykresów ruchu przy u¿yciu MRTG.
54 for i in `find . -type d -name CVS` `find . -type f -name .cvs\*` `find . -type f -name .#\*`; do
55 if [ -e "$i" ]; then rm -r $i; fi >&/dev/null
59 find . -type d | xargs chmod 755
62 find . -type f | xargs chmod 644
65 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT%{webadminroot}/%{name}
68 cp -aRf * $RPM_BUILD_ROOT%{webadminroot}/%{name}/
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(644,root,root,755)
75 %doc docs/CHANGELOG docs/CONTRIB docs/README
76 %dir %{webadminroot}/%{name}
77 %config(noreplace) %verify(not size mtime md5) %attr(644,http,http) %{webadminroot}/%{name}/log/rrd.log
78 %config(noreplace) %verify(not size mtime md5) %{webadminroot}/%{name}/rra/.placeholder
79 %config(noreplace) %verify(not size mtime md5) %attr(644,http,http) %{webadminroot}/%{name}/include/config.php
80 %{webadminroot}/%{name}/*