# Generated from omniauth-1.1.4.gem by gem2rpm -*- rpm-spec -*- %global gem_name omniauth Name: rubygem-%{gem_name} Version: 1.9.0 Release: 1%{?dist} Summary: A generalized Rack framework for multiple-provider authentication License: MIT URL: http://github.com/intridea/omniauth Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone https://github.com/intridea/omniauth.git && cd omniauth # git checkout v1.9.0 && tar czvf omniauth-1.9.0-tests.tgz spec/ Source1: omniauth-1.9.0-tests.tgz BuildRequires: ruby(release) BuildRequires: rubygems-devel >= 1.3.6 BuildRequires: ruby BuildRequires: rubygem(hashie) BuildRequires: rubygem(rack-test) BuildRequires: rubygem(rspec) BuildArch: noarch %description A generalized Rack framework for multiple-provider authentication. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} %description doc Documentation for %{name} %prep %if 0%{?rhel} <= 7 gem unpack %{SOURCE0} gem specification %{SOURCE0} -l --ruby > %{gem_name}-%{version}.gemspec %endif %setup -q -D -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 %install mkdir -p %{buildroot}%{gem_dir} cp -pa .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} tar xzvf %{SOURCE1} # Remove unneeded simplecov and coveralls gem from test suite sed -i -e "/^if RUBY_VERSION >= '1.9'$/,/^end$/ s/^/#/g" \ spec/helper.rb rspec spec/ popd %files %dir %{gem_instdir} %exclude %{gem_instdir}/.* %license %{gem_instdir}/LICENSE.md %{gem_libdir} %{gem_spec} %exclude %{gem_cache} %files doc %doc %{gem_docdir} %{gem_instdir}/Gemfile* %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/omniauth.gemspec %changelog * Tue May 07 2019 Pavel Valena <pvalena@redhat.com> - 1.9.0-1 - Update to omniauth 1.9.0. * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.1-4 - Escape macros in %%changelog * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Aug 03 2016 Jun Aruga <jaruga@redhat.com> - 1.3.1-1 - Update to 1.3.1 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jul 04 2014 Achilleas Pipinellis <axilleas@fedoraproject.org> - 1.2.1-3 - Rebuilt for BZ#1107183 - Drop Requires (ruby 2.1 guidelines) * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Feb 23 2014 Achilleas Pipinellis <axilleas@fedoraproject.org> - 1.2.1-1 - Update to 1.2.1 * Tue Aug 27 2013 Axilleas Pipinellis <axilleaspi@ymail.com> - 1.1.4-2 - Remove set of noarch in -doc subpackage - Move removal of coveralls gem to %%prep - Move README.md to main package * Sun Jul 28 2013 Axilleas Pipinellis <axilleaspi@ymail.com> - 1.1.4-1 - Initial package