diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..211f428 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/sass-3.4.19.gem diff --git a/.rh-ror42-rubygem-sass.metadata b/.rh-ror42-rubygem-sass.metadata new file mode 100644 index 0000000..bd19662 --- /dev/null +++ b/.rh-ror42-rubygem-sass.metadata @@ -0,0 +1 @@ +49b4c4587a9c3994800b7edc682824a07ae39b45 SOURCES/sass-3.4.19.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.spec b/SPECS/rubygem-sass.spec new file mode 100644 index 0000000..95aee30 --- /dev/null +++ b/SPECS/rubygem-sass.spec @@ -0,0 +1,154 @@ +%{?scl:%scl_package rubygem-%{gem_name}} +%{!?scl:%global pkg_name %{name}} + +# Generated from sass-3.1.4.gem by gem2rpm -*- rpm-spec -*- +%global gem_name sass + +Name: %{?scl_prefix}rubygem-%{gem_name} +Version: 3.4.19 +Release: 4%{?dist} +Summary: A powerful but elegant CSS compiler that makes CSS fun again +Group: Development/Languages +License: MIT +URL: http://sass-lang.com/ +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem + +Requires: %{?scl_prefix_ruby}ruby(rubygems) +Requires: %{?scl_prefix_ruby}ruby(release) +BuildRequires: %{?scl_prefix_ruby}ruby(release) +BuildRequires: %{?scl_prefix_ruby}rubygems-devel +BuildRequires: %{?scl_prefix_ruby}rubygem(minitest) +BuildArch: noarch +Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version} + +%description +Sass makes CSS fun again. Sass is an extension of CSS, adding +nested rules, variables, mixins, selector inheritance, and more. +It's translated to well-formatted, standard CSS using the +command line tool or a web-framework plugin. + +%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} + +pushd .%{gem_instdir} +# Remove bundled rubygem-listener: +# https://github.com/nex3/sass/issues/458 +rm -rf vendor +popd + +%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 +%{?scl:scl enable %{scl} - << \EOF} +pushd .%{gem_instdir} +ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' +popd +%{?scl:EOF} + +%files +%dir %{gem_instdir} +%{_bindir}/sass +%{_bindir}/sass-convert +%{_bindir}/scss +%exclude %{gem_instdir}/.* +%{gem_instdir}/CODE_OF_CONDUCT.md +%license %{gem_instdir}/MIT-LICENSE +%doc %{gem_instdir}/REVISION +%{gem_instdir}/VERSION +%{gem_instdir}/VERSION_DATE +%{gem_instdir}/VERSION_NAME +%{gem_instdir}/bin +%dir %{gem_instdir}/extra +%{gem_instdir}/extra/update_watch.rb +%{gem_instdir}/init.rb +%{gem_libdir} +%dir %{gem_instdir}/rails +%{gem_instdir}/rails/init.rb +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%doc %{gem_instdir}/CONTRIBUTING.md +%doc %{gem_instdir}/README.md +%{gem_instdir}/Rakefile +%{gem_instdir}/test + +%changelog +* Thu Feb 25 2016 Pavel Valena - 3.4.19-4 +- Update to 3.4.19 + +* Mon Jan 26 2015 Josef Stribny - 3.3.8-1 +- Update to 3.3.8 + +* Fri Mar 21 2014 Vít Ondruch - 3.2.6-2 +- Rebuid against new scl-utils to depend on -runtime package. + Resolves: rhbz#1069109 + +* Wed Jun 12 2013 Josef Stribny - 3.2.6-1 +- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 +- Update to sass 3.2.6. +- Own extra and rails directories (rhbz#911648). + +* Thu Apr 25 2013 Vít Ondruch - 3.1.20-3 +- Own extra and rails directories (rhbz#911648, rhbz#956236). + +* Thu Jul 26 2012 Bohuslav Kabrda - 3.1.20-2 +- Rebuilt for SCL. + +* Mon Jul 23 2012 Vít Ondruch - 3.1.20-1 +- Update to sass 3.1.20. + +* Sat Jul 21 2012 Fedora Release Engineering - 3.1.7-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jan 31 2012 Bohuslav Kabrda - 3.1.7-6 +- Rebuilt for Ruby 1.9.3. + +* Sat Jan 14 2012 Fedora Release Engineering - 3.1.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jul 22 2011 Chris Lalancette - 3.1.4-4 +- Add patches to make sass work in Fedora + +* Thu Jul 21 2011 Mo Morsi - 3.1.4-3 +- changed ruby(fssm) dep to rubygem(fssm) + +* Thu Jul 14 2011 Mo Morsi - 3.1.4-2 +- corrected license, whitespace fixes + +* Wed Jul 13 2011 Mo Morsi - 3.1.4-1 +- Initial package