]> git.pld-linux.org Git - packages/cacti.git/blob - cacti.spec
- up to 0.8.4
[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:        1
7 License:        GPL
8 Group:          Applications/WWW
9 Source0:        http://www.raxnet.net/downloads/%{name}-%{version}.tar.gz
10 # Source0-md5:  afa100acd57db792dd65f4443268a64d
11 #Patch0:                %{name}-%{version}-paths.patch.bz2
12 URL:            http://www.raxnet.net/
13 BuildRequires:  rpm-perlprov
14 #Requires:      libnet-snmp50
15 Requires:       mysql
16 Requires:       net-snmp-utils
17 Requires:       net-snmp
18 Requires:       php
19 Requires:       php-gd
20 Requires:       php-mysql
21 Requires:       php-pcre
22 Requires:       php-snmp
23 Requires:       php-xml
24 Requires:       rrdtool
25 Requires:       webserver
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %define         webadminroot /home/services/httpd
30
31 %description
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
34 a MySQL database.
35
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.
40
41 %description -l pl
42 Cacti to pe³ny frontent do rrdtoola, zapamiêtuj±cy wszystkie
43 informacje potrzebne do tworzenia wykresów i wype³niaj±ce je danymi w
44 bazie MySQL.
45
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.
50
51 %prep
52 %setup -q
53 #%patch0 -p1
54
55 %build
56 # clean up CVS stuff
57 #for i in `find . -type d -name CVS` `find . -type f -name .cvs\*` `find . -type f -name .#\*`; do
58 #       if [ -e "$i" ]; then rm -r $i; fi >/dev/null 2>&1
59 #done
60
61 # fix dir perms
62 #find . -type d | xargs chmod 755
63
64 # fix file perms
65 #find . -type f | xargs chmod 644
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{webadminroot}/%{name}
70
71 cp -aRf * $RPM_BUILD_ROOT%{webadminroot}/%{name}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc docs/CHANGELOG docs/CONTRIB docs/README
79 %dir %{webadminroot}/%{name}
80 %config(noreplace) %verify(not size mtime md5) %attr(644,http,http) %{webadminroot}/%{name}/log/rrd.log
81 %config(noreplace) %verify(not size mtime md5) %{webadminroot}/%{name}/rra/.placeholder
82 %config(noreplace) %verify(not size mtime md5) %attr(644,http,http) %{webadminroot}/%{name}/include/config.php
83 %{webadminroot}/%{name}/*
This page took 0.031042 seconds and 4 git commands to generate.