%{?scl:%scl_package rubygem-%{gem_name}} %{!?scl:%global pkg_name %{name}} %global gem_name rabl Summary: General ruby templating with json, bson, xml and msgpack support Name: %{?scl_prefix}rubygem-%{gem_name} Version: 0.13.1 Release: 1%{?dist} Group: Development/Languages License: MIT URL: https://github.com/nesquena/rabl Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Requires: %{?scl_prefix_ruby}rubygems Requires: %{?scl_prefix_ror}rubygem(activesupport) >= 2.3.14 Requires: %{?scl_prefix_ruby}ruby(release) BuildRequires: %{?scl_prefix_ruby}rubygems-devel BuildRequires: %{?scl_prefix_ruby}rubygems BuildArch: noarch Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version} %{?scl:Obsoletes: ruby193-rubygem-%{gem_name}} %description RABL (Ruby API Builder Language) is a Rails and Padrino ruby templating system for generating JSON, XML, MessagePack, PList and BSON. %package doc BuildArch: noarch Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release} %{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc} Summary: Documentation for rubygem-%{gem_name} %description doc This package contains documentation for rubygem-%{gem_name}. %prep %{?scl:scl enable %{scl} "} gem unpack %{SOURCE0} %{?scl:"} %setup -q -D -T -n %{gem_name}-%{version} %{?scl:scl enable %{scl} "} gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec %{?scl:"} %build mkdir -p .%{gem_dir} %{?scl:scl enable %{scl} "} # Create the gem as gem install only works on a gem file %{?scl:"} %{?scl:scl enable %{scl} "} gem build %{gem_name}.gemspec %{?scl:"} %{?scl:scl enable %{scl} - < 0.13.1-1 - Bump rubygem-rabl to 0.13.1 (ericdhelms@gmail.com) - Use HTTPS URLs for github and rubygems (ewoud@kohlvanwijngaarden.nl) - Switch to using gem_install macro (ericdhelms@gmail.com) * Thu Apr 21 2016 Dominic Cleal 0.12.0-2 - Rebuild tfm against sclo-ror42 (dominic@cleal.org) * Fri Feb 26 2016 Dominic Cleal 0.12.0-1 - Update rabl to 0.12.0 (dominic@cleal.org) * Tue Dec 22 2015 Dominic Cleal 0.11.6-3 - Update dependencies to ror SCL (dcleal@redhat.com) - Replace ruby(abi) for ruby22 rebuild (dcleal@redhat.com) * Tue Aug 25 2015 Dominic Cleal 0.11.6-2 - Converted to tfm SCL (dcleal@redhat.com) * Wed Jul 15 2015 Walden Raines 0.11.6-1 - Update rabl to 0.11.6 (walden@redhat.com) * Tue Nov 25 2014 Dominic Cleal 0.11.4-1 - Update rabl to 0.11.4 (dcleal@redhat.com) * Wed Jan 22 2014 Justin Sherrill 0.9.0-1 - upgrading to new rabl version 0.9.0 (jsherril@redhat.com) * Thu Jul 04 2013 Dominic Cleal 0.7.6-5 - change ruby(abi) to ruby(release) for F19+ (dcleal@redhat.com) - delete all zero sized tito.props (msuchy@redhat.com) - with recent tito you do not need SCL meta package (msuchy@redhat.com) * Wed Mar 13 2013 Miroslav Suchý 0.7.6-3 - new package built with tito * Thu Nov 15 2012 Martin Bačovský 0.7.6-2 - Updated to 0.7.6 (mbacovsk@redhat.com) * Mon Aug 20 2012 Ivan Necas 0.7.1-1 - initial package