# Generated from semantria_sdk-4.0.82.gem by gem2rpm -*- rpm-spec -*- %global gem_name semantria_sdk Name: rubygem-%{gem_name} Version: 4.0.82 Release: 1%{?dist} Summary: Semantria Ruby SDK License: GPL v3 URL: https://semantria.com Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildArch: noarch %description Semantria is a text analytics and sentiment analysis API. It allows you to gain valuable insights from your unstructured text content. It is based on Lexalytics’ Salience – a text analytics and sentiment analysis engine. It is the same engine as the one being used by Oracle, Cisco, Thomson Reuters, Saleforce.com - Radian6, Visible, Lithium, and 50+ other leaders in the space. Semantria offers Ruby SDK, that is the most convenient way to get started with the Semantria API on Ruby. SDK implements all the available Semantria features and demonstrate best practices of API usage. %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} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %changelog * Wed Apr 20 2022 mockbuilder - 4.0.82-1 - Initial package