summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2021-09-13 19:35:54 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2021-09-13 19:35:54 +0000
commit4992f7822bb35e6860f32c731b0590c28826790e (patch)
tree12a066951fa1b6d2fafc7c97f39f05848e271a94
parentc49953acebf3b057799141ee22186e48207de88c (diff)
automatic import of rubygem-jekyll-index-pagesHEADmaster
-rw-r--r--.gitignore1
-rw-r--r--rubygem-jekyll-index-pages.spec76
-rw-r--r--sources1
3 files changed, 78 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c026e8f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jekyll-index-pages-0.7.1.gem
diff --git a/rubygem-jekyll-index-pages.spec b/rubygem-jekyll-index-pages.spec
new file mode 100644
index 0000000..704fab0
--- /dev/null
+++ b/rubygem-jekyll-index-pages.spec
@@ -0,0 +1,76 @@
+# Generated from jekyll-index-pages-0.7.1.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name jekyll-index-pages
+
+Name: rubygem-%{gem_name}
+Version: 0.7.1
+Release: 1%{?dist}
+Summary: Index page generator for Jekyll sites
+License: MIT
+URL: https://github.com/rukbotto/jekyll-index-pages
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+# BuildRequires: rubygem(rspec) >= 3.5
+# BuildRequires: rubygem(rspec) < 4
+BuildArch: noarch
+
+%description
+Index page generator for Jekyll sites. Generates paginated index pages for
+blog posts, categories and tags. It can also generate a paginated yearly
+archive, author and collection pages.
+
+
+%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}
+# rspec spec
+popd
+
+%files
+%dir %{gem_instdir}
+%exclude %{gem_instdir}/.gitignore
+%exclude %{gem_instdir}/.travis.yml
+%license %{gem_instdir}/LICENSE.md
+%{gem_libdir}
+%{gem_instdir}/script
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%exclude %{gem_instdir}/.rspec
+%{gem_instdir}/Gemfile
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/Rakefile
+%{gem_instdir}/jekyll-index-pages.gemspec
+%{gem_instdir}/spec
+
+%changelog
+* Mon Sep 13 2021 mockbuilder - 0.7.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..72966a2
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6e55332b5dd2ea69c7944d071c6d7ecf jekyll-index-pages-0.7.1.gem