Blame SPECS/rubygem-turbolinks.spec

2ce327
%{?scl:%scl_package rubygem-%{gem_name}}
2ce327
%{!?scl:%global pkg_name %{name}}
2ce327
2ce327
# Generated from turbolinks-0.5.1.gem by gem2rpm -*- rpm-spec -*-
2ce327
%global gem_name turbolinks
2ce327
2ce327
Summary:        Turbolinks makes navigating your web application faster
2ce327
Name:           %{?scl_prefix}rubygem-%{gem_name}
2ce327
Version:        5.0.1
2ce327
Release:        1%{?dist}
2ce327
Group:          Development/Languages
2ce327
License:        MIT
2ce327
URL:            https://github.com/turbolinks/turbolinks
2ce327
Source0:        https://rubygems.org/gems/%{gem_name}-%{version}.gem
2ce327
2ce327
Requires:       %{?scl_prefix_ruby}ruby(release)
2ce327
Requires:       %{?scl_prefix_ruby}ruby(rubygems)
2ce327
Requires:       %{?scl_prefix}rubygem(turbolinks-source) >= 5
2ce327
BuildRequires:  %{?scl_prefix_ruby}ruby(release)
2ce327
BuildRequires:  %{?scl_prefix_ruby}ruby(rubygems)
2ce327
BuildRequires:  %{?scl_prefix_ruby}ruby
2ce327
BuildRequires:  %{?scl_prefix_ruby}rubygems-devel
2ce327
BuildRequires:  %{?scl_prefix}rubygem(turbolinks-source) >= 5
2ce327
BuildArch:      noarch
2ce327
Provides:       %{?scl_prefix}rubygem(%{gem_name}) = %{version}
2ce327
2ce327
# Explicitly require runtime subpackage, as long as older scl-utils do not generate it
2ce327
%{?scl:Requires: %{?scl_prefix}runtime}
2ce327
2ce327
%description
2ce327
Rails engine for Turbolinks 5 support.
2ce327
2ce327
%package doc
2ce327
Summary:    Documentation for %{pkg_name}
2ce327
Group:      Documentation
2ce327
Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
2ce327
BuildArch:  noarch
2ce327
2ce327
%description doc
2ce327
Documentation for %{pkg_name}.
2ce327
2ce327
%prep
2ce327
%setup -n %{pkg_name}-%{version} -q -c -T
2ce327
%{?scl:scl enable %{scl} - << \EOF}
2ce327
%gem_install -n %{SOURCE0}
2ce327
%{?scl:EOF}
2ce327
2ce327
%build
2ce327
2ce327
%install
2ce327
mkdir -p %{buildroot}%{gem_dir}
2ce327
cp -a .%{gem_dir}/* \
2ce327
        %{buildroot}%{gem_dir}/
2ce327
2ce327
%check
2ce327
# There is no upstream test suite :/
2ce327
2ce327
%files
2ce327
# There is no %%license macro on RHEL6.
2ce327
# https://bugzilla.redhat.com/show_bug.cgi?id=1386246
2ce327
%{!?_licensedir:%global license %%doc}
2ce327
2ce327
%dir %{gem_instdir}
2ce327
%license %{gem_instdir}/LICENSE
2ce327
%{gem_libdir}
2ce327
%exclude %{gem_cache}
2ce327
%{gem_spec}
2ce327
2ce327
%files doc
2ce327
%doc %{gem_docdir}
2ce327
%doc %{gem_instdir}/README.md
2ce327
2ce327
%changelog
2ce327
* Wed Jan 18 2017 Jun Aruga <jaruga@redhat.com> - 5.0.1-1
2ce327
- Update to Turbolinks 5.0.1.
2ce327
2ce327
* Wed Mar 02 2016 Pavel Valena <pvalena@redhat.com> - 2.5.3-3
2ce327
- Update to 2.5.3
2ce327
2ce327
* Tue Jan 27 2015 Josef Stribny <jstribny@redhat.com> - 2.4.0-1
2ce327
- Update to 2.4.0
2ce327
2ce327
* Thu Oct 24 2013 Josef Stribny <jstribny@redhat.com> - 1.3.0-2
2ce327
- Convert to scl
2ce327
2ce327
* Wed Oct 23 2013 Josef Stribny <jstribny@redhat.com> - 1.3.0-1
2ce327
- Update to 1.3.0
2ce327
2ce327
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
2ce327
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2ce327
2ce327
* Mon Apr 22 2013 Josef Stribny <jstribny@redhat.com> - 1.1.1-1
2ce327
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
2ce327
- Update to 1.1.1
2ce327
2ce327
* Thu Nov 15 2012 Josef Stribny <jstribny@redhat.com> - 0.5.1-1
2ce327
- Initial package