# Generated from octopress-image-caption-tag-0.9.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name octopress-image-caption-tag Name: rubygem-%{gem_name} Version: 0.9.1 Release: 1%{?dist} Summary: A tag to create images with pretty captions for Jekyll and Octopress blogs License: MIT URL: https://github.com/eToThePiIPower/octopress-image-caption-tag Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(clash) >= 2.2 # BuildRequires: rubygem(clash) < 3 # BuildRequires: rubygem(rubocop) # BuildRequires: rubygem(rubocop) < 1 # BuildRequires: rubygem(pry-byebug) >= 3.3 # BuildRequires: rubygem(pry-byebug) < 4 BuildArch: noarch %description Octopress Image Caption Tag is a major expansion on the feature set of Octopress Image Tag, adding support to Jekyll and Octopress for rich image figures with figcaptions. There are both tag and a new block version provided, with the block version allowing for full markdown foratting within the captions for your images. Figures and images can be sized based on css classes, or absolutely in either pxs or ems. %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} %license %{gem_instdir}/LICENSE.txt %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/README.md %changelog * Tue Apr 19 2022 mockbuilder - 0.9.1-1 - Initial package