# Generated from vinsol_spree_themes-0.0.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name vinsol_spree_themes Name: rubygem-%{gem_name} Version: 0.0.1 Release: 1%{?dist} Summary: This extension creates a flexible system where admin can upload, modify the themes and publish it to spree store License: BSD-3-Clause URL: http://vinsol.com Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.2.2 # BuildRequires: rubygem(capybara) # BuildRequires: rubygem(capybara-screenshot) # BuildRequires: rubygem(coffee-rails) # BuildRequires: rubygem(database_cleaner) # BuildRequires: rubygem(factory_girl) # BuildRequires: rubygem(ffaker) # BuildRequires: rubygem(rspec-rails) # BuildRequires: rubygem(sass-rails) # BuildRequires: rubygem(selenium-webdriver) # BuildRequires: rubygem(simplecov) # BuildRequires: rubygem(pg) # BuildRequires: rubygem(mysql2) # BuildRequires: rubygem(appraisal) BuildArch: noarch %description This extension provides an interface for the admin to upload new themes, publish it to the spree store, modify the theme layout accordingly and later download it. %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} # Run the test suite. popd %files %dir %{gem_instdir} %exclude %{gem_instdir}/.gitignore %{gem_instdir}/.ruby-version %{gem_instdir}/Appraisals %license %{gem_instdir}/LICENSE %{gem_instdir}/app %{gem_instdir}/bin %{gem_instdir}/config %{gem_instdir}/db %{gem_instdir}/gemfiles %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %{gem_instdir}/Gemfile %{gem_instdir}/Gemfile.lock %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/spec %{gem_instdir}/vinsol_spree_themes.gemspec %changelog * Thu Sep 16 2021 mockbuilder - 0.0.1-1 - Initial package