]> git.pld-linux.org Git - packages/freepbx.git/commitdiff
- init, draft, NFY
authorMichał 'Wolvverine' Panasiewicz <wolvverine@pld-linux.org>
Sat, 13 May 2006 11:28:01 +0000 (11:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    freepbx.spec -> 1.1

freepbx.spec [new file with mode: 0644]

diff --git a/freepbx.spec b/freepbx.spec
new file mode 100644 (file)
index 0000000..5f6e2c5
--- /dev/null
@@ -0,0 +1,87 @@
+Summary:       FreePBX - Asterisk Management Portal (AMP)
+Summary(pl):   FreePBX - Interfejs WWW do Asterisk-a
+Name:          freepbx
+Version:       2.0.1
+Release:       0.1
+License:       GPL v2
+Group:         Applications
+Source0:       http://dl.sourceforge.net/amportal/%{name}-%{version}.tar.gz
+# Source0-md5: aa100b6928a3e1a61603fb969485381a
+URL:           http://www.coalescentsystems.ca/
+Requires:      php-program
+Requires:      php-pear-DB
+Requires:      php-pcre
+Requires:      libxml2
+Requires:      libtiff
+Requires:      lame
+
+#Requires:     httpd
+#Requires:     Apache2
+#Requires:     mysql-client
+#Requires:     mysql
+
+Requires:      php-mysql
+Requires:      php-gettext
+Requires:      php-posix
+Requires:      php-gd
+Requires:      openssl
+Requires:      perl
+Requires:      perl-CPAN
+Requires:      bison
+Requires:      ncurses
+Requires:      audiofile
+Requires:      curl
+Requires:      sox
+Requires:      perl-Net-Telnet
+Requires:      perl-IPC-Signal
+Requires:      perl-Proc-WaitStat
+Requires:      asterisk-perl
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Coalescent Systems Inc. launched the freePBX (formerly Asterisk
+Management Portal) project to bring together best-of-breed
+applications to produce a standardized implementation of Asterisk
+complete with web-based administrative interface.
+
+%description -l pl
+
+%prep
+%setup -q
+#%patch0 -p1
+# undos the source
+#find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/{cgi-bin,agi-bin,astetc,bin,htdocs,htdocs_panel,mohmp3,sbin,sounds}
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/{_asterisk,admin,recordings}
+
+cd ./amp_conf
+cp -R htdocs/* $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs
+install cgi-bin/* $RPM_BUILD_ROOT%{_datadir}/%{name}/cgi-bin
+install agi-bin/* $RPM_BUILD_ROOT%{_datadir}/%{name}/agi-bin
+install bin/*  $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
+install mohmp3/* $RPM_BUILD_ROOT%{_datadir}/%{name}/mohmp3
+install sounds/* $RPM_BUILD_ROOT%{_datadir}/%{name}/sounds
+
+#TODO
+#htdocs_panel
+#sbin
+#astetc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(644,root,root,755)
+#%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+#%%dir %{_sysconfdir}
+#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
+#%attr(755,root,root) %{_bindir}/*
+#%{_datadir}/%{name}
This page took 0.070434 seconds and 4 git commands to generate.