1 |
%define oname sass |
%define oname sass |
2 |
|
|
3 |
Name: ruby-%{oname} |
Name: ruby-%{oname} |
4 |
Version: 3.2.19 |
Version: 3.4.20 |
5 |
Release: %mkrel 3 |
Release: %mkrel 1 |
6 |
Summary: CSS Generator |
Summary: CSS Generator |
7 |
License: GPLv2+ |
License: GPLv2+ |
8 |
Group: Development/Ruby |
Group: Development/Ruby |
9 |
URL: http://haml-lang.com/ |
URL: http://haml-lang.com/ |
10 |
Source0: http://rubygems.org/downloads/%{oname}-%{version}.gem |
Source0: http://rubygems.org/downloads/%{oname}-%{version}.gem |
11 |
BuildRequires: rubygems |
BuildRequires: rubygems |
12 |
|
# to run the tests |
13 |
|
BuildRequires: ruby-minitest |
14 |
BuildArch: noarch |
BuildArch: noarch |
15 |
|
|
16 |
%description |
%description |
40 |
rm -rf %{buildroot}%{gem_instdir}/.yardoc |
rm -rf %{buildroot}%{gem_instdir}/.yardoc |
41 |
cp -a VERSION* %{buildroot}%{gem_instdir}/ |
cp -a VERSION* %{buildroot}%{gem_instdir}/ |
42 |
|
|
43 |
|
# FIXME: those files contain the buildroot inside them, remove them for now |
44 |
|
# ruby gem installation should be fixed so this doesn't happen |
45 |
|
rm -f %{buildroot}%{gem_docdir}/rdoc/js/{searcher,navigation,search_index}.js.gz |
46 |
|
|
47 |
|
%check |
48 |
|
pushd %{buildroot}%{gem_instdir} |
49 |
|
ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' |
50 |
|
popd |
51 |
|
|
52 |
%files |
%files |
53 |
%{_bindir}/sass |
%{_bindir}/sass |
54 |
%{_bindir}/sass-convert |
%{_bindir}/sass-convert |