Author: hunter Date: Tue Feb 22 23:04:15 2005 GMT Module: SPECS Tag: HEAD ---- Log message: -nyf.
---- Files affected: SPECS: pbx.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/pbx.spec diff -u /dev/null SPECS/pbx.spec:1.1 --- /dev/null Wed Feb 23 00:04:15 2005 +++ SPECS/pbx.spec Wed Feb 23 00:04:09 2005 @@ -0,0 +1,97 @@ +# $Revision$, $Date$ +# +# +Summary: Phone billing system +Summary(pl): System bilingowy połączeń telefonicznych. +Name: pbx +Version: 20050222 +Release: 0.1 +License: GPL v2 +Group: Applications/Communications +#Icon: - +Source0: http://duch.mimuw.edu.pl/~hunter/%{name}-%{version}.tar.gz +# Source0-md5: df997f519b7088b327aa612ef12e0fdb +#Patch0: %{name}-what.patch +URL: http://pbx.sf.net +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Pbx Accounting / Billing is a call accounting/billing software which +uses SMDR (Station Message Detailed Recording) facility from modern +phone centrals. + +The billing part of that package is written in PHP and can calculate +call cost based on a set of "cost configuration parameters": +currencies, cos, time (on-peak,off-peak), dialed number, etc. + +%description -l pl +Pbx jest systemem księgowania bilingowania połączeń telefonicznych. +Wykorzystuje on funkcję SMDR (Station Message Detailed Recording) którą +posiadają wszystkie współczesne centrale telefoniczne. + +System bilingowo-prezentacyjny wykonany jest w PHP. + +%package php +Summary: Phone billing system +Summary(pl): System bilingowy połączeń telefonicznych. +Group: Applications/Communications + +%description php +This is php part of PBX. + +%description php -l pl +To jest część systemu PBX używająca PHP. + +%prep +%setup -q -n %{name} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_sysconfdir}/rc.d/init.d/pbx,%{_datadir}/pbx/{css,img,tpl}} +install util/pbx $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/pbx +install html/css/styles.css $RPM_BUILD_ROOT%{_datadir}/pbx/css/styles.css +install html/img/*.gif $RPM_BUILD_ROOT%{_datadir}/pbx/img/ +install html/tpl/*.tpl $RPM_BUILD_ROOT%{_datadir}/pbx/tpl/ +install html/*.php $RPM_BUILD_ROOT%{_datadir}/pbx/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%pre + +%post + +%preun + +%postun + +%files +%defattr(644,root,root,755) +%doc ChangeLog README TODO +%doc docs/* + +# if _sysconfdir != /etc: +#%%dir %{_sysconfdir} +%attr(755,root,root) %{_bindir}/* + +%{_datadir}/%{name} + +# initscript and it's config +%attr(754,root,root) /etc/rc.d/init.d/%{name} +%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} + +%files php +%defattr(644,root,root,755) +#%{_datadir}/%{name}-e + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2005/02/22 23:04:09 hunter +-nyf. + + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
