# Generated from testcentricity_web-4.0.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name testcentricity_web Name: rubygem-%{gem_name} Version: 4.0.1 Release: 1%{?dist} Summary: A Page Object and Data Object Model Framework for desktop and mobile web testing License: BSD-3-Clause Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.3.0 BuildArch: noarch %description The TestCentricityâ„¢ Web core generic framework for desktop and mobile web browser-based app testing implements a Page Object Model DSL for use with Cucumber, Capybara, and Selenium-Webdriver. The gem provides support for running automated tests against locally hosted desktop browsers, locally hosted emulated mobile browsers (iOS, Android, Windows Phone, Blackberry, Kindle Fire) running within a local instance of Chrome, mobile Safari browsers on iOS device simulators or physical iOS devices (using Appium and XCode on OS X), mobile Chrome or Android browsers on Android Studio virtual device emulators (using Appium and Android Studio on OS X), or cloud hosted desktop or mobile web browsers (using the BrowserStack, Sauce Labs, CrossBrowserTesting, TestingBot, Gridlastic, or LambdaTest services). %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} %exclude %{gem_instdir}/.gitignore %{gem_instdir}/.idea %exclude %{gem_instdir}/.rubocop.yml %exclude %{gem_instdir}/.yardopts %{gem_instdir}/CODE_OF_CONDUCT.md %license %{gem_instdir}/LICENSE.md %{gem_libdir} %{gem_instdir}/my_templates %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %exclude %{gem_instdir}/.rspec %doc %{gem_instdir}/CHANGELOG.md %{gem_instdir}/Gemfile %{gem_instdir}/Gemfile.lock %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/testcentricity_web.gemspec %changelog * Thu Sep 16 2021 mockbuilder - 4.0.1-1 - Initial package