%global gem_name jekyll-asciidoc Name: rubygem-%{gem_name} Version: 3.0.0 Release: 6%{?dist} Summary: Jekyll plugin for using AsciiDoc sources with Asciidoctor License: MIT URL: https://github.com/asciidoctor/jekyll-asciidoc Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 1.9.3 BuildArch: noarch %description A Jekyll plugin that converts the AsciiDoc source files in your site to HTML pages using Asciidoctor. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %autosetup -n %{gem_name}-%{version} -p1 %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.adoc %dir %{gem_instdir} %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.adoc %doc %{gem_instdir}/README.adoc %doc %{gem_instdir}/jekyll-asciidoc.gemspec %exclude %{gem_instdir}/.yardopts %{gem_instdir}/Gemfile %changelog * Fri Jan 21 2022 Fedora Release Engineering - 3.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 3.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 3.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 3.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 3.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Sep 13 2019 Fabio Valentini - 3.0.0-1 - Update to version 3.0.0. - Temporarily drop test suite. * Fri Jul 26 2019 Fedora Release Engineering - 2.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 2.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Nov 13 2018 Fabio Valentini - 2.1.1-1 - Update to version 2.1.1. * Mon Oct 01 2018 Fabio Valentini - 2.1.0-1 - Initial package