|
|
f0deb1 |
%{?scl:%scl_package rubygem-%{gem_name}}
|
|
|
f0deb1 |
%{!?scl:%global pkg_name %{name}}
|
|
|
f0deb1 |
|
|
|
f0deb1 |
# Generated from turbolinks-0.5.1.gem by gem2rpm -*- rpm-spec -*-
|
|
|
f0deb1 |
%global gem_name turbolinks
|
|
|
f0deb1 |
|
|
|
f0deb1 |
Summary: Turbolinks makes following links in your web application faster
|
|
|
f0deb1 |
Name: %{?scl_prefix}rubygem-%{gem_name}
|
|
|
f0deb1 |
Version: 2.4.0
|
|
|
f0deb1 |
Release: 1%{?dist}
|
|
|
f0deb1 |
Group: Development/Languages
|
|
|
f0deb1 |
License: MIT
|
|
|
f0deb1 |
URL: http://github.com/rails/turbolinks
|
|
|
f0deb1 |
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
f0deb1 |
Requires: %{?scl_prefix_ruby}ruby(release)
|
|
|
f0deb1 |
Requires: %{?scl_prefix_ruby}ruby(rubygems)
|
|
|
f0deb1 |
Requires: %{?scl_prefix}rubygem(coffee-rails)
|
|
|
f0deb1 |
BuildRequires: %{?scl_prefix_ruby}ruby(release)
|
|
|
f0deb1 |
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
|
|
|
f0deb1 |
BuildArch: noarch
|
|
|
f0deb1 |
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
|
|
f0deb1 |
|
|
|
f0deb1 |
%description
|
|
|
f0deb1 |
Turbolinks makes following links in your web application faster. Instead of
|
|
|
f0deb1 |
letting the browser recompile the JavaScript and CSS between each page change,
|
|
|
f0deb1 |
it keeps the current page instance alive and replaces only the body and
|
|
|
f0deb1 |
the title in the head. Think CGI vs persistent process. (Use with Rails Asset
|
|
|
f0deb1 |
Pipeline.)
|
|
|
f0deb1 |
|
|
|
f0deb1 |
%package doc
|
|
|
f0deb1 |
Summary: Documentation for %{pkg_name}
|
|
|
f0deb1 |
Group: Documentation
|
|
|
f0deb1 |
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
|
|
|
f0deb1 |
BuildArch: noarch
|
|
|
f0deb1 |
|
|
|
f0deb1 |
%description doc
|
|
|
f0deb1 |
Documentation for %{pkg_name}
|
|
|
f0deb1 |
|
|
|
f0deb1 |
%prep
|
|
|
f0deb1 |
%setup -n %{pkg_name}-%{version} -q -c -T
|
|
|
f0deb1 |
%{?scl:scl enable %scl - << \EOF}
|
|
|
f0deb1 |
%gem_install -n %{SOURCE0}
|
|
|
f0deb1 |
%{?scl:EOF}
|
|
|
f0deb1 |
|
|
|
f0deb1 |
%build
|
|
|
f0deb1 |
|
|
|
f0deb1 |
%check
|
|
|
f0deb1 |
# To test it:
|
|
|
f0deb1 |
# run `rackup "test/config.ru"` to run the server and check manually serving assets
|
|
|
f0deb1 |
# no idea how to make it automated in koji right now
|
|
|
f0deb1 |
|
|
|
f0deb1 |
%install
|
|
|
f0deb1 |
mkdir -p %{buildroot}%{gem_dir}
|
|
|
f0deb1 |
cp -a .%{gem_dir}/* \
|
|
|
f0deb1 |
%{buildroot}%{gem_dir}/
|
|
|
f0deb1 |
|
|
|
f0deb1 |
%files
|
|
|
f0deb1 |
%dir %{gem_instdir}
|
|
|
f0deb1 |
%{gem_libdir}
|
|
|
f0deb1 |
%exclude %{gem_cache}
|
|
|
f0deb1 |
%{gem_spec}
|
|
|
f0deb1 |
%doc %{gem_instdir}/MIT-LICENSE
|
|
|
f0deb1 |
|
|
|
f0deb1 |
%files doc
|
|
|
f0deb1 |
%doc %{gem_docdir}
|
|
|
f0deb1 |
%doc %{gem_instdir}/README.md
|
|
|
f0deb1 |
%{gem_instdir}/test
|
|
|
f0deb1 |
|
|
|
f0deb1 |
%changelog
|
|
|
f0deb1 |
* Tue Jan 27 2015 Josef Stribny <jstribny@redhat.com> - 2.4.0-1
|
|
|
f0deb1 |
- Update to 2.4.0
|
|
|
f0deb1 |
|
|
|
f0deb1 |
* Thu Oct 24 2013 Josef Stribny <jstribny@redhat.com> - 1.3.0-2
|
|
|
f0deb1 |
- Convert to scl
|
|
|
f0deb1 |
|
|
|
f0deb1 |
* Wed Oct 23 2013 Josef Stribny <jstribny@redhat.com> - 1.3.0-1
|
|
|
f0deb1 |
- Update to 1.3.0
|
|
|
f0deb1 |
|
|
|
f0deb1 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
|
|
|
f0deb1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
f0deb1 |
|
|
|
f0deb1 |
* Mon Apr 22 2013 Josef Stribny <jstribny@redhat.com> - 1.1.1-1
|
|
|
f0deb1 |
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
f0deb1 |
- Update to 1.1.1
|
|
|
f0deb1 |
|
|
|
f0deb1 |
* Thu Nov 15 2012 Josef Stribny <jstribny@redhat.com> - 0.5.1-1
|
|
|
f0deb1 |
- Initial package
|