From a87ca9772691294f60e149f20f15f05c63eddae3 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 08:31:33 +0000 Subject: import rh-ror42-rubygem-sass-rails-5.0.4-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3b2d39e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/sass-rails-5.0.4-tests.tgz +SOURCES/sass-rails-5.0.4.gem diff --git a/.rh-ror42-rubygem-sass-rails.metadata b/.rh-ror42-rubygem-sass-rails.metadata new file mode 100644 index 0000000..d83dad1 --- /dev/null +++ b/.rh-ror42-rubygem-sass-rails.metadata @@ -0,0 +1,2 @@ +0bfb8d20aa9810e19e58cf89bd29a3a424d96549 SOURCES/sass-rails-5.0.4-tests.tgz +a13a5c32bcde3a0db987099d523a6e026578b3ff SOURCES/sass-rails-5.0.4.gem diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/rubygem-sass-rails.spec b/SPECS/rubygem-sass-rails.spec new file mode 100644 index 0000000..d8b3ac8 --- /dev/null +++ b/SPECS/rubygem-sass-rails.spec @@ -0,0 +1,124 @@ +%{?scl:%scl_package rubygem-%{gem_name}} +%{!?scl:%global pkg_name %{name}} + +# Generated from sass-rails-3.2.5.gem by gem2rpm -*- rpm-spec -*- +%global gem_name sass-rails + +Name: %{?scl_prefix}rubygem-%{gem_name} +Version: 5.0.4 +Release: 3%{?dist} +Summary: Sass adapter for the Rails asset pipeline +Group: Development/Languages +License: MIT +URL: https://github.com/rails/sass-rails +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +# git clone https://github.com/rails/sass-rails.git && cd sass-rails +# git checkout v5.0.4 && tar czvf sass-rails-5.0.4-tests.tgz ./test +Source1: sass-rails-%{version}-tests.tgz + +Requires: %{?scl_prefix_ruby}ruby(release) +Requires: %{?scl_prefix_ruby}ruby(rubygems) +Requires: %{?scl_prefix}rubygem(railties) >= 4.0.0 +Requires: %{?scl_prefix}rubygem(railties) < 5.0 +Requires: %{?scl_prefix}rubygem(sass) => 3.1 +Requires: %{?scl_prefix}rubygem(sass) < 4 +Requires: %{?scl_prefix}rubygem(sprockets-rails) >= 2.0 +Requires: %{?scl_prefix}rubygem(sprockets-rails) < 4.0 +Requires: %{?scl_prefix}rubygem(sprockets) >= 2.8 +Requires: %{?scl_prefix}rubygem(sprockets) < 4.0 +Requires: %{?scl_prefix}rubygem(tilt) >= 1.1 +Requires: %{?scl_prefix}rubygem(tilt) < 3 +BuildRequires: %{?scl_prefix_ruby}ruby(release) +BuildRequires: %{?scl_prefix_ruby}rubygems-devel +BuildRequires: %{?scl_prefix_ruby}ruby +BuildRequires: %{?scl_prefix_ruby}rubygem(bundler) +BuildRequires: %{?scl_prefix}rubygem(sqlite3) +BuildRequires: %{?scl_prefix}rubygem(tilt) +BuildRequires: %{?scl_prefix}rubygem(rails) +BuildRequires: %{?scl_prefix}rubygem(sass) +BuildArch: noarch +Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version} + +%description +Sass adapter for the Rails asset pipeline. + +%package doc +Summary: Documentation for %{pkg_name} +Group: Documentation +Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release} +BuildArch: noarch + +%description doc +Documentation for %{pkg_name}. + +%prep +%{?scl:scl enable %{scl} - << \EOF} +gem unpack %{SOURCE0} +%{?scl:EOF} + +%setup -q -D -T -n %{gem_name}-%{version} + +%{?scl:scl enable %{scl} - << \EOF} +gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec +%{?scl:EOF} + +%build +%{?scl:scl enable %{scl} - << \EOF} +gem build %{gem_name}.gemspec +%gem_install +%{?scl:EOF} + +%install +mkdir -p %{buildroot}%{gem_dir} +cp -a .%{gem_dir}/* \ + %{buildroot}%{gem_dir}/ + +%check +pushd .%{gem_instdir} +tar xf %{SOURCE1} + +# Copy in .gemspec and use the sass-rails sources +cp %{buildroot}%{gem_spec} sass-rails.gemspec +echo 'gem "sass-rails", :path => "."' >> Gemfile + +%{?scl:scl enable %{scl} - << \EOF} +ruby -I.:test -e 'Dir.glob "test/**/*_test.rb", &method(:require)' +%{?scl:EOF} +popd + +%files +%dir %{gem_instdir} +%license %{gem_instdir}/MIT-LICENSE +%{gem_libdir} +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%doc %{gem_instdir}/README.md + +%changelog +* Wed Mar 02 2016 Pavel Valena - 5.0.4-3 +- Update to 5.0.4 + +* Tue Jul 01 2014 Vít Ondruch - 4.0.3-1 +- Update to sass-rails 4.0.3. + +* Thu Oct 17 2013 Josef Stribny - 4.0.0-2 +- Convert to scl + +* Mon Aug 05 2013 Josef Stribny - 4.0.0-1 +- Update to sass-rails 4.0.0 + +* Sun Aug 04 2013 Fedora Release Engineering - 3.2.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Mar 11 2013 Vít Ondruch - 3.2.6-1 +- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 +- Update to sass-rails 3.2.6. + +* Thu Feb 14 2013 Fedora Release Engineering - 3.2.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Jul 23 2012 Vít Ondruch - 3.2.5-1 +- Initial package