# Generated from rspec_api_documentation-6.1.0.gem by gem2rpm -*- rpm-spec -*-
%global gem_name rspec_api_documentation

Name: rubygem-%{gem_name}
Version: 6.1.0
Release: 1%{?dist}
Summary: A double black belt for your docs
License: MIT
URL: http://smartlogicsolutions.com
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
BuildRequires: ruby(release)
BuildRequires: rubygems-devel >= 1.3.6
BuildRequires: ruby
# BuildRequires: rubygem(fakefs) >= 0.4
# BuildRequires: rubygem(fakefs) < 1
# BuildRequires: rubygem(sinatra) >= 1.4
# BuildRequires: rubygem(sinatra) < 2
# BuildRequires: rubygem(sinatra) >= 1.4.4
# BuildRequires: rubygem(aruba) >= 0.5
# BuildRequires: rubygem(aruba) < 1
# BuildRequires: rubygem(capybara) >= 2.2
# BuildRequires: rubygem(capybara) < 3
# BuildRequires: rubygem(rack-test) >= 0.6.2
# BuildRequires: rubygem(rack-test) < 0.7
# BuildRequires: rubygem(rack-oauth2) >= 1.2.2
# BuildRequires: rubygem(rack-oauth2) < 1.3
# BuildRequires: rubygem(rack-oauth2) >= 1.0.7
# BuildRequires: rubygem(webmock) >= 1.7
# BuildRequires: rubygem(webmock) < 2
# BuildRequires: rubygem(rspec-its) >= 1.0
# BuildRequires: rubygem(rspec-its) < 2
# BuildRequires: rubygem(faraday) >= 0.9
# BuildRequires: rubygem(faraday) < 1
# BuildRequires: rubygem(faraday) >= 0.9.0
# BuildRequires: rubygem(thin) >= 1.6
# BuildRequires: rubygem(thin) < 2
# BuildRequires: rubygem(thin) >= 1.6.3
# BuildRequires: rubygem(nokogiri) >= 1.8
# BuildRequires: rubygem(nokogiri) < 2
# BuildRequires: rubygem(nokogiri) >= 1.8.2
# BuildRequires: rubygem(yard) >= 0.9.11
BuildArch: noarch

%description
Generate API docs from your test suite.


%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}
# Run the test suite.
popd

%files
%dir %{gem_instdir}
%{gem_libdir}
%{gem_instdir}/templates
%exclude %{gem_cache}
%{gem_spec}

%files doc
%doc %{gem_docdir}


%changelog
* Wed Sep 15 2021 mockbuilder - 6.1.0-1
- Initial package