# Generated from berkeley_library-tind-0.4.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name berkeley_library-tind Name: rubygem-%{gem_name} Version: 0.4.1 Release: 1%{?dist} Summary: TIND DA utilities for the UC Berkeley Library License: MIT URL: https://github.com/BerkeleyLibrary/tind Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.7 # BuildRequires: rubygem(bundle-audit) >= 0.1 # BuildRequires: rubygem(bundle-audit) < 1 # BuildRequires: rubygem(ci_reporter_rspec) >= 1.0 # BuildRequires: rubygem(ci_reporter_rspec) < 2 # BuildRequires: rubygem(colorize) >= 0.8 # BuildRequires: rubygem(colorize) < 1 # BuildRequires: rubygem(dotenv) >= 2.7 # BuildRequires: rubygem(dotenv) < 3 # BuildRequires: rubygem(roo) >= 2.8 # BuildRequires: rubygem(roo) < 3 # BuildRequires: rubygem(rspec) >= 3.10 # BuildRequires: rubygem(rspec) < 4 # BuildRequires: rubygem(rubocop) = 1.11 # BuildRequires: rubygem(rubocop-rake) >= 0.5 # BuildRequires: rubygem(rubocop-rake) < 1 # BuildRequires: rubygem(rubocop-rspec) >= 2.2 # BuildRequires: rubygem(rubocop-rspec) < 3 # BuildRequires: rubygem(ruby-prof) >= 0.17.0 # BuildRequires: rubygem(ruby-prof) < 0.18 # BuildRequires: rubygem(simplecov) >= 0.21 # BuildRequires: rubygem(simplecov) < 1 # BuildRequires: rubygem(simplecov-rcov) >= 0.2 # BuildRequires: rubygem(simplecov-rcov) < 1 # BuildRequires: rubygem(webmock) >= 3.12 # BuildRequires: rubygem(webmock) < 4 BuildArch: noarch %description UC Berkeley Library utility gem for working with the TIND DA digital archive. %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}/ mkdir -p %{buildroot}%{_bindir} cp -a .%{_bindir}/* \ %{buildroot}%{_bindir}/ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x %check pushd .%{gem_instdir} # rspec spec popd %files %dir %{gem_instdir} %{_bindir}/tind-export %{gem_instdir}/.github %exclude %{gem_instdir}/.gitignore %{gem_instdir}/.idea %exclude %{gem_instdir}/.rubocop.yml %{gem_instdir}/.ruby-version %{gem_instdir}/.simplecov %exclude %{gem_instdir}/.yardopts %{gem_instdir}/CHANGES.md %{gem_instdir}/Dockerfile %license %{gem_instdir}/LICENSE.md %{gem_instdir}/bin %{gem_libdir} %{gem_instdir}/rakelib %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/berkeley_library-tind.gemspec %doc %{gem_instdir}/docker-compose.yml %{gem_instdir}/spec %{gem_instdir}/test %changelog * Sun Sep 12 2021 mockbuilder - 0.4.1-1 - Initial package