Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37910541
en ru br
ALT Linux repositórios
5.0: 1.0.10-alt1

Group :: Desenvolvimento/Ruby
RPM: ruby-daemons

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# vim: set ft=spec: -*- rpm-spec -*-

%define pkgname daemons

Name: ruby-%pkgname
Version: 1.0.10
Release: alt1

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 at 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: rpm-build-ruby ruby-module-etc ruby-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
cp %_datadir/ruby-setup/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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009