%global gem_name prawn-manual_builder Name: rubygem-%{gem_name} Version: 0.3.1 Release: 3%{?dist} Summary: A tool for writing manuals for Prawn and Prawn accessories License: GPLv2 or GPLv3 or Ruby URL: https://github.com/prawnpdf/prawn-manual_builder Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 1.9.3 BuildArch: noarch %description A tool for writing manuals for Prawn and Prawn accessories. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %gemspec_add_dep -g coderay ["< 1.3.4"] %gemspec_remove_dep -g coderay ["~> 1.0.7"] %build gem build ../%{gem_name}-%{version}.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %files %dir %{gem_instdir} %license %{gem_instdir}/COPYING %license %{gem_instdir}/GPLv2 %license %{gem_instdir}/GPLv3 %license %{gem_instdir}/LICENSE %{gem_instdir}/data %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/README.md %changelog * Wed Jan 27 2021 Fedora Release Engineering - 0.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 6 2020 Christopher Brown - 0.3.1-1 - Bump to 0.3.1 * Thu Jan 30 2020 Fedora Release Engineering - 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Dec 8 2018 Christopher Brown - 0.3.0-1 - Bump to 0.3.0 * Sat Jul 14 2018 Fedora Release Engineering - 0.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Feb 19 2018 Troy Dawson - 0.2.0-5 - Fix coderay dependencies * Fri Feb 09 2018 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Jun 17 2016 Fabio Alessandro Locati - 0.2.0-1 - Initial package