Author: hunter Date: Wed Feb 23 17:33:48 2005 GMT Module: SPECS Tag: HEAD ---- Log message: -well it builds now.
---- Files affected: SPECS: pbx.spec (1.2 -> 1.3) ---- Diffs: ================================================================ Index: SPECS/pbx.spec diff -u SPECS/pbx.spec:1.2 SPECS/pbx.spec:1.3 --- SPECS/pbx.spec:1.2 Wed Feb 23 00:06:42 2005 +++ SPECS/pbx.spec Wed Feb 23 18:33:42 2005 @@ -10,6 +10,7 @@ Source0: http://duch.mimuw.edu.pl/~hunter/%{name}-%{version}.tar.gz # Source0-md5: df997f519b7088b327aa612ef12e0fdb #Patch0: %{name}-what.patch +Source1: %{name}.sysconfig URL: http://pbx.sf.net BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -47,12 +48,30 @@ %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_sysconfdir}/rc.d/init.d/pbx,%{_datadir}/pbx/{css,img,tpl}} +install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig +install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +install -d $RPM_BUILD_ROOT/var/lib/%{name}/{log,run,scripts} + install util/pbx $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/pbx +install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/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/ +install util/pbx.cron $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}/ +install sql/{user,pbx}.sql $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}/ + +install workerhome/capture.log $RPM_BUILD_ROOT/var/lib/%{name}/ +install workerhome/fix-rights.sh $RPM_BUILD_ROOT/var/lib/%{name}/ +install workerhome/log/execution.log $RPM_BUILD_ROOT/var/lib/%{name}/log/ +install workerhome/log/pbxerr.log $RPM_BUILD_ROOT/var/lib/%{name}/log/ +install workerhome/run/pbx.pid $RPM_BUILD_ROOT/var/lib/%{name}/run/ +install workerhome/scripts/processfile $RPM_BUILD_ROOT/var/lib/%{name}/scripts/ +install workerhome/scripts/sed_script $RPM_BUILD_ROOT/var/lib/%{name}/scripts/ + + %clean rm -rf $RPM_BUILD_ROOT @@ -61,16 +80,14 @@ %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} +%{_examplesdir}/%{name}-%{version} +/var/lib/%{name}/ + %files php %defattr(644,root,root,755) #%{_datadir}/%{name}-e @@ -81,6 +98,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.3 2005/02/23 17:33:42 hunter +-well it builds now. + Revision 1.2 2005/02/22 23:06:42 ankry - some cleaning ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/pbx.spec?r1=1.2&r2=1.3&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
