# Generated from opentok-4.9.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name opentok Name: rubygem-%{gem_name} Version: 4.9.0 Release: 1%{?dist} Summary: Ruby gem for the OpenTok API License: MIT URL: https://opentok.github.io/opentok-ruby-sdk Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(rspec) >= 3.9.0 # BuildRequires: rubygem(rspec) < 3.10 # BuildRequires: rubygem(webmock) >= 2.3.2 # BuildRequires: rubygem(vcr) >= 2.8.0 # BuildRequires: rubygem(yard) >= 0.9.11 BuildArch: noarch %description OpenTok is an API from TokBox that enables websites to weave live group video communication into their online experience. With OpenTok you have the freedom and flexibility to create the most engaging web experience for your users. This gem lets you generate sessions and tokens for OpenTok applications. It also includes support for working with OpenTok 2.0 archives. See for more details. %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}/.github %exclude %{gem_instdir}/.gitignore %exclude %{gem_instdir}/.yardopts %{gem_instdir}/CHANGES.md %{gem_instdir}/CODE_OF_CONDUCT.md %{gem_instdir}/DEVELOPING.md %license %{gem_instdir}/LICENSE %{gem_libdir} %{gem_instdir}/sample %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CONTRIBUTING.md %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/opentok.gemspec %{gem_instdir}/spec %changelog * Mon Apr 22 2024 mockbuilder - 4.9.0-1 - Initial package