# Generated from carioca-2.1.10.gem by gem2rpm -*- rpm-spec -*- %global gem_name carioca Name: rubygem-%{gem_name} Version: 2.1.10 Release: 1%{?dist} Summary: Carioca : Container And Registry with Inversion Of Control for your Applications License: BSD-3-Clause URL: https://github.com/Ultragreen/carioca Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 3.2.3 # BuildRequires: rubygem(bundle-audit) >= 0.1.0 # BuildRequires: rubygem(bundle-audit) < 0.2 # BuildRequires: rubygem(code_statistics) >= 0.2.13 # BuildRequires: rubygem(code_statistics) < 0.3 # BuildRequires: rubygem(diff-lcs) >= 1.5.1 # BuildRequires: rubygem(diff-lcs) < 1.6 # BuildRequires: rubygem(rspec) >= 3.0 # BuildRequires: rubygem(rspec) < 4 # BuildRequires: rubygem(rubocop) >= 1.32 # BuildRequires: rubygem(rubocop) < 2 # BuildRequires: rubygem(yard) >= 0.9.27 # BuildRequires: rubygem(yard) < 0.10 # BuildRequires: rubygem(yard-rspec) >= 0.1 # BuildRequires: rubygem(yard-rspec) < 1 # BuildRequires: rubygem(cyclonedx-ruby) >= 1.1 # BuildRequires: rubygem(cyclonedx-ruby) < 2 # BuildRequires: rubygem(debride) >= 1.12 # BuildRequires: rubygem(debride) < 2 BuildArch: noarch %description Carioca 2: is a complete rewrite who provide a full IoC/DI light Container and a services registry, build with logs, config and Internationalization facilities for designing your applications. %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} %{gem_instdir}/.debride_withelist %{gem_instdir}/.github %exclude %{gem_instdir}/.gitignore %exclude %{gem_instdir}/.rubocop.yml %license %{gem_instdir}/LICENSE.txt %{gem_instdir}/VERSION %{gem_instdir}/assets %{gem_instdir}/bin %{gem_instdir}/bom.xml %{gem_instdir}/config %{gem_libdir} %{gem_instdir}/samples %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %exclude %{gem_instdir}/.rspec %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/carioca.gemspec %changelog * Thu May 02 2024 mockbuilder - 2.1.10-1 - Initial package