Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37570153
en ru br
Репозитории ALT

Группа :: Разработка/Ruby
Пакет: gem-polyglot

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin