%{!?_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}} %global gem_name colorator Name: rubygem-%{gem_name} Version: 1.1.0 Release: 18%{?dist} Summary: Colorize your text in the terminal License: MIT URL: https://github.com/octopress/%{gem_name} Source0: https://rubygems.org/downloads/%{gem_name}-%{version}.gem BuildArch: noarch BuildRequires: rubygems-devel %description Colorize your text in the terminal. There are a bunch of gems that provide functionality like this, but none have as simple an API as this. Just call "string".color and your text will be colorized. %package doc Summary: Documentation files for %{name} %description doc This package contains the documentation files for %{name}. %prep %{__rm} -rf %{gem_name}-%{version} %{_bindir}/gem unpack %{SOURCE0} %setup -DTqn %{gem_name}-%{version} %{_bindir}/gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec %build %{_bindir}/gem build %{gem_name}.gemspec %gem_install %install %{__mkdir} -p %{buildroot}%{gem_dir} %{__cp} -a ./%{gem_dir}/* %{buildroot}%{gem_dir} %{__rm} -f %{buildroot}%{gem_instdir}/{*.gemspec,*.markdown,LICENSE,Rakefile} %files %exclude %{gem_cache} %license LICENSE %doc History.markdown README.markdown %{gem_instdir} %{gem_spec} %files doc %doc %{_pkgdocdir} %doc %{gem_docdir} %changelog * Fri Jul 19 2024 Fedora Release Engineering - 1.1.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 1.1.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.1.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.1.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 1.1.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.1.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.1.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.1.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Aug 23 2016 Björn Esser - 1.1.0-1 - initial import (#1368844) * Sun Aug 21 2016 Björn Esser - 1.1.0-0.1 - initial rpm-release (#1368844)