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