Package ruby-fast_gettext: Specfile
%define pkgname fast_gettext Name: ruby-%pkgname Version: 1.1.0 Release: alt1.M80P.2 Summary: GetText but 3.5 x faster, 560 x less memory, simple, clean namespace (7 vs 34) and threadsafe! License: MIT/Ruby Group: Development/Ruby Url: https://github.com/grosser/fast_gettext Packager: Ruby Maintainers Team <ruby@packages.altlinux.org> BuildArch: noarch Source: %pkgname-%version.tar Patch1: alt-gemspec.patch BuildRequires(pre): rpm-build-ruby BuildRequires: ruby-tool-setup %filter_from_requires /^ruby(mathn)$/d %description GetText but 3.5 x faster, 560 x less memory, simple, clean namespace (7 vs 34) and threadsafe! It supports multiple backends (.mo, .po, .yml files, Database(ActiveRecord + any other), Chain, Loggers) and can easily be extended. %package doc Summary: Documentation files for %name Group: Documentation BuildArch: noarch %description doc Documentation files for %{name}. %prep %setup -n %pkgname-%version %patch1 -p1 %update_setup_rb %build %ruby_config %ruby_build %install %ruby_install # Install gemspec export rbVersion=`ruby -e "puts RbConfig::CONFIG[\"ruby_version\"]"` install -Dm 0644 %pkgname.gemspec %buildroot%ruby_libdir/gems/$rbVersion/specifications/%pkgname.gemspec %rdoc lib/ # Remove unnecessary files rm -f %buildroot%ruby_ri_sitedir/{Object/cdesc-Object.ri,cache.ri,created.rid} %check %ruby_test_unit -Ilib:test test %files %doc Readme* %ruby_sitelibdir/* %ruby_libdir/gems/*/specifications/*.gemspec %files doc %ruby_ri_sitedir/* %changelog * Wed Apr 04 2018 Andrey Cherepanov <cas@altlinux.org> 1.1.0-alt1.M80P.2 - Rebuild with Ruby 2.5.1. * Wed Oct 04 2017 Andrey Cherepanov <cas@altlinux.org> 1.1.0-alt1.M80P.1 - Rebuild with Ruby 2.4.2 * Wed May 24 2017 Andrey Cherepanov <cas@altlinux.org> 1.1.0-alt0.M80P.1 - Backport new version to p8 branch * Fri May 19 2017 Andrey Cherepanov <cas@altlinux.org> 1.1.0-alt1 - Initial build in Sisyphus |