# template: default %global gem_name will_paginate Name: rubygem-%{gem_name} Version: 3.3.1 Release: 1%{?dist} Summary: Pagination plugin for web frameworks and other apps License: MIT URL: https://github.com/mislav/will_paginate Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # start specfile generated dependencies Requires: ruby >= 2.0 BuildRequires: ruby >= 2.0 BuildRequires: rubygems-devel BuildArch: noarch # end specfile generated dependencies %description will_paginate provides a simple API for performing paginated queries with Active Record, DataMapper and Sequel, and includes helpers for rendering pagination links in Rails, Sinatra, Hanami, and Merb web apps. %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}/ %files %dir %{gem_instdir} %license %{gem_instdir}/LICENSE %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/README.md %{gem_instdir}/spec %changelog * Wed Jul 13 2022 Foreman Packaging Automation 3.3.1-1 - Update to 3.3.1 * Thu Mar 11 2021 Eric D. Helms - 3.1.7-4 - Rebuild against rh-ruby27 * Wed Apr 08 2020 Zach Huntington-Meath - 3.1.7-3 - Bump to release for EL8 * Fri Jan 17 2020 Zach Huntington-Meath - 3.1.7-2 - Update spec to remove the ror scl * Tue Mar 19 2019 Michael Moll - 3.1.7-1 - Update will_paginate to 3.1.7 * Wed Sep 05 2018 Eric D. Helms - 3.1.5-3 - Rebuild for Rails 5.2 and Ruby 2.5 * Fri Jan 05 2018 Ewoud Kohl van Wijngaarden 3.1.5-2 - Final set of rebuilds (ericdhelms@gmail.com) - Use HTTPS URLs for github and rubygems (ewoud@kohlvanwijngaarden.nl) * Wed Oct 19 2016 Dominic Cleal 3.1.5-1 - Update will_paginate to 3.1.5 (dominic@cleal.org) * Fri Sep 23 2016 Dominic Cleal 3.1.3-1 - Update will_paginate to 3.1.3 (dominic@cleal.org) * Thu Apr 21 2016 Dominic Cleal 3.1.0-2 - Rebuild tfm against sclo-ror42 (dominic@cleal.org) * Wed Jan 20 2016 Dominic Cleal 3.1.0-1 - Update will_paginate to 3.1.0 (dcleal@redhat.com) * Tue Dec 22 2015 Dominic Cleal 3.0.7-1 - Update will_paginate to 3.0.7 (dcleal@redhat.com) - Update dependencies to ror SCL (dcleal@redhat.com) - Replace ruby(abi) for ruby22 rebuild (dcleal@redhat.com) * Wed Aug 26 2015 Dominic Cleal 3.0.2-9 - Converted to tfm SCL (dcleal@redhat.com) * Fri Mar 15 2013 Miroslav Suchý 3.0.2-7 - disable tests temporary (msuchy@redhat.com) * Fri Mar 15 2013 Miroslav Suchý 3.0.2-6 - use rspec instead of rspec-core (msuchy@redhat.com) * Thu Mar 14 2013 Miroslav Suchý 3.0.2-5 - new package built with tito * Sat Jul 21 2012 Fedora Release Engineering - 3.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Feb 01 2012 Vít Ondruch - 3.0.2-3 - Rebuilt for Ruby 1.9.3. * Sat Jan 14 2012 Fedora Release Engineering - 3.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Nov 28 2011 Vít Ondruch - 3.0.2-1 - Update to will_paginate 3.0.2. * Tue Jul 12 2011 Mo Morsi - 3.0-0.1.pre2 - Update to 3.0.pre2 for Rails 3 compatability * Wed Feb 09 2011 Fedora Release Engineering - 2.3.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Sep 08 2010 Michal Fojtik - 2.3.14-1 - Version bump * Wed May 19 2010 Michal Fojtik - 2.3.12-2 - Fixed documents - Fixed macros in changelog - Added activesupport to requires * Tue May 18 2010 Michal Fojtik - 2.3.12-1 - Version bump - Fixed BuildRequires * Tue Dec 08 2009 Darryl Pierce - 2.3.11-2 - Replaced %%define with %%global. - Fixed license. - Replaced the source URL. * Thu Nov 19 2009 Darryl Pierce - 2.3.11-1 - Initial package