Пакет ruby1.8-daemons: Specfile
# vim: set ft=spec: -*- rpm-spec -*- %define ruby_major 1.8 %define pkgname daemons Name: ruby%{ruby_major}-%pkgname Version: 1.1.0 Release: alt2 Summary: A toolkit to create and control daemons in different ways Group: Development/Ruby License: MIT Url: http://rubyforge.org/projects/daemons/ Packager: Ruby Maintainers Team <ruby@packages.altlinux.org> BuildArch: noarch Source: %pkgname-%version.tar Patch: %pkgname-%version-%release.patch # Automatically added by buildreq on Wed Aug 27 2008 (-bi) BuildRequires: ruby%{ruby_major} rpm-build-ruby ruby%{ruby_major}-tool-rdoc ruby-tool-setup %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. You can also call blocks as daemons and control them from the parent or just daemonize the current process. 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. %package doc Summary: Documentation files for %name Group: Documentation %description doc Documentation files for %name %prep %setup -q -n %pkgname-%version %patch -p1 %update_setup_rb %build %ruby_config %ruby_build %install %ruby_install %rdoc lib/ %files %doc README TODO %ruby_sitelibdir/* %files doc %doc examples %ruby_ri_sitedir/Daemon* %changelog * Thu Apr 28 2011 Timur Aitov <timonbl4@altlinux.org> 1.1.0-alt2 - Rebuild for ruby1.8 * Wed Mar 23 2011 Andriy Stepanov <stanv@altlinux.ru> 1.1.0-alt1 - [1.1.0] * Fri May 15 2009 Alexey I. Froloff <raorn@altlinux.org> 1.0.10-alt2 - Rebuilt with Ruby 1.9 * Wed Aug 27 2008 Sir Raorn <raorn@altlinux.ru> 1.0.10-alt1 - Built for Sisyphus |