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