# Generated from youtube_dlhelper-2.0.4.gem by gem2rpm -*- rpm-spec -*- %global gem_name youtube_dlhelper Name: rubygem-%{gem_name} Version: 2.0.4 Release: 1%{?dist} Summary: The youtube_dlhelper is a short tool for download and manage the downloaded files License: MIT URL: http://saigkill.tuxfamily.org Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.2.3 # BuildRequires: rubygem(coveralls) >= 0.8 # BuildRequires: rubygem(coveralls) < 1 # BuildRequires: rubygem(hoe-bundler) >= 1.3 # BuildRequires: rubygem(hoe-bundler) < 2 # BuildRequires: rubygem(hoe-git) >= 1.6 # BuildRequires: rubygem(hoe-git) < 2 # BuildRequires: rubygem(hoe-manns) >= 1.5 # BuildRequires: rubygem(hoe-manns) < 2 # BuildRequires: rubygem(hoe-rubocop) >= 1.0 # BuildRequires: rubygem(hoe-rubocop) < 2 # BuildRequires: rubygem(hoe-rubygems) >= 1.0 # BuildRequires: rubygem(hoe-rubygems) < 2 # BuildRequires: rubygem(hoe-seattlerb) >= 1.3 # BuildRequires: rubygem(hoe-seattlerb) < 2 # BuildRequires: rubygem(hoe-version) >= 1.2 # BuildRequires: rubygem(hoe-version) < 2 # BuildRequires: rubygem(indexer) >= 0.3 # BuildRequires: rubygem(indexer) < 1 # BuildRequires: rubygem(rspec) >= 3.5 # BuildRequires: rubygem(rspec) < 4 # BuildRequires: rubygem(rubocop) >= 0.42 # BuildRequires: rubygem(rubocop) < 1 # BuildRequires: rubygem(simplecov) >= 0.12 # BuildRequires: rubygem(simplecov) < 1 # BuildRequires: rubygem(manns_shared) >= 1.0 # BuildRequires: rubygem(manns_shared) < 2 # BuildRequires: rubygem(hoe) >= 3.16 # BuildRequires: rubygem(hoe) < 4 BuildArch: noarch %description The youtube_dlhelper is a short tool for download and manage the downloaded files. You are running the program inside the command line with a Youtube URL. Then it aska for a group name or interpreters name. Now it creates a Subfolder inside your Musicdirectory. Then it makes a MP3 from the downloaded file and moves it to the folder. %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}/youtube_dlhelper %{gem_instdir}/.coveralls.yml %{gem_instdir}/.gemnasium.yml %exclude %{gem_instdir}/.rubocop.yml %{gem_instdir}/.scrutinizer.yml %exclude %{gem_instdir}/.travis.yml %exclude %{gem_instdir}/.yardopts %{gem_instdir}/CODE_OF_CONDUCT.md %license %{gem_instdir}/LICENSE.rdoc %{gem_instdir}/Manifest.txt %{gem_instdir}/bin %{gem_instdir}/config.reek %{gem_instdir}/data %{gem_instdir}/etc %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %exclude %{gem_instdir}/.rspec %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/CONTRIBUTING.md %{gem_instdir}/Gemfile %{gem_instdir}/Gemfile.lock %doc %{gem_instdir}/History.rdoc %doc %{gem_instdir}/README.rdoc %{gem_instdir}/Rakefile %{gem_instdir}/spec %changelog * Wed Aug 25 2021 mockbuilder - 2.0.4-1 - Initial package