Revision d2e2afd9
Added by Dominic Cleal about 10 years ago
rel-eng/tito.props | ||
---|---|---|
rubygem-rack-protection
|
||
rubygem-table_print
|
||
rubygem-terminal-table
|
||
rubygem-tilt
|
||
scl = ruby193
|
||
|
||
# Only whitelist packages that must be non-SCL, e.g. proxy, or CLI related
|
||
... | ... | |
rubygem-mime-types
|
||
rubygem-rack
|
||
rubygem-rack-protection
|
||
rubygem-tilt
|
||
|
||
[foreman-nightly-fedora19]
|
||
disttag = .fc19
|
rubygem-tilt/rubygem-tilt.spec | ||
---|---|---|
%global gem_name tilt
|
||
|
||
%global bootstrap 1
|
||
|
||
Summary: Generic interface to multiple Ruby template engines
|
||
Name: rubygem-%{gem_name}
|
||
Version: 1.3.7
|
||
Release: 2%{?dist}
|
||
Group: Development/Languages
|
||
License: MIT
|
||
URL: http://github.com/rtomayko/%{gem_name}
|
||
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||
|
||
Requires: ruby(release)
|
||
Requires: ruby(rubygems)
|
||
Requires: ruby
|
||
BuildRequires: ruby(release)
|
||
BuildRequires: rubygems-devel
|
||
BuildRequires: ruby
|
||
%if 0%{bootstrap} < 1
|
||
BuildRequires: rubygem(asciidoctor)
|
||
BuildRequires: rubygem(rdoc)
|
||
BuildRequires: rubygem(minitest)
|
||
BuildRequires: rubygem(nokogiri)
|
||
BuildRequires: rubygem(erubis)
|
||
BuildRequires: rubygem(haml)
|
||
BuildRequires: rubygem(builder)
|
||
BuildRequires: rubygem(maruku)
|
||
BuildRequires: rubygem(rdiscount)
|
||
BuildRequires: rubygem(RedCloth)
|
||
BuildRequires: rubygem(redcarpet)
|
||
BuildRequires: rubygem(coffee-script)
|
||
BuildRequires: rubygem(therubyracer)
|
||
|
||
# Markaby test fails. It is probably due to rather old version found in Fedora.
|
||
# https://github.com/rtomayko/tilt/issues/96
|
||
# BuildRequires: rubygem(markaby)
|
||
%endif
|
||
|
||
BuildArch: noarch
|
||
Provides: rubygem(%{gem_name}) = %{version}
|
||
|
||
%description
|
||
Generic interface to multiple Ruby template engines
|
||
|
||
|
||
%package doc
|
||
Summary: Documentation for %{name}
|
||
Group: Documentation
|
||
Requires:%{name} = %{version}-%{release}
|
||
|
||
%description doc
|
||
Documentation for %{name}
|
||
|
||
%prep
|
||
%setup -q -c -T
|
||
%gem_install -n %{SOURCE0}
|
||
|
||
%build
|
||
|
||
%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
|
||
%if 0%{bootstrap} < 1
|
||
pushd %{buildroot}%{gem_instdir}
|
||
# Test suite fails due to change in libxml or nokogiri.
|
||
# https://github.com/rtomayko/tilt/issues/185
|
||
LANG=en_US.utf8 testrb -Ilib test/*_test.rb \
|
||
| grep "229 tests, 413 assertions, 18 failures, 0 errors, 0 skips"
|
||
popd
|
||
%endif
|
||
|
||
%files
|
||
%dir %{gem_instdir}
|
||
%{_bindir}/%{gem_name}
|
||
%exclude %{gem_instdir}/%{gem_name}.gemspec
|
||
%exclude %{gem_instdir}/.*
|
||
%exclude %{gem_instdir}/Gemfile
|
||
%{gem_instdir}/bin
|
||
%{gem_libdir}
|
||
%doc %{gem_instdir}/COPYING
|
||
%doc %{gem_instdir}/README.md
|
||
%doc %{gem_instdir}/TEMPLATES.md
|
||
%exclude %{gem_cache}
|
||
%{gem_spec}
|
||
|
||
%files doc
|
||
%doc %{gem_docdir}
|
||
%doc %{gem_instdir}/CHANGELOG.md
|
||
%doc %{gem_instdir}/HACKING
|
||
%{gem_instdir}/Rakefile
|
||
%{gem_instdir}/test
|
||
|
||
|
||
%changelog
|
||
* Mon Apr 15 2013 Vít Ondruch <vondruch@redhat.com> - 1.3.7-2
|
||
- Enable test suite.
|
||
|
||
* Mon Apr 15 2013 Vít Ondruch <vondruch@redhat.com> - 1.3.7-1
|
||
- Update to tilt 1.3.7.
|
||
|
||
* Mon Apr 15 2013 Vít Ondruch <vondruch@redhat.com> - 1.3.5-2
|
||
- Fix unowned directory (rhbz#912046).
|
||
|
||
* Thu Mar 07 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 1.3.5-1
|
||
- Updated to Tilt 1.3.5.
|
||
- Remove patches merged upstream.
|
||
|
||
* Thu Feb 28 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 1.3.3-7
|
||
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
||
|
||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-6
|
||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||
|
||
* Mon Jul 23 2012 Vít Ondruch <vondruch@redhat.com> - 1.3.3-5
|
||
- Fixes RDoc >= 3.10 compatibility.
|
||
- Enabled coffee-script and redcarpet tests.
|
||
|
||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-4
|
||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||
|
||
* Fri Feb 03 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.3.3-3
|
||
- Allowed running the tests.
|
||
|
||
* Tue Jan 24 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.3.3-2
|
||
- Rebuilt for Ruby 1.9.3.
|
||
- Introduced %%bootstrap macro to deal with dependency loop for BuildRequires.
|
||
|
||
* Mon Jan 16 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.3.3-1
|
||
- Updated to tilt 1.3.3.
|
||
- Removed patch that fixed BZ #715713, as it is a part of this version.
|
||
- Excluded unnecessary files.
|
||
|
||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
|
||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||
|
||
* Wed Jul 20 2011 Vít Ondruch <vondruch@redhat.com> - 1.3.2-1
|
||
- Updated to the tilt 1.3.2.
|
||
- Test suite for erubis, haml, builder and RedCloth template engines enabled.
|
||
|
||
* Fri Jun 24 2011 Vít Ondruch <vondruch@redhat.com> - 1.2.2-3
|
||
- Fixes FTBFS (rhbz#715713).
|
||
|
||
* Thu Feb 10 2011 Vít Ondruch <vondruch@redhat.com> - 1.2.2-2
|
||
- Test moved to doc subpackage
|
||
- %%{gem_name} macro used whenever possible.
|
||
|
||
* Mon Feb 07 2011 Vít Ondruch <vondruch@redhat.com> - 1.2.2-1
|
||
- Initial package
|
rubygem-tilt/tilt-1.3.7.gem | ||
---|---|---|
../.git/annex/objects/K3/13/SHA256E-s40960--1c990d88ac0dd59eb008f3b91ca78a3411858ce38389392e1e1d44ddba88d24d.7.gem/SHA256E-s40960--1c990d88ac0dd59eb008f3b91ca78a3411858ce38389392e1e1d44ddba88d24d.7.gem
|
Also available in: Unified diff
Import rubygem-tilt for EL7