# Generated from ish_lib-0.0.8.gem by gem2rpm -*- rpm-spec -*- %global gem_name ish_lib Name: rubygem-%{gem_name} Version: 0.0.8 Release: 1%{?dist} Summary: utilities for microsites_cluster License: MIT URL: http://github.com/piousbox/ish_lib Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(capybara) # BuildRequires: rubygem(delayed_job_mongoid) # BuildRequires: rubygem(factory_girl_rails) # BuildRequires: rubygem(htmlentities) # BuildRequires: rubygem(hpricot) # BuildRequires: rubygem(jeweler) # BuildRequires: rubygem(minitest) >= 5.1 # BuildRequires: rubygem(minitest) < 6 # BuildRequires: rubygem(mocha) # BuildRequires: rubygem(net-ssh) = 2.4.0 # BuildRequires: rubygem(quiet_assets) # BuildRequires: rubygem(ruby_parser) # BuildRequires: rubygem(rspec-rails) # BuildRequires: rubygem(rspec) # BuildRequires: rubygem(rspec-mocks) # BuildRequires: rubygem(ruby-prof) # BuildRequires: rubygem(resque) # BuildRequires: rubygem(rspec-rails-mocha) >= 0.3.1 # BuildRequires: rubygem(rspec-rails-mocha) < 0.4 # BuildRequires: rubygem(shoulda) # BuildRequires: rubygem(shoulda-matchers) # BuildRequires: rubygem(simplecov) # BuildRequires: rubygem(simple-rss) # BuildRequires: rubygem(thin) BuildArch: noarch %description models, specs of models, and assets for microsites_cluster. %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} # ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' # rspec spec popd %files %dir %{gem_instdir} %{_bindir}/assets_precompile.sh %{_bindir}/branch_to_master.sh %{_bindir}/connect_production.sh %{_bindir}/cron-jobs.sh %{_bindir}/label_version.sh %{_bindir}/push-branch.sh %{_bindir}/rename_html.sh %{_bindir}/rspec.sh %{gem_instdir}/.bundle %{gem_instdir}/.rbenv-version %exclude %{gem_instdir}/.travis.yml %license %{gem_instdir}/LICENSE.txt %{gem_instdir}/VERSION %{gem_instdir}/app %{gem_instdir}/bin %{gem_instdir}/config.ru %{gem_instdir}/config %{gem_libdir} %{gem_instdir}/vendor %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/.document %doc %{gem_instdir}/CHANGELOG.md %{gem_instdir}/Gemfile %{gem_instdir}/Gemfile.lock %doc %{gem_instdir}/README.md %doc %{gem_instdir}/README.rdoc %{gem_instdir}/Rakefile %doc %{gem_instdir}/doc %{gem_instdir}/ish_lib.gemspec %{gem_instdir}/spec %changelog * Tue Aug 24 2021 mockbuilder - 0.0.8-1 - Initial package