# Generated from acromine-0.1.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name acromine Name: rubygem-%{gem_name} Version: 0.1.1 Release: 1%{?dist} Summary: acromine is a client for the [Acromine REST Service](http://www.nactem.ac.uk/software/acromine/rest.html) provided by the National Centre for Text Mining License: MIT URL: https://github.com/jf647/acromine Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(hoe) >= 3.13 # BuildRequires: rubygem(hoe) < 4 # BuildRequires: rubygem(hoe-gemspec) >= 1.0 # BuildRequires: rubygem(hoe-gemspec) < 2 # BuildRequires: rubygem(rspec) >= 3.1 # BuildRequires: rubygem(rspec) < 4 # BuildRequires: rubygem(guard) >= 2.12 # BuildRequires: rubygem(guard) < 3 # BuildRequires: rubygem(guard-rspec) >= 4.5 # BuildRequires: rubygem(guard-rspec) < 5 # BuildRequires: rubygem(guard-rake) # BuildRequires: rubygem(guard-rake) < 1 # BuildRequires: rubygem(guard-rubocop) >= 1.2 # BuildRequires: rubygem(guard-rubocop) < 2 # BuildRequires: rubygem(guard-cucumber) >= 1.6 # BuildRequires: rubygem(guard-cucumber) < 2 # BuildRequires: rubygem(simplecov) >= 0.9 # BuildRequires: rubygem(simplecov) < 1 # BuildRequires: rubygem(simplecov-console) >= 0.2 # BuildRequires: rubygem(simplecov-console) < 1 # BuildRequires: rubygem(yard) >= 0.8 # BuildRequires: rubygem(yard) < 1 # BuildRequires: rubygem(rspec_junit_formatter) >= 0.2 # BuildRequires: rubygem(rspec_junit_formatter) < 1 # BuildRequires: rubygem(aruba) >= 0.8 # BuildRequires: rubygem(aruba) < 1 BuildArch: noarch %description acromine is a client for the [Acromine REST Service](http://www.nactem.ac.uk/software/acromine/rest.html) provided by the National Centre for Text Mining. This gem provides a library to easily find the long form of an acronym. A CLI is also provided to use the library from the command line. %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} %license %{gem_instdir}/LICENSE %{gem_instdir}/Manifest.txt %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/History.md %doc %{gem_instdir}/README.md %{gem_instdir}/acromine.gemspec %changelog * Mon Apr 18 2022 mockbuilder - 0.1.1-1 - Initial package