Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rkwasny:erp5
zope-TimerService
zope-TimerService.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zope-TimerService.spec of Package zope-TimerService
%define product TimerService %define version 0.3 %define release 4 %define zope_home %{_prefix}/lib/zope %define software_home %{zope_home}/lib/python Summary: Timer server for Zope Name: zope-%{product} Version: %{version} Release: %{release} License: GPL Group: System/Servers URL: http://www.erp5.org Source0: %{product}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir BuildArch: noarch Conflicts: TimerService Requires: zope #---------------------------------------------------------------------- %description TimerService provides to Zope objects the ability to subsribe to timer events. This can be useful for any object which has to process tasks at regular interval in background. TimerService is a low level implementation. It is used by ZopeScheduler. It is also used by ERP5 and CMFActivity for cluster management. #---------------------------------------------------------------------- %define python_home %{_libdir}/python/site-packages %prep %setup -c %build #cd %{product}/timerserver #python setup.py build %install %{__rm} -rf %{buildroot} %{__mkdir_p} %{buildroot}/%{software_home}/Products %{__cp} -a * %{buildroot}%{software_home}/Products/ %{__mkdir_p} %{buildroot}/%{python_home} mv -f %{buildroot}%{software_home}/Products/%{product}/timerserver %{buildroot}/%{python_home} %clean %{__rm} -rf %{buildroot} %post # Configure the zope server to make ot aware of the timerserver grep 'timer-server' /etc/zope.conf 2>&1 > /dev/null || echo " # The Timer Server replace the ERP5 "zope_tic_loop" script %import timerserver <timer-server> interval 5 </timer-server> " >> /etc/zope.conf # Restart zope server if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then service zope restart fi %postun if [ -f "%{_prefix}/bin/zopectl" ] && [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then service zope restart fi %files %defattr(0644, zope, zope, 0755) %doc %{product}/INSTALL.txt %{product}/CREDITS.txt %{product}/VERSION.txt %{python_home}/timerserver %{software_home}/Products/* #---------------------------------------------------------------------- %changelog * Mon Jan 22 2007 Kevin Deldycke <kevin@nexedi.com> 0.3-4mdv2007.0 - Rebuild for Mandriva 2007.0 * Tue Jan 09 2007 Kevin Deldycke <kevin@nexedi.com> 0.3-3mdk - New build from the SVN repository (SVN rev: 11944; last changed rev: 11940) * Tue Jan 09 2007 Kevin Deldycke <kevin@nexedi.com> 0.3-2mdk - New build from the SVN repository (SVN rev: 11944; last changed rev: 11940) * Mon Jan 08 2007 Kevin Deldycke <kevin@nexedi.com> 0.3-1mdk - New build from the SVN repository * Tue Nov 14 2006 Kevin Deldycke <kevin@nexedi.com> 0.2-9mdk - Only add timer service config to zope.conf once. * Mon Oct 02 2006 Kevin Deldycke <kevin@nexedi.com> 0.2-8mdk - Add a new patch from Jerome (see http://svn.erp5.org?rev=10468&view=rev for details): - make TimerService.process_timer public to shut up VerboseSecurity messages, - use finally to release the lock in TimerService.process_timer, - reraise all exceptions from suscriber.process_timer. - Fix patch paths. * Wed Aug 16 2006 Kevin Deldycke <kevin@nexedi.com> 0.2-7mdk - Add a new patch. See http://svn.erp5.org/?rev=9230&view=rev for details * Mon Jun 19 2006 Kevin Deldycke <kevin@nexedi.com> 0.2-6mdk - Add a new patch. See http://svn.erp5.org/?rev=8067&view=rev for details * Mon Mar 06 2006 Kevin Deldycke <kevin@nexedi.com> 0.2-5mdk - Integrate new patch (see http://dev.legco.biz/forums/products/zopescheduler/0003/ for more details) * Wed Feb 01 2006 Kevin Deldycke <kevin@nexedi.com> 0.2-4mdk - Give ownership to zope * Mon Jan 30 2006 Kevin Deldycke <kevin@nexedi.com> 0.2-3mdk - Apply Klaus' patch: it seems it make zope starting in a better way * Mon Jan 23 2006 Kevin Deldycke <kevin@nexedi.com> 0.2-2mdk - Update the description - Set the default interval to 5 seconds - Include Klaus' patch in the SRPM archive but don't apply it * Wed Jan 18 2006 Kevin Deldycke <kevin@nexedi.com> 0.2-1mdk - Initial release
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor