# Generated from auth0-ruby-0.10.gem by gem2rpm -*- rpm-spec -*- %global gem_name auth0-ruby Name: rubygem-%{gem_name} Version: 0.10 Release: 1%{?dist} Summary: Ruby client library for the Auth0 platform License: MIT URL: https://github.com/offtop/ruby-auth0 Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 1.9.3 # BuildRequires: rubygem(rspec) >= 3.1.0 # BuildRequires: rubygem(rspec) < 3.2 # BuildRequires: rubygem(rspec) >= 3.1.0 # BuildRequires: rubygem(rack-test) # BuildRequires: rubygem(simplecov) # BuildRequires: rubygem(webmock) # BuildRequires: rubygem(byebug) # BuildRequires: rubygem(faker) # BuildRequires: rubygem(yard) BuildArch: noarch %description Ruby client library for the Auth0 platform. This is fork of https://github.com/auth0/ruby-auth0, but while auth0 is not hurring to merge prs, I've decided to make my own gem with blackjack and hookers. But I really recommend you to switch to ruby-auth0 gem after pr-9 will be merged. %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} %{gem_instdir}/.bundle %exclude %{gem_instdir}/.gitignore %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %exclude %{gem_instdir}/.rspec %{gem_instdir}/Gemfile %{gem_instdir}/Gemfile.lock %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/auth0.gemspec %doc %{gem_instdir}/doc %{gem_instdir}/spec %changelog * Mon Feb 07 2022 mockbuilder - 0.10-1 - Initial package