]> git.pld-linux.org Git - packages/freepbx.git/blame - freepbx.spec
- cosmetics
[packages/freepbx.git] / freepbx.spec
CommitLineData
ba69b208 1Summary: FreePBX - Asterisk Management Portal (AMP)
7c4fe11f 2Summary(pl): FreePBX - interfejs WWW do Asteriska
ba69b208
MWP
3Name: freepbx
4Version: 2.0.1
5Release: 0.1
6License: GPL v2
7Group: Applications
8Source0: http://dl.sourceforge.net/amportal/%{name}-%{version}.tar.gz
9# Source0-md5: aa100b6928a3e1a61603fb969485381a
10URL: http://www.coalescentsystems.ca/
11Requires: php-program
12Requires: php-pear-DB
13Requires: php-pcre
14Requires: libxml2
15Requires: libtiff
16Requires: lame
17
18#Requires: httpd
19#Requires: Apache2
20#Requires: mysql-client
21#Requires: mysql
22
23Requires: php-mysql
24Requires: php-gettext
25Requires: php-posix
26Requires: php-gd
27Requires: openssl
28Requires: perl
29Requires: perl-CPAN
30Requires: bison
31Requires: ncurses
32Requires: audiofile
33Requires: curl
34Requires: sox
35Requires: perl-Net-Telnet
36Requires: perl-IPC-Signal
37Requires: perl-Proc-WaitStat
38Requires: asterisk-perl
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%description
42Coalescent Systems Inc. launched the freePBX (formerly Asterisk
43Management Portal) project to bring together best-of-breed
44applications to produce a standardized implementation of Asterisk
45complete with web-based administrative interface.
46
47%description -l pl
48
49%prep
50%setup -q
51#%patch0 -p1
52# undos the source
53#find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
54
55%build
56
57%install
58rm -rf $RPM_BUILD_ROOT
59
60install -d $RPM_BUILD_ROOT
61install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/{cgi-bin,agi-bin,astetc,bin,htdocs,htdocs_panel,mohmp3,sbin,sounds}
62install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/{_asterisk,admin,recordings}
63
64cd ./amp_conf
65cp -R htdocs/* $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs
66install cgi-bin/* $RPM_BUILD_ROOT%{_datadir}/%{name}/cgi-bin
67install agi-bin/* $RPM_BUILD_ROOT%{_datadir}/%{name}/agi-bin
68install bin/* $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
69install mohmp3/* $RPM_BUILD_ROOT%{_datadir}/%{name}/mohmp3
70install sounds/* $RPM_BUILD_ROOT%{_datadir}/%{name}/sounds
71
72#TODO
73#htdocs_panel
74#sbin
75#astetc
76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80
81%files
82%defattr(644,root,root,755)
83#%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
84#%%dir %{_sysconfdir}
85#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
86#%attr(755,root,root) %{_bindir}/*
87#%{_datadir}/%{name}
This page took 0.05766 seconds and 4 git commands to generate.