Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Generated from barista-1.2.1.gem by gem2rpm -*- rpm-spec -*-
- %global gemname barista
- %global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
- %global geminstdir %{gemdir}/gems/%{gemname}-%{version}
- %global rubyabi 1.8
- Summary: Simple, transparent coffeescript integration for Rails and Rack applications
- Name: rubygem-%{gemname}
- Version: 1.2.1
- Release: 1%{?dist}
- Group: Development/Languages
- License: MIT
- URL: http://github.com/Sutto/barista
- Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
- Requires: ruby(abi) = %{rubyabi}
- Requires: ruby(rubygems)
- Requires: ruby
- Requires: rubygem(coffee-script) => 2.2
- Requires: rubygem(coffee-script) < 3
- BuildRequires: ruby(abi) = %{rubyabi}
- BuildRequires: ruby(rubygems)
- BuildRequires: ruby
- BuildArch: noarch
- Provides: rubygem(%{gemname}) = %{version}
- %description
- Barista provides simple, integrated support for CoffeeScript in Rack and Rails
- applications.
- Much like Compass does for Sass, It also provides Frameworks (bundleable code
- which can be shared via Gems).
- Lastly, it also provides a Rack Application (which can be used to server
- compiled code), a around_filter-style precompiler (as Rack middleware) and
- simple helpers for rails and Haml.
- For more details, please see the the README file bundled with it.
- %package doc
- Summary: Documentation for %{name}
- Group: Documentation
- Requires: %{name} = %{version}-%{release}
- BuildArch: noarch
- %description doc
- Documentation for %{name}
- %prep
- %setup -q -c -T
- mkdir -p .%{gemdir}
- gem install --local --install-dir .%{gemdir} \
- --force %{SOURCE0}
- %build
- %install
- mkdir -p %{buildroot}%{gemdir}
- cp -a .%{gemdir}/* \
- %{buildroot}%{gemdir}/
- %files
- %dir %{geminstdir}
- %dir %{geminstdir}/lib
- %dir %{geminstdir}/spec
- %{gemdir}/cache/%{gemname}-%{version}.gem
- %{gemdir}/specifications/%{gemname}-%{version}.gemspec
- %{geminstdir}/.document
- %{geminstdir}/.rspec
- %{geminstdir}/.rvmrc.example
- %{geminstdir}/DESCRIPTION
- %{geminstdir}/Gemfile
- %{geminstdir}/Gemfile.lock
- %{geminstdir}/Rakefile
- %{geminstdir}/barista.gemspec
- %{geminstdir}/lib/barista.rb
- %{geminstdir}/lib/barista/compiler.rb
- %{geminstdir}/lib/barista/extensions.rb
- %{geminstdir}/lib/barista/filter.rb
- %{geminstdir}/lib/barista/framework.rb
- %{geminstdir}/lib/barista/haml_filter.rb
- %{geminstdir}/lib/barista/helpers.rb
- %{geminstdir}/lib/barista/hooks.rb
- %{geminstdir}/lib/barista/integration.rb
- %{geminstdir}/lib/barista/integration/rails2.rb
- %{geminstdir}/lib/barista/integration/rails3.rb
- %{geminstdir}/lib/barista/integration/sinatra.rb
- %{geminstdir}/lib/barista/rake_task.rb
- %{geminstdir}/lib/barista/server.rb
- %{geminstdir}/lib/barista/tasks/barista.rake
- %{geminstdir}/lib/barista/version.rb
- %{geminstdir}/lib/generators/barista/install/USAGE
- %{geminstdir}/lib/generators/barista/install/install_generator.rb
- %{geminstdir}/lib/generators/barista/install/templates/initializer.rb
- %{geminstdir}/lib/generators/barista_install_generator.rb
- %{geminstdir}/spec/barista_spec.rb
- %{geminstdir}/spec/spec_helper.rb
- %files doc
- %doc %{gemdir}/doc/%{gemname}-%{version}
- %doc %{geminstdir}/LICENSE
- %doc %{geminstdir}/README.md
- %changelog
- * Wed Sep 14 2011 Fotios Lindiakos (fotios@redhat.com) - 1.2.1-1
- - Initial package
Add Comment
Please, Sign In to add comment