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

Group :: Desenvolvimento/Ruby
RPM: gem-daemons

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define        gemname daemons

Name:          gem-daemons
Version:       1.4.1
Release:       alt1
Summary:       A toolkit to create and control daemons in different ways
License:       MIT
Group:         Development/Ruby
Url:           https://github.com/thuehlinger/daemons
Vcs:           https://github.com/thuehlinger/daemons.git
Packager:      Ruby Maintainers Team <ruby at packages.altlinux.org>
BuildArch:     noarch

Source:        %name-%version.tar
BuildRequires(pre): rpm-build-ruby
%if_with check
BuildRequires: gem(rake) >= 12.3
BuildRequires: gem(rspec) >= 3.1
BuildRequires: gem(simplecov) >= 0
BuildRequires: gem(pry-byebug) >= 3.0
BuildConflicts: gem(rspec) >= 4
BuildConflicts: gem(simplecov) >= 1
BuildConflicts: gem(pry-byebug) >= 4
%endif

%add_findreq_skiplist %ruby_gemslibdir/**/*
%add_findprov_skiplist %ruby_gemslibdir/**/*
%ruby_use_gem_dependency rake >= 13.0.1,rake < 14
Obsoletes:     ruby-daemons < %EVR
Provides:      ruby-daemons = %EVR
Provides:      gem(daemons) = 1.4.1


%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       -n gem-daemons-doc
Version:       1.4.1
Release:       alt1
Summary:       A toolkit to create and control daemons in different ways documentation files
Summary(ru_RU.UTF-8): Файлы сведений для самоцвета daemons
Group:         Development/Documentation
BuildArch:     noarch

Requires:      gem(daemons) = 1.4.1

%description   -n gem-daemons-doc
A toolkit to create and control daemons in different ways documentation
files.

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.

%description   -n gem-daemons-doc -l ru_RU.UTF-8
Файлы сведений для самоцвета daemons.


%package       -n gem-daemons-devel
Version:       1.4.1
Release:       alt1
Summary:       A toolkit to create and control daemons in different ways development package
Summary(ru_RU.UTF-8): Файлы для разработки самоцвета daemons
Group:         Development/Ruby
BuildArch:     noarch

Requires:      gem(daemons) = 1.4.1
Requires:      gem(rake) >= 12.3
Requires:      gem(rspec) >= 3.1
Requires:      gem(simplecov) >= 0
Requires:      gem(pry-byebug) >= 3.0
Conflicts:     gem(rspec) >= 4
Conflicts:     gem(simplecov) >= 1
Conflicts:     gem(pry-byebug) >= 4

%description   -n gem-daemons-devel
A toolkit to create and control daemons in different ways development
package.

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.

%description   -n gem-daemons-devel -l ru_RU.UTF-8
Файлы для разработки самоцвета daemons.


%prep
%setup

%build
%ruby_build

%install
%ruby_install

%check
%ruby_test

%files
%doc README.md
%ruby_gemspec
%ruby_gemlibdir

%files         -n gem-daemons-doc
%doc README.md
%ruby_gemdocdir

%files         -n gem-daemons-devel
%doc README.md


%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