%{?scl:%scl_package rubygem-%{gem_name}} %{!?scl:%global pkg_name %{name}} %global gem_name trollop Summary: A command-line option parsing library for ruby Name: %{?scl_prefix}rubygem-%{gem_name} Version: 2.1.2 Release: 2%{?dist} Group: Applications/Productivity License: MIT URL: http://trollop.rubyforge.org/ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Requires: %{?scl_prefix_ruby}ruby(release) Requires: %{?scl_prefix_ruby}ruby Requires: %{?scl_prefix_ruby}ruby(rubygems) BuildRequires: %{?scl_prefix_ruby}ruby(release) BuildRequires: %{?scl_prefix_ruby}ruby BuildRequires: %{?scl_prefix_ruby}rubygems-devel BuildRequires: %{?scl_prefix}rubygem(hoe) %if 0%{?fedora} BuildRequires: %{?scl_prefix}rubygem(chronic) %endif BuildRequires: %{?scl_prefix_ruby}rubygem(minitest) BuildArch: noarch Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version} %{?scl:Obsoletes: ruby193-rubygem-%{gem_name}} %description Trollop is a commandline option parser for Ruby that just gets out of your way. One line of code per option is all you need to write. For that, you get a nice automatically-generated help page, robust option parsing, command subcompletion, and sensible defaults for everything you don't specify. %package doc Summary: Documentation for %{pkg_name} Group: Documentation Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{pkg_name}. %prep %build %install %{?scl:scl enable %{scl} - < 2.1.2-2 - Final set of rebuilds (ericdhelms@gmail.com) - Use HTTPS URLs for github and rubygems (ewoud@kohlvanwijngaarden.nl) * Wed Oct 19 2016 Dominic Cleal 2.1.2-1 - Update trollop to 2.1, modernise (dominic@cleal.org) * Tue Dec 22 2015 Dominic Cleal 2.0-5 - Replace ruby(abi) for ruby22 rebuild (dcleal@redhat.com) - Fix build errors and modernise specs (dcleal@redhat.com) * Wed Aug 26 2015 Dominic Cleal 2.0-4 - Converted to tfm SCL (dcleal@redhat.com) * Thu Mar 14 2013 Miroslav Suchý 2.0-2 - new package built with tito * Sun Aug 19 2012 Jan Klepek - 2.0-1 - updated to latest release * Sat Jul 21 2012 Fedora Release Engineering - 1.16.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Feb 01 2012 Bohuslav Kabrda - 1.16.2-3 - Rebuilt for Ruby 1.9.3. * Sat Jan 14 2012 Fedora Release Engineering - 1.16.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Mar 10 2011 Jan Klepek - 1.16.2-1 - updated to 1.16.2 * Wed Feb 09 2011 Fedora Release Engineering - 1.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat Oct 3 2009 Jan Klepek - 1.15-1 - update of trollop to 1.15 * Thu Sep 24 2009 Jan Klepek - 1.14-1 - directory ownership fix, license changed to GPLv2, redundant macro removed * Sun Sep 20 2009 Jan Klepek - 1.14-0 - Version update, * Sat Jan 24 2009 Kyle McMartin - 1.10.2-1 - Initial release of trollop.