# Generated from excon-0.64.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name excon Name: rubygem-%{gem_name} Version: 0.64.0 Release: 1%{?dist} Summary: speed, persistence, http(s) License: MIT URL: https://github.com/excon/excon Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(rspec) >= 3.5.0 # BuildRequires: rubygem(activesupport) # BuildRequires: rubygem(delorean) # BuildRequires: rubygem(eventmachine) >= 1.0.4 # BuildRequires: rubygem(open4) # BuildRequires: rubygem(shindo) # BuildRequires: rubygem(sinatra) # BuildRequires: rubygem(sinatra-contrib) # BuildRequires: rubygem(json) >= 1.8.5 # BuildRequires: rubygem(puma) BuildArch: noarch %description EXtended http(s) CONnections. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep gem unpack %{SOURCE0} %setup -q -D -T -n %{gem_name}-%{version} gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec %build # Create the gem as gem install only works on a gem file gem build %{gem_name}.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 # shindont popd %files %dir %{gem_instdir} %{gem_instdir}/.github %exclude %{gem_instdir}/.gitignore %exclude %{gem_instdir}/.travis.yml %license %{gem_instdir}/LICENSE.md %{gem_instdir}/benchmarks %{gem_instdir}/data %exclude %{gem_instdir}/excon.gemspec %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/.document %exclude %{gem_instdir}/.rspec %doc %{gem_instdir}/CONTRIBUTING.md %doc %{gem_instdir}/CONTRIBUTORS.md %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %doc %{gem_instdir}/changelog.txt %{gem_instdir}/spec %{gem_instdir}/tests %changelog * Mon Apr 15 2019 mockbuilder - 0.64.0-1 - Initial package