# Generated from wordnet-defaultdb-2.0.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name wordnet-defaultdb Name: rubygem-%{gem_name} Version: 2.0.1 Release: 1%{?dist} Summary: This gem is a container for the default SQLUNet database files loaded by the 'wordnet' gem if you don't have your own installation of the WordNet databases License: BSD-3-Clause URL: https://bitbucket.org/ged/ruby-wordnet/ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.3 # BuildRequires: rubygem(hoe-mercurial) >= 1.4 # BuildRequires: rubygem(hoe-mercurial) < 2 # BuildRequires: rubygem(hoe-deveiate) >= 0.10 # BuildRequires: rubygem(hoe-deveiate) < 1 # BuildRequires: rubygem(hoe-highline) >= 0.2 # BuildRequires: rubygem(hoe-highline) < 1 # BuildRequires: rubygem(rubyzip) >= 1.2 # BuildRequires: rubygem(rubyzip) < 2 # BuildRequires: rubygem(hoe) >= 3.17 # BuildRequires: rubygem(hoe) < 4 BuildArch: noarch %description This gem is a container for the default SQLUNet database files loaded by the 'wordnet' gem if you don't have your own installation of the WordNet databases. It's mostly just a wrapper around the Sqlite database from: http://sqlunet.sourceforge.net/ To use it, just install the gem and then create the WordNet::Lexicon with no arguments. %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} %license %{gem_instdir}/LICENSE-bnc.txt %license %{gem_instdir}/LICENSE-fn.txt %license %{gem_instdir}/LICENSE-legacy.txt %license %{gem_instdir}/LICENSE-pb.txt %license %{gem_instdir}/LICENSE-pm.txt %license %{gem_instdir}/LICENSE-sqlunet.txt %license %{gem_instdir}/LICENSE-sumo.txt %license %{gem_instdir}/LICENSE-vn.txt %license %{gem_instdir}/LICENSE-wn.txt %license %{gem_instdir}/LICENSE-xwn.txt %{gem_instdir}/Manifest.txt %{gem_instdir}/data %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/History.rdoc %doc %{gem_instdir}/README.rdoc %{gem_instdir}/Rakefile %changelog * Thu Sep 16 2021 mockbuilder - 2.0.1-1 - Initial package