2 # - SECURITY: http://securitytracker.com/alerts/2004/Aug/1010961.html
3 %include /usr/lib/rpm/macros.perl
4 Summary: Cacti is a php frontend for rrdtool
5 Summary(pl): Cacti - frontend w PHP do rrdtoola
10 Group: Applications/WWW
11 Source0: http://www.raxnet.net/downloads/%{name}-%{version}.tar.gz
12 # Source0-md5: afa100acd57db792dd65f4443268a64d
13 URL: http://www.raxnet.net/
14 BuildRequires: rpm-perlprov
16 Requires: net-snmp-utils
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 %define webadminroot /srv/httpd
32 Cacti is a complete frondend to rrdtool, it stores all of the
33 nessesary information to create graphs and populate them with data in
36 The frontend is completely PHP driven. Along with being able to
37 maintain Graphs, Data Sources, and Round Robin Archives in a database,
38 cacti handles the data gathering also. There is also SNMP support for
39 those used to creating traffic graphs with MRTG.
42 Cacti to pe³ny frontend do rrdtoola, zapamiêtuj±cy wszystkie
43 informacje potrzebne do tworzenia wykresów i wype³niaj±ce je danymi w
46 Frontend jest w pe³ni oparty na PHP. Oprócz zarz±dzania wykresami,
47 ¼ród³ami danych, archiwami Round Robin w bazie danych, cacti obs³uguje
48 tak¿e gromadzenie danych. Ma tak¿e obs³ugê SNMP przydatn± przy
49 tworzeniu wykresów ruchu przy u¿yciu MRTG.
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{webadminroot}/%{name}
60 cp -aRf * $RPM_BUILD_ROOT%{webadminroot}/%{name}
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
67 %doc docs/CHANGELOG docs/CONTRIB docs/README
68 %dir %{webadminroot}/%{name}
69 %config(noreplace) %verify(not size mtime md5) %attr(644,http,http) %{webadminroot}/%{name}/log/rrd.log
70 %config(noreplace) %verify(not size mtime md5) %{webadminroot}/%{name}/rra/.placeholder
71 %config(noreplace) %verify(not size mtime md5) %attr(644,http,http) %{webadminroot}/%{name}/include/config.php
72 %{webadminroot}/%{name}/*