Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.10
rubygem-haml
rubygem-haml.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygem-haml.spec of Package rubygem-haml
# Generated from haml-2.2.14.gem by gem2rpm -*- rpm-spec -*- %global gem_name haml Name: rubygem-%{gem_name} Version: 5.2.1 Release: 6%{?dist} Summary: An elegant, structured (X)HTML/XML templating engine License: MIT and WTFPL URL: http://haml.info/ Source0: https://github.com/haml/%{gem_name}/archive/%{version}/%{gem_name}-%{version}.tar.gz Patch0: rubygem-haml-fix-gemspec.patch Patch1: rubygem-haml-rails6.1.patch BuildRequires: ruby(release) >= 2.0.0 BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem(activemodel) >= 4.0.0 BuildRequires: rubygem(minitest) >= 4.0 BuildRequires: rubygem(railties) >= 4.0.0 BuildRequires: rubygem(temple) >= 0.8.0 BuildRequires: rubygem(tilt) BuildRequires: rubygem(simplecov) BuildArch: noarch %description Haml (HTML Abstraction Markup Language) is a layer on top of HTML or XML that's designed to express the structure documents in a non-repetitive, elegant, easy way by using indentation rather than closing tags and allowing Ruby to be embedded with ease. It was originally envisioned as a plugin for Ruby on Rails, but it can function as a stand-alone templating engine. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %patch0 -p1 %patch1 -p1 %build gem build %{gem_name}.gemspec %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} # Get rid of Bundler. sed -i '/[bB]undler/ s/^/#/' test/test_helper.rb # options_test.rb must be executed in isolation in order to prevent load # order issues. # https://github.com/haml/haml/issues/943 ruby -Ilib:test -e '(Dir.glob("./test/*_test.rb") - %w[./test/options_test.rb]).each {|f| require f }' ruby -Ilib:test -e 'require "./test/options_test.rb"' popd %files %dir %{gem_instdir} %{_bindir}/haml %exclude %{gem_instdir}/.* %license %{gem_instdir}/MIT-LICENSE %{gem_instdir}/bin %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/FAQ.md %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md %doc %{gem_instdir}/REFERENCE.md %{gem_instdir}/Rakefile %doc %{gem_instdir}/TODO %{gem_instdir}/benchmark.rb %{gem_instdir}/yard %{gem_instdir}/test
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor