# Generated from music_explorer-0.0.3.gem by gem2rpm -*- rpm-spec -*- %global gem_name music_explorer Name: rubygem-%{gem_name} Version: 0.0.3 Release: 1%{?dist} Summary: This gem uses the Spotify API to explore music artists License: MIT URL: https://github.com/wkdewey/Music_Explorer_CLI-Data-Gem-Project Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.3.0 # BuildRequires: rubygem(rspec) >= 3.0 # BuildRequires: rubygem(rspec) < 4 # BuildRequires: rubygem(pry) >= 0.13.1 # BuildRequires: rubygem(pry) < 0.14 BuildArch: noarch %description This gem enables users to learn more about music artists with data from the Spotify API. Users are prompted to search for an artist. The app returns the first search result from Spotify and allows users to see the artist's top tracks, album releases, genres or related artists. For the latter option, users can choose one of the related artists and view artist details for that artist in turn. Finally, users can review a list of all artists they have browsed. The app makes use of the RSpotify gem for OAuth authentication, HTTParty to retrieve data from the API, and dotenv to store client_id and client_secret. As explained below under Usage, this means that users will need to obtain their own credentials from Spotify and store them in their own .env file. More info at https://github.com/wkdewey/Music_Explorer_CLI-Data-Gem-Project. %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} %exclude %{gem_instdir}/.gitignore %exclude %{gem_instdir}/.travis.yml %{gem_instdir}/CODE_OF_CONDUCT.md %license %{gem_instdir}/LICENSE.txt %{gem_instdir}/bin %{gem_instdir}/db %{gem_libdir} %{gem_instdir}/music_explorer-0.0.1.gem %{gem_instdir}/music_explorer-0.0.2.gem %{gem_instdir}/music_explorer.code-workspace %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %exclude %{gem_instdir}/.rspec %{gem_instdir}/Gemfile %{gem_instdir}/Gemfile.lock %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %doc %{gem_instdir}/changelog.md %{gem_instdir}/music_explorer.gemspec %changelog * Tue Sep 14 2021 mockbuilder - 0.0.3-1 - Initial package