# Generated from prolog-services-markdown_to_html-1.0.3.gem by gem2rpm -*- rpm-spec -*- %global gem_name prolog-services-markdown_to_html Name: rubygem-%{gem_name} Version: 1.0.3 Release: 1%{?dist} Summary: Converts Markdown content to HTML with minimal whitespace License: MIT URL: https://github.com/theprolog/prolog-services-markdown_to_html Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(minitest) >= 5.11.3 # BuildRequires: rubygem(minitest-matchers) >= 1.4 # BuildRequires: rubygem(minitest-matchers) < 2 # BuildRequires: rubygem(minitest-reporters) >= 1.0 # BuildRequires: rubygem(minitest-reporters) < 2 # BuildRequires: rubygem(minitest-tagz) >= 1.2 # BuildRequires: rubygem(minitest-tagz) < 2 # BuildRequires: rubygem(flay) >= 2.6 # BuildRequires: rubygem(flay) < 3 # BuildRequires: rubygem(flog) >= 4 # BuildRequires: rubygem(flog) < 5 # BuildRequires: rubygem(flog) >= 4.4.0 # BuildRequires: rubygem(reek) >= 4.0 # BuildRequires: rubygem(reek) < 5 # BuildRequires: rubygem(rubocop) = 0.55.0 # BuildRequires: rubygem(simplecov) >= 0.10 # BuildRequires: rubygem(simplecov) < 1 # BuildRequires: rubygem(pry-byebug) >= 3.4 # BuildRequires: rubygem(pry-byebug) < 4 # BuildRequires: rubygem(pry-doc) >= 0.8 # BuildRequires: rubygem(pry-doc) < 1 # BuildRequires: rubygem(colorize) >= 0.7 # BuildRequires: rubygem(colorize) < 1 # BuildRequires: rubygem(colorize) >= 0.7.7 # BuildRequires: rubygem(awesome_print) >= 1.6 # BuildRequires: rubygem(awesome_print) < 2 # BuildRequires: rubygem(awesome_print) >= 1.6.1 BuildArch: noarch %description The Prolog::Services::MarkdownToHtml class converts valid Markdown to valid HTML (as well-formed XML; i.e., void element tags such as
are always properly closed). The resulting HTML is rendered as a single line of text with all unnecessary whitespace removed. %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 # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.gemspec # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir # by default, so that we can move it into the buildroot in %%install %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} # ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' popd %files %dir %{gem_instdir} %exclude %{gem_instdir}/.gitignore %exclude %{gem_instdir}/.rubocop.yml %exclude %{gem_instdir}/.travis.yml %{gem_instdir}/CODE_OF_CONDUCT.md %license %{gem_instdir}/LICENSE.txt %{gem_instdir}/bin %{gem_instdir}/config.reek %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %{gem_instdir}/Gemfile %{gem_instdir}/Gemfile.lock %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/prolog-services-markdown_to_html.gemspec %changelog * Tue Sep 14 2021 mockbuilder - 1.0.3-1 - Initial package