214614c
# Generated from temple-0.4.0.gem by gem2rpm -*- rpm-spec -*-
214614c
%global gem_name temple
214614c
214614c
Summary: Template compilation framework in Ruby
214614c
Name: rubygem-%{gem_name}
Josef Stribny 397a18f
Version: 0.6.3
71936fe
Release: 2%{?dist}
214614c
Group: Development/Languages
214614c
License: MIT
214614c
URL: http://dojo.rubyforge.org/
214614c
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
1f5b189
Requires: ruby(release)
214614c
Requires: ruby(rubygems)
1f5b189
BuildRequires: ruby(release)
214614c
BuildRequires: rubygems-devel
214614c
BuildRequires: ruby
214614c
BuildRequires: rubygem(bacon)
214614c
BuildRequires: rubygem(tilt)
214614c
BuildArch: noarch
214614c
Provides: rubygem(%{gem_name}) = %{version}
214614c
214614c
%description
214614c
Temple is an abstraction and a framework for compiling templates to pure Ruby.
214614c
It's all about making it easier to experiment, implement and optimize template
214614c
languages. If you're interested in implementing your own template language,
214614c
or anything else related to the internals of a template engine: You've come
214614c
to the right place.
214614c
214614c
214614c
%package doc
214614c
Summary: Documentation for %{name}
214614c
Group: Documentation
214614c
Requires: %{name} = %{version}-%{release}
214614c
BuildArch: noarch
214614c
214614c
%description doc
214614c
Documentation for %{name}
214614c
214614c
%prep
214614c
%setup -q -c -T
1f5b189
%gem_install -n %{SOURCE0}
214614c
214614c
%build
214614c
214614c
%install
214614c
mkdir -p %{buildroot}%{gem_dir}
214614c
cp -a .%{gem_dir}/* \
214614c
        %{buildroot}%{gem_dir}/
214614c
214614c
%check
214614c
pushd .%{gem_instdir}
214614c
bacon -Itest -a
214614c
popd
214614c
214614c
%files
214614c
%dir %{gem_instdir}
214614c
%doc %{gem_instdir}/LICENSE
214614c
%{gem_libdir}
214614c
%exclude %{gem_instdir}/.*
1f5b189
%exclude %{gem_instdir}/kill-travis.sh
214614c
%exclude %{gem_cache}
214614c
%{gem_spec}
214614c
214614c
%files doc
214614c
%doc %{gem_docdir}
214614c
%doc %{gem_instdir}/CHANGES
214614c
%doc %{gem_instdir}/EXPRESSIONS.md
214614c
%doc %{gem_instdir}/README.md
214614c
%{gem_instdir}/Gemfile
214614c
%{gem_instdir}/Rakefile
214614c
%{gem_instdir}/%{gem_name}.gemspec
214614c
%{gem_instdir}/test
214614c
214614c
%changelog
71936fe
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-2
71936fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
71936fe
Josef Stribny 397a18f
* Tue Apr 16 2013 Josef Stribny <jstribny@redhat.com> - 0.6.3-1
Josef Stribny 397a18f
- Updated to version 0.6.3.
Josef Stribny 397a18f
1f5b189
* Thu Feb 28 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 0.6.2-1
1f5b189
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
1f5b189
- Updated to version 0.6.2.
1f5b189
b16a6d1
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
b16a6d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b16a6d1
214614c
* Fri Jul 27 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.4.0-1
214614c
- Initial package