Advertisement
fotios

rubygem-barista.spec

Sep 14th, 2011
2,741
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Generated from barista-1.2.1.gem by gem2rpm -*- rpm-spec -*-
  2. %global gemname barista
  3.  
  4. %global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
  5. %global geminstdir %{gemdir}/gems/%{gemname}-%{version}
  6. %global rubyabi 1.8
  7.  
  8. Summary: Simple, transparent coffeescript integration for Rails and Rack applications
  9. Name: rubygem-%{gemname}
  10. Version: 1.2.1
  11. Release: 1%{?dist}
  12. Group: Development/Languages
  13. License: MIT
  14. URL: http://github.com/Sutto/barista
  15. Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
  16. Requires: ruby(abi) = %{rubyabi}
  17. Requires: ruby(rubygems)
  18. Requires: ruby
  19. Requires: rubygem(coffee-script) => 2.2
  20. Requires: rubygem(coffee-script) < 3
  21. BuildRequires: ruby(abi) = %{rubyabi}
  22. BuildRequires: ruby(rubygems)
  23. BuildRequires: ruby
  24. BuildArch: noarch
  25. Provides: rubygem(%{gemname}) = %{version}
  26.  
  27. %description
  28. Barista provides simple, integrated support for CoffeeScript in Rack and Rails
  29. applications.
  30. Much like Compass does for Sass, It also provides Frameworks (bundleable code
  31. which can be shared via Gems).
  32. Lastly, it also provides a Rack Application (which can be used to server
  33. compiled code), a around_filter-style precompiler (as Rack middleware) and
  34. simple helpers for rails and Haml.
  35. For more details, please see the the README file bundled with it.
  36.  
  37.  
  38. %package doc
  39. Summary: Documentation for %{name}
  40. Group: Documentation
  41. Requires: %{name} = %{version}-%{release}
  42. BuildArch: noarch
  43.  
  44. %description doc
  45. Documentation for %{name}
  46.  
  47.  
  48. %prep
  49. %setup -q -c -T
  50. mkdir -p .%{gemdir}
  51. gem install --local --install-dir .%{gemdir} \
  52.             --force %{SOURCE0}
  53.  
  54. %build
  55.  
  56. %install
  57. mkdir -p %{buildroot}%{gemdir}
  58. cp -a .%{gemdir}/* \
  59.         %{buildroot}%{gemdir}/
  60.  
  61.  
  62. %files
  63. %dir %{geminstdir}
  64. %dir %{geminstdir}/lib
  65. %dir %{geminstdir}/spec
  66.  
  67. %{gemdir}/cache/%{gemname}-%{version}.gem
  68. %{gemdir}/specifications/%{gemname}-%{version}.gemspec
  69.  
  70. %{geminstdir}/.document
  71. %{geminstdir}/.rspec
  72. %{geminstdir}/.rvmrc.example
  73. %{geminstdir}/DESCRIPTION
  74. %{geminstdir}/Gemfile
  75. %{geminstdir}/Gemfile.lock
  76. %{geminstdir}/Rakefile
  77. %{geminstdir}/barista.gemspec
  78. %{geminstdir}/lib/barista.rb
  79. %{geminstdir}/lib/barista/compiler.rb
  80. %{geminstdir}/lib/barista/extensions.rb
  81. %{geminstdir}/lib/barista/filter.rb
  82. %{geminstdir}/lib/barista/framework.rb
  83. %{geminstdir}/lib/barista/haml_filter.rb
  84. %{geminstdir}/lib/barista/helpers.rb
  85. %{geminstdir}/lib/barista/hooks.rb
  86. %{geminstdir}/lib/barista/integration.rb
  87. %{geminstdir}/lib/barista/integration/rails2.rb
  88. %{geminstdir}/lib/barista/integration/rails3.rb
  89. %{geminstdir}/lib/barista/integration/sinatra.rb
  90. %{geminstdir}/lib/barista/rake_task.rb
  91. %{geminstdir}/lib/barista/server.rb
  92. %{geminstdir}/lib/barista/tasks/barista.rake
  93. %{geminstdir}/lib/barista/version.rb
  94. %{geminstdir}/lib/generators/barista/install/USAGE
  95. %{geminstdir}/lib/generators/barista/install/install_generator.rb
  96. %{geminstdir}/lib/generators/barista/install/templates/initializer.rb
  97. %{geminstdir}/lib/generators/barista_install_generator.rb
  98. %{geminstdir}/spec/barista_spec.rb
  99. %{geminstdir}/spec/spec_helper.rb
  100.  
  101.  
  102. %files doc
  103. %doc %{gemdir}/doc/%{gemname}-%{version}
  104. %doc %{geminstdir}/LICENSE
  105. %doc %{geminstdir}/README.md
  106.  
  107.  
  108. %changelog
  109.                  * Wed Sep 14 2011 Fotios Lindiakos (fotios@redhat.com) - 1.2.1-1
  110. - Initial package
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement