Josef Stribny 3571b7a
# Generated from sprockets-rails-2.0.0.gem by gem2rpm -*- rpm-spec -*-
Josef Stribny 3571b7a
%global gem_name sprockets-rails
Josef Stribny 3571b7a
Josef Stribny 3571b7a
Name: rubygem-%{gem_name}
a3057cb
Version: 3.2.2
a3057cb
Release: 1%{?dist}
Josef Stribny 3571b7a
Summary: Sprockets Rails integration
Josef Stribny 3571b7a
License: MIT
Josef Stribny 3571b7a
URL: https://github.com/rails/sprockets-rails
Josef Stribny 3571b7a
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
Josef Stribny 3571b7a
# Get the tests
a3057cb
# git clone --no-checkout https://github.com/rails/sprockets-rails.git
a3057cb
# cd sprockets-rails && git archive -v -o sprockets-rails-3.2.2-tests.txz v3.2.2 test/
a3057cb
Source1: sprockets-rails-%{version}-tests.txz
Josef Stribny 3571b7a
BuildRequires: ruby(release)
Josef Stribny 3571b7a
BuildRequires: rubygems-devel
Josef Stribny 3571b7a
BuildRequires: ruby
a557b9a
BuildRequires: rubygem(minitest)
1cfb465
BuildRequires: rubygem(railties) >= 3.0
Josef Stribny 3571b7a
BuildRequires: rubygem(rake)
1cfb465
BuildRequires: rubygem(sprockets)
Josef Stribny 3571b7a
BuildArch: noarch
Josef Stribny 3571b7a
Josef Stribny 3571b7a
%description
Josef Stribny 3571b7a
Provides Sprockets implementation for Rails 4.x (and beyond) Asset Pipeline.
Josef Stribny 3571b7a
Josef Stribny 3571b7a
Josef Stribny 3571b7a
%package doc
Josef Stribny 3571b7a
Summary: Documentation for %{name}
Josef Stribny 3571b7a
Requires: %{name} = %{version}-%{release}
Josef Stribny 3571b7a
BuildArch: noarch
Josef Stribny 3571b7a
Josef Stribny 3571b7a
%description doc
9a11450
Documentation for %{name}.
Josef Stribny 3571b7a
Josef Stribny 3571b7a
%prep
ab3a191
%setup -q -n %{gem_name}-%{version} -b 1
9a11450
Josef Stribny 3571b7a
%build
ab3a191
gem build ../%{gem_name}-%{version}.gemspec
Josef Stribny 3571b7a
%gem_install
Josef Stribny 3571b7a
Josef Stribny 3571b7a
%install
Josef Stribny 3571b7a
mkdir -p %{buildroot}%{gem_dir}
ab3a191
cp -a .%{gem_dir}/* \
Josef Stribny 3571b7a
        %{buildroot}%{gem_dir}/
Josef Stribny 3571b7a
Josef Stribny 3571b7a
%check
3c57bf7
pushd .%{gem_instdir}
ab3a191
ln -s %{_builddir}/test .
e49e8ab
3c57bf7
ruby -Ilib -e 'Dir.glob "./test/**/test_*.rb", &method(:require)'
Josef Stribny 3571b7a
popd
Josef Stribny 3571b7a
Josef Stribny 3571b7a
%files
Josef Stribny 3571b7a
%dir %{gem_instdir}
9a11450
%license %{gem_instdir}/MIT-LICENSE
Josef Stribny 3571b7a
%{gem_libdir}
Josef Stribny 3571b7a
%exclude %{gem_cache}
Josef Stribny 3571b7a
%{gem_spec}
Josef Stribny 3571b7a
Josef Stribny 3571b7a
%files doc
Josef Stribny 3571b7a
%doc %{gem_docdir}
Josef Stribny 3571b7a
%doc %{gem_instdir}/README.md
Josef Stribny 3571b7a
Josef Stribny 3571b7a
%changelog
a3057cb
* Fri Oct  9 04:24:35 CEST 2020 Pavel Valena <pvalena@redhat.com> - 3.2.2-1
a3057cb
- Update to sprockets-rails 3.2.2.
a3057cb
  Resolves: rhbz#1878349
a3057cb
75d5c3e
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-6
75d5c3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
75d5c3e
fcf39d5
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-5
fcf39d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
fcf39d5
77d98f5
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-4
77d98f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
77d98f5
a4268f9
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-3
a4268f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a4268f9
19a14ee
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-2
19a14ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
19a14ee
a693168
* Mon Mar 19 2018 Pavel Valena <pvalena@redhat.com> - 3.2.1-1
a693168
- Update to Sprockets Rails 3.2.1.
a693168
1db25d6
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-6
1db25d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1db25d6
a557b9a
* Tue Aug 15 2017 Jun Aruga <jaruga@redhat.com> - 3.2.0-5
a557b9a
- Fix tests for FTBFS.
a557b9a
2605bff
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-4
2605bff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2605bff
e49e8ab
* Thu Jul 13 2017 Vít Ondruch <vondruch@redhat.com> - 3.2.0-3
e49e8ab
- Fix test compatibility with Rails 5.1.
e49e8ab
6c3bb25
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
6c3bb25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6c3bb25
5cd502c
* Thu Dec 15 2016 Jun Aruga <jaruga@redhat.com> - 3.2.0-1
5cd502c
- Update to sprockets-rails 3.2.0.
5cd502c
9a11450
* Mon Aug 15 2016 Vít Ondruch <vondruch@redhat.com> - 3.1.1-1
9a11450
- Update to sprockets-rails 3.1.1.
9a11450
3269ea2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-2
3269ea2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3269ea2
Josef Stribny ec9b4cd
* Mon Jun 29 2015 Josef Stribny <jstribny@redhat.com> - 2.3.2-1
Josef Stribny ec9b4cd
- Update to 2.3.2
Josef Stribny ec9b4cd
f135285
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-2
f135285
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f135285
Josef Stribny 7bf0712
* Mon May 18 2015 Josef Stribny <jstribny@redhat.com> - 2.3.1-1
Josef Stribny 7bf0712
- Update to 2.3.1
Josef Stribny 7bf0712
1cfb465
* Thu Jan 29 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.4-2
1cfb465
- Drop the boostrap and depend on railties instead of rails.
1cfb465
3c57bf7
* Wed Jan 28 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.4-1
3c57bf7
- Update to sprockets-rails 2.2.4.
3c57bf7
de26a83
* Fri Jul 04 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.3-1
de26a83
- Update to sprockets-rails 2.1.3.
de26a83
29f1a01
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-2
29f1a01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
29f1a01
Josef Stribny 86fb37d
* Fri Mar 07 2014 Josef Stribny <jstribny@redhat.com> - 2.0.1-1
Josef Stribny 86fb37d
- Update to 2.0.1
Josef Stribny 86fb37d
Josef Stribny 98bdb58
* Thu Aug 08 2013 Josef Stribny <jstribny@redhat.com> - 2.0.0-3
Josef Stribny 98bdb58
- Enable tests
Josef Stribny 98bdb58
Josef Stribny 3571b7a
* Wed Jul 31 2013 Josef Stribny <jstribny@redhat.com> - 2.0.0-2
Josef Stribny 3571b7a
- Disable tests for now due to broken deps in Rails
Josef Stribny 3571b7a
Josef Stribny 3571b7a
* Mon Jul 22 2013 Josef Stribny <jstribny@redhat.com> - 2.0.0-1
Josef Stribny 3571b7a
- Initial package