]> git.pld-linux.org Git - packages/cacti.git/blob - cacti.spec
- /home/services -> /srv
[packages/cacti.git] / cacti.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Cacti is a php frontend for rrdtool
3 Summary(pl):    Cacti - frontend w PHP do rrdtoola
4 Name:           cacti
5 Version:        0.8.4
6 Release:        2
7 License:        GPL
8 Group:          Applications/WWW
9 Source0:        http://www.raxnet.net/downloads/%{name}-%{version}.tar.gz
10 # Source0-md5:  afa100acd57db792dd65f4443268a64d
11 URL:            http://www.raxnet.net/
12 BuildRequires:  rpm-perlprov
13 Requires:       mysql
14 Requires:       net-snmp-utils
15 Requires:       net-snmp
16 Requires:       php
17 Requires:       php-gd
18 Requires:       php-mysql
19 Requires:       php-pcre
20 Requires:       php-snmp
21 Requires:       php-xml
22 Requires:       rrdtool
23 Requires:       webserver
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %define         webadminroot /srv/httpd
28
29 %description
30 Cacti is a complete frondend to rrdtool, it stores all of the
31 nessesary information to create graphs and populate them with data in
32 a MySQL database.
33
34 The frontend is completely PHP driven. Along with being able to
35 maintain Graphs, Data Sources, and Round Robin Archives in a database,
36 cacti handles the data gathering also. There is also SNMP support for
37 those used to creating traffic graphs with MRTG.
38
39 %description -l pl
40 Cacti to pe³ny frontent do rrdtoola, zapamiêtuj±cy wszystkie
41 informacje potrzebne do tworzenia wykresów i wype³niaj±ce je danymi w
42 bazie MySQL.
43
44 Frontend jest w pe³ni oparty na PHP. Oprócz zarz±dzania wykresami,
45 ¼ród³ami danych, archiwami Round Robin w bazie danych, cacti obs³uguje
46 tak¿e gromadzenie danych. Ma tak¿e obs³ugê SNMP przydatn± przy
47 tworzeniu wykresów ruchu przy u¿yciu MRTG.
48
49 %prep
50 %setup -q
51
52 %build
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{webadminroot}/%{name}
57
58 cp -aRf * $RPM_BUILD_ROOT%{webadminroot}/%{name}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc docs/CHANGELOG docs/CONTRIB docs/README
66 %dir %{webadminroot}/%{name}
67 %config(noreplace) %verify(not size mtime md5) %attr(644,http,http) %{webadminroot}/%{name}/log/rrd.log
68 %config(noreplace) %verify(not size mtime md5) %{webadminroot}/%{name}/rra/.placeholder
69 %config(noreplace) %verify(not size mtime md5) %attr(644,http,http) %{webadminroot}/%{name}/include/config.php
70 %{webadminroot}/%{name}/*
This page took 0.038775 seconds and 4 git commands to generate.