%{?scl:%scl_package rubygem-%{gem_name}} %{!?scl:%global pkg_name %{name}} %global gem_name wirb Summary: Wavy IRB: Colorizes irb results. Name: %{?scl_prefix}rubygem-%{gem_name} Version: 1.0.3 Release: 4%{?dist} Group: Development/Ruby License: MIT URL: https://github.com/janlelis/wirb Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Requires: %{?scl_prefix_ruby}ruby(release) Requires: %{?scl_prefix}rubygem(paint) >= 0.8 Requires: %{?scl_prefix}rubygem(paint) < 1.0 BuildRequires: %{?scl_prefix_ruby}rubygems-devel BuildRequires: %{?scl_prefix_ruby}rubygems Requires: %{?scl_prefix_ruby}rubygems BuildArch: noarch Provides: %{?scl_prefix}rubygem(wirb) = %{version} %{?scl:Obsoletes: ruby193-rubygem-%{gem_name}} %define gembuilddir %{buildroot}%{gem_dir} %description Wavy IRB: Colorizes irb results. It originated from Wirble, but only provides result highlighting. Just call Wirb.start and enjoy the colors in your IRB ;). You can use it with your favorite colorizer engine. See README.rdoc for more details. %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 %setup -n %{pkg_name}-%{version} -T -c %{?scl:scl enable %{scl} - < 1.0.3-4 - Final set of rebuilds (ericdhelms@gmail.com) - Use HTTPS URLs for github and rubygems (ewoud@kohlvanwijngaarden.nl) - Set proper download URLs for rubygems (komidore64@gmail.com) - Switch to using gem_install macro (ericdhelms@gmail.com) * Tue Dec 22 2015 Dominic Cleal 1.0.3-3 - Replace ruby(abi) for ruby22 rebuild (dcleal@redhat.com) * Tue Aug 25 2015 Dominic Cleal 1.0.3-2 - Converted to tfm SCL (dcleal@redhat.com) - Fixes #9703 - change %%{dist} to %%{?dist} (jmontleo@redhat.com) * Mon Nov 24 2014 Dominic Cleal 1.0.3-1 - Update wirb to 1.0.3 (dcleal@redhat.com) - Add full rubygems.org source URL (dcleal@redhat.com) * Thu Jul 04 2013 Dominic Cleal 0.4.2-6 - 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 27 2013 Miroslav Suchý 0.4.2-4 - put correct license in spec (msuchy@redhat.com) * Thu Mar 14 2013 Miroslav Suchý 0.4.2-3 - new package built with tito * Fri Sep 07 2012 Miroslav Suchý 0.4.2-2 - polish the spec (msuchy@redhat.com) * Thu Sep 06 2012 Miroslav Suchý 0.4.2-1 - new package built with tito