# Generated from eco-source-1.1.0.rc.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name eco-source Name: rubygem-%{gem_name} Version: 1.1.0.rc.1 Release: 1%{?dist} Summary: Eco compiler source License: MIT URL: https://github.com/sstephenson/eco/ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel > 1.3.1 BuildRequires: ruby BuildArch: noarch %description JavaScript source code for the Eco (Embedded CoffeeScript template language) compiler. %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 gem build ../%{gem_name}-%{version}.gemspec %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} %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %changelog * Mon Jul 02 2018 pvalena - 1.1.0.rc.1-1 - Initial package