File rubygem-daemons.spec of Package rubygem-daemons
#
# spec file for package rubygem-daemons (Version 1.0.10)
#
# Copyright (c) 2007-2008 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.10
Release: 0
%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/34222/daemons-1.0.10.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 --local --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