# Generated from sinatra-stagehand-0.1.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name sinatra-stagehand Name: rubygem-%{gem_name} Version: 0.1.1 Release: 1%{?dist} Summary: Sinatra Stagehand ================= Sinatra with Bootstrap, jQuery, Haml, LESS and Sprockets! ## Requirements * [Node][6] * [Ruby][7] (>= 2.0.0) # Out of the Box * Sinatra * [Bower][1] * [Twitter Bootstrap][2] * [jQuery][3] * [Sprockets][4] (Asset Pipeline) * [Font Awesome][5] ## Usage To get a simple application setup and ready for hacking merely checkout and run a few commands to setup the dependencies. $ git clone https://github.com/johnbellone/sinatra-stagehand $ cd sinatra-stagehand $ bundle install --binstubs $ bower install When additional packages are adding using [Bower][1] you merely need to run another `bower install` or if updating an existing package `bower update bootstrap`. The same obviously goes for any gems that are being utilized by the project. [0]: http://sinatrarb.com [1]: http://bower.io [2]: http://getbootstrap.com [3]: http://jquery.com [4]: https://github.com/sstephenson/sprockets [5]: http://fortawesome.github.io/Font-Awesome/ [6]: http://nodejs.org [7]: http://ruby-lang.org License: MIT URL: https://github.com/johnbellone/sinatra-stagehand Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildArch: noarch %description Sinatra with Bootstrap, Bower, jQuery, Haml, LESS and Sprockets! %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}/.bowerrc %{gem_instdir}/.coveralls.yml %{gem_instdir}/.env %exclude %{gem_instdir}/.gitignore %exclude %{gem_instdir}/.travis.yml %{gem_instdir}/Guardfile %{gem_instdir}/assets %{gem_instdir}/bower.json %{gem_instdir}/certs %{gem_instdir}/config.ru %{gem_instdir}/config %{gem_libdir} %{gem_instdir}/public %{gem_instdir}/views %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}/sinatra-stagehand.gemspec %{gem_instdir}/test %changelog * Wed Apr 20 2022 mockbuilder - 0.1.1-1 - Initial package