Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
rubygem-daemons
rubygem-daemons.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygem-daemons.spec of Package rubygem-daemons
# # spec file for package rubygem-daemons (Version 1.0.7) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: rubygem-daemons Version: 1.0.7 Release: 1 %define mod_name daemons # Group: Development/Languages/Ruby License: Other uncritical OpenSource License # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: rubygems_with_buildroot_patch Requires: rubygems >= 0.8.11 # URL: http://daemons.rubyforge.org/ # http://rubyforge.org/projects/daemons Source: http://rubyforge.org/frs/download.php/22543/daemons-1.0.7.gem # Summary: Easy way to convert selfwritten servers into daemons %description Daemons provides an easy way to wrap existing ruby scripts (for example a self-written server) to be run as a daemon and to be controlled by simple start/stop/restart commands. If you want, you can also use daemons to run blocks of ruby code in a daemon process and to control these processes from the main application. Besides this basic functionality, daemons offers many advanced features like exception backtracing and logging (in case your ruby script crashes) and monitoring and automatic restarting of your processes if they crash. Daemons includes the daemonize.rb script written by Travis Whitton to do the daemonization process. Authors: -------- Thomas Uehlinger <th.uehlinger@gmx.ch> %prep %build %install gem install --build-root=%{buildroot} %{S:0} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/ %changelog * Sun Aug 05 2007 - mrueckert@suse.de - update to version 1.0.7: * Patch to fix wrong ARGV when using :exec (in def start_exec: Kernel.exec(script(), *(@app_argv || []))) (thanks to Alex McGuire). * Mon May 14 2007 - mrueckert@suse.de - Update to version 1.0.6: * New option to pass an ARGV-style array to run and run_proc (thanks to Marc Evans). * Additional patches for '/var/log' (thanks to Marc Evans). - additional changes from 1.0.5 * Applied patch that makes daemons to use '/var/log' as logfile directory if you use :dir_mode = :system (thanks to Han Holl). * Daemons should now work with Ruby 1.9 (at least the basic features). - additional changes from 1.0.4 * Document the :log_output option (thanks to Andrew Kuklewicz). * Set STDOUT.sync = true when redirecting to a logfile (thanks to Andrew Kuklewicz). * Should now run also correctly when there is no working 'ps ax' on the system (thanks to Daniel Kehoe). - additional changes from 1.0.3 * Set the app_name correctly also for the monitor process (thanks to Ilya Novoselov). * Fri Oct 06 2006 - mrueckert@suse.de - Update to version 1.0.2: o Changed the 'ps -ax' call back to 'ps ax'. o Fixed the documentation for the :normal :dir_mode. o As a default for Daemons.run_proc, the pid file is now saved in the current directory. o In :ontop mode for running a proc (this is equal to calling something like 'ruby ctrl_proc.rb run'), the proc now runs directly in the calling script, not in a forked process anymore (thanks to Paul Butcher). o Set $0 to app_name in the daemons (thanks to Ilya Novoselov). * Wed Aug 30 2006 - mrueckert@suse.de - Update to version 1.0.1: o Fixes regexp to parse "ps ax" * Wed Jun 21 2006 - mrueckert@suse.de - use rubygems_with_buildroot_patch instead of the versioned buildrequires * Mon Jun 19 2006 - mrueckert@suse.de - Initial package version 0.4.4
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