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