# Generated from metainspector-5.15.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name metainspector Name: rubygem-%{gem_name} Version: 5.15.0 Release: 1%{?dist} Summary: MetaInspector is a ruby gem for web scraping purposes, that returns metadata from a given URL License: MIT URL: https://github.com/jaimeiniesta/metainspector Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(rspec) >= 3.11 # BuildRequires: rubygem(rspec) < 4 # BuildRequires: rubygem(webmock) >= 3.17 # BuildRequires: rubygem(webmock) < 4 # BuildRequires: rubygem(awesome_print) >= 1.9 # BuildRequires: rubygem(awesome_print) < 2 # BuildRequires: rubygem(pry) >= 0.14 # BuildRequires: rubygem(pry) < 1 # BuildRequires: rubygem(puma) >= 6.2.2 # BuildRequires: rubygem(puma) < 6.3 # BuildRequires: rubygem(rubocop) >= 1.34 # BuildRequires: rubygem(rubocop) < 2 # BuildRequires: rubygem(resolv) >= 0.2.2 # BuildRequires: rubygem(resolv) < 0.3 # BuildRequires: rubygem(sinatra) >= 3.0.6 # BuildRequires: rubygem(sinatra) < 3.1 BuildArch: noarch %description MetaInspector lets you scrape a web page and get its links, images, texts, meta tags... %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}/.circleci %{gem_instdir}/.github %exclude %{gem_instdir}/.gitignore %{gem_instdir}/.rspec.example %{gem_instdir}/.rubocop.yml.example %license %{gem_instdir}/MIT-LICENSE %{gem_instdir}/bin %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %{gem_instdir}/Gemfile %{gem_instdir}/Gemfile.lock %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/examples %{gem_instdir}/meta_inspector.gemspec %{gem_instdir}/spec %changelog * Tue May 16 2023 mockbuilder - 5.15.0-1 - Initial package