# Generated from geo_works-0.2.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name geo_works Name: rubygem-%{gem_name} Version: 0.2.0 Release: 1%{?dist} Summary: Rails engine for Hydra Geo models. Built around the Hyrax engine License: APACHE2 URL: https://github.com/samvera-labs/geo_works Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.2.2 # BuildRequires: rubygem(sqlite3) # BuildRequires: rubygem(devise) >= 3.0 # BuildRequires: rubygem(devise) < 5 # BuildRequires: rubygem(rspec-rails) >= 3.5.2 # BuildRequires: rubygem(engine_cart) >= 1.0 # BuildRequires: rubygem(engine_cart) < 2 # BuildRequires: rubygem(engine_cart) >= 1.0.1 # BuildRequires: rubygem(solr_wrapper) >= 0.18 # BuildRequires: rubygem(solr_wrapper) < 1 # BuildRequires: rubygem(solr_wrapper) >= 0.18.0 # BuildRequires: rubygem(fcrepo_wrapper) >= 0.6 # BuildRequires: rubygem(fcrepo_wrapper) < 1 # BuildRequires: rubygem(fcrepo_wrapper) >= 0.6.0 # BuildRequires: rubygem(pry-byebug) # BuildRequires: rubygem(database_cleaner) < 1.1.0 # BuildRequires: rubygem(rubocop) >= 0.39 # BuildRequires: rubygem(rubocop) < 1 # BuildRequires: rubygem(rubocop-rspec) >= 1.4.1 # BuildRequires: rubygem(rubocop-rspec) < 1.5 # BuildRequires: rubygem(factory_girl) # BuildRequires: rubygem(capybara) >= 2.7 # BuildRequires: rubygem(capybara) < 3 # BuildRequires: rubygem(poltergeist) >= 1.5 # BuildRequires: rubygem(poltergeist) < 2 BuildArch: noarch %description Rails engine for Hydra Geo models. Built around the Hyrax engine. . %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_instdir}/.codeclimate.yml %exclude %{gem_instdir}/.csslintrc %{gem_instdir}/.engine_cart.yml %{gem_instdir}/.eslintignore %exclude %{gem_instdir}/.eslintrc %{gem_instdir}/.fcrepo_wrapper %exclude %{gem_instdir}/.gitignore %exclude %{gem_instdir}/.rubocop.yml %{gem_instdir}/.solr_wrapper %exclude %{gem_instdir}/.travis.yml %license %{gem_instdir}/LICENSE %{gem_instdir}/app %{gem_instdir}/config %{gem_libdir} %{gem_instdir}/solr %{gem_instdir}/tasks %{gem_instdir}/template.rb %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 %doc %{gem_instdir}/docker-compose-full.yml %doc %{gem_instdir}/docker-compose.yml %{gem_instdir}/geo_works.gemspec %doc %{gem_instdir}/run-docker.sh %{gem_instdir}/spec %changelog * Mon Sep 13 2021 mockbuilder - 0.2.0-1 - Initial package