# Generated from jekyll-glossary_tooltip-1.3.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name jekyll-glossary_tooltip Name: rubygem-%{gem_name} Version: 1.3.1 Release: 1%{?dist} Summary: Jekyll plugin providing a glossary liquid tag that will show a tooltip of a term definition in your site License: MIT URL: https://github.com/erikw/jekyll-glossary_tooltip/ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.7 BuildRequires: ruby < 4 BuildArch: noarch %description This plugin simplifies for your readers and you by making it easy to define terms or abbreviations that needs an explanation. Define a common dictionary of terms and their definition in a YAML file. Then inside markdown files you can use the provided glossary liquid tag to insert a tooltip for a defined word from the dictionary. The tooltip will show the term definition on mouse hover. %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} # Run the test suite. popd %files %dir %{gem_instdir} %exclude %{gem_instdir}/.ackrc %{gem_instdir}/.codeclimate.yml %{gem_instdir}/.editorconfig %{gem_instdir}/.github %exclude %{gem_instdir}/.gitignore %exclude %{gem_instdir}/.rubocop.yml %{gem_instdir}/.ruby-version %{gem_instdir}/.simplecov %exclude %{gem_instdir}/.travis.yml %{gem_instdir}/Appraisals %license %{gem_instdir}/LICENSE.txt %{gem_instdir}/SECURITY.md %{gem_instdir}/gemfiles %{gem_instdir}/img %{gem_libdir} %{gem_instdir}/script %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %exclude %{gem_instdir}/.rspec %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/CONTRIBUTING.md %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/jekyll-glossary_tooltip.gemspec %changelog * Tue Aug 24 2021 mockbuilder - 1.3.1-1 - Initial package