# Generated from ocawari-0.9.7.gem by gem2rpm -*- rpm-spec -*- %global gem_name ocawari Name: rubygem-%{gem_name} Version: 0.9.7 Release: 1%{?dist} Summary: Extract the image urls of the social media posts of your favorite idols License: MIT URL: https://github.com/NewSchoolKaidan/ocawari Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(rb-readline) >= 0.5.5 # BuildRequires: rubygem(rb-readline) < 0.6 # BuildRequires: rubygem(pry) >= 0.11.3 # BuildRequires: rubygem(pry) < 0.12 # BuildRequires: rubygem(pry-rescue) >= 1.4 # BuildRequires: rubygem(pry-rescue) < 2 # BuildRequires: rubygem(pry-rescue) >= 1.4.5 # BuildRequires: rubygem(minitest) >= 5.11 # BuildRequires: rubygem(minitest) < 6 # BuildRequires: rubygem(minitest) >= 5.11.3 # BuildRequires: rubygem(minitest-reporters) >= 1.2 # BuildRequires: rubygem(minitest-reporters) < 2 # BuildRequires: rubygem(vcr) >= 4.0 # BuildRequires: rubygem(vcr) < 5 # BuildRequires: rubygem(webmock) >= 3.5 # BuildRequires: rubygem(webmock) < 4 # BuildRequires: rubygem(webmock) >= 3.5.1 # BuildRequires: rubygem(mini_magick) >= 4.9 # BuildRequires: rubygem(mini_magick) < 5 # BuildRequires: rubygem(mini_magick) >= 4.9.2 BuildArch: noarch %description If there is one thing that has plagued me over the years, it's that I constantly have more tabs in my browser open that necessary. And these tabs are usually images of Japanese idols I intend to save at some point but never do. This is because the whole process of grabbing the image either through right clicking the image or having to search for it via my browser's inspector then moving it to the desired directory via the GUI interface is an incredibly tedious and time consuming task. But through the power of code and this library, I will be able to just point the links of posts containing the images I want using this library and it will generate for me the links to the images which I can then pipe into some other tool dedicated for downloading like wget. With that being said, Hashimoto Kanna is your master now and she will show you the true nature of the force. %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}/exe -type f | xargs chmod a+x %check pushd .%{gem_instdir} # ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' popd %files %dir %{gem_instdir} %{_bindir}/oca %exclude %{gem_instdir}/.gitignore %{gem_instdir}/.ruby-version %exclude %{gem_instdir}/.travis.yml %license %{gem_instdir}/LICENSE.txt %{gem_instdir}/bin %{gem_instdir}/exe %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/ocawari.gemspec %changelog * Tue Aug 24 2021 mockbuilder - 0.9.7-1 - Initial package