]> git.pld-linux.org Git - packages/asterisk-stat.git/blame - asterisk-stat.spec
- add db package
[packages/asterisk-stat.git] / asterisk-stat.spec
CommitLineData
456ba9d3
ER
1# TODO
2# - remove jgraph from source
456ba9d3
ER
3# - license
4# - move application config to webapps dir (redefine _sysconfdir to webappdir)
6676cf97
MWP
5
6%define srcversion 2_0_1
6676cf97
MWP
7Summary: Asterisk-Stat: CDR Analyser
8Summary(pl): Asterisk-Stat: Analizator CDR
9Name: asterisk-stat
10Version: 2.0.1
11Release: 0.1
3bddc4aa 12License: ? (contains Freeware, LGPL, QPL parts)
6676cf97 13Group: Applications/WWW
3bddc4aa 14Source0: http://areski.net/asterisk-stat-v2/%{name}-v%{srcversion}.tar.gz
6676cf97 15# Source0-md5: aad3fe2f9826e8d63dfc9bdea2315d4a
96cf5aa6 16Source1: %{name}.conf
6b2388b7
MWP
17Source2: %{name}-config.php
18Patch0: %{name}-config.patch
8fade7ab 19URL: http://areski.net/asterisk-stat-v2/about.php
6676cf97 20BuildRequires: rpm-perlprov
522d8ce0 21Requires: %{name}(DB_Driver) = %{version}-%{release}
3bddc4aa 22Requires: jpgraph
6676cf97
MWP
23Requires: php
24Requires: php-cli
25Requires: php-gd
6676cf97 26Requires: webapps
3bddc4aa 27Requires: webserver
6676cf97
MWP
28BuildArch: noarch
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%define _webapps /etc/webapps
32%define _webapp %{name}
33%define _webappdir %{_webapps}/%{_webapp}
34%define _appdir %{_datadir}/%{_webapp}
35
36%description
8fade7ab
MWP
37Asterisk-Stat is providing different reports & Graph to allow the
38Asterisk-admin to analyse quickly and easily the traffic on their
39Asterisk server. All the graphic & reports are based over the CDR
40database.
6676cf97
MWP
41
42%description -l pl
3bddc4aa
JB
43