Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37653112
en ru br
ALT Linux repos
S:0.3.5-alt2

Group :: Development/Ruby
RPM: gem-polyglot

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define        gemname polyglot

Name:          gem-polyglot
Version:       0.3.5
Release:       alt2
Summary:       Augment 'require' to load non-ruby file types
License:       MIT
Group:         Development/Ruby
Url:           https://github.com/cjheath/polyglot
Vcs:           https://github.com/cjheath/polyglot.git
Packager:      Andrey Cherepanov <cas at altlinux.org>
BuildArch:     noarch

Source:        %name-%version.tar
BuildRequires(pre): rpm-build-ruby

%add_findreq_skiplist %ruby_gemslibdir/**/*
%add_findprov_skiplist %ruby_gemslibdir/**/*
%ruby_ignore_names fixtures
Obsoletes:     ruby-polyglot < %EVR
Provides:      ruby-polyglot = %EVR
Provides:      gem(polyglot) = 0.3.5


%description
The Polyglot library allows a Ruby module to register a loader for the file type
associated with a filename extension, and it augments 'require' to find and load
matching files.

This supports the creation of DSLs having a syntax that is most appropriate to
their purpose, instead of abusing the Ruby syntax.


%package       -n gem-polyglot-doc
Version:       0.3.5
Release:       alt2
Summary:       Augment 'require' to load non-ruby file types documentation files
Summary(ru_RU.UTF-8): Файлы сведений для самоцвета polyglot
Group:         Development/Documentation
BuildArch:     noarch

Requires:      gem(polyglot) = 0.3.5

%description   -n gem-polyglot-doc
Augment 'require' to load non-ruby file types documentation files.

The Polyglot library allows a Ruby module to register a loader for the file type
associated with a filename extension, and it augments 'require' to find and load
matching files.

This supports the creation of DSLs having a syntax that is most appropriate to
their purpose, instead of abusing the Ruby syntax.

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


%prep
%setup

%build
%ruby_build

%install
%ruby_install

%check
%ruby_test

%files
%doc README.txt
%ruby_gemspec
%ruby_gemlibdir

%files         -n gem-polyglot-doc
%doc README.txt
%ruby_gemdocdir


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin