%global gem_name minima Name: rubygem-%{gem_name} Version: 2.5.1 Release: 6%{?dist} Summary: Beautiful, minimal theme for Jekyll License: MIT URL: https://github.com/jekyll/minima Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby BuildRequires: rubygems-devel BuildRequires: ruby(release) BuildArch: noarch %description A beautiful, minimal theme for Jekyll. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %build gem build ../%{gem_name}-%{version}.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/ %files %license %{gem_instdir}/LICENSE.txt %dir %{gem_instdir} %{gem_instdir}/_includes %{gem_instdir}/_layouts %{gem_instdir}/_sass %{gem_instdir}/assets %{gem_spec} %exclude %{gem_cache} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/README.md %changelog * Fri Jan 21 2022 Fedora Release Engineering - 2.5.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 2.5.1-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 2.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 2.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Sep 04 2019 Fabio Valentini - 2.5.1-1 - Update to version 2.5.1. * Fri Jul 26 2019 Fedora Release Engineering - 2.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 2.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 2.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Apr 23 2018 Fabio Valentini - 2.5.0-1 - Initial package