1 |
%define oname sass |
%define oname sass |
2 |
|
|
3 |
Name: ruby-%{oname} |
Name: ruby-%{oname} |
4 |
Version: 3.1.19 |
Version: 3.2.2 |
5 |
Release: %mkrel 1 |
Release: %mkrel 1 |
6 |
Summary: CSS Generator |
Summary: CSS Generator |
7 |
License: GPLv2+ |
License: GPLv2+ |
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 |
|
BuildRequires: rubygem(maruku) >= 0.5.9 |
|
|
Requires: rubygem(fssm) = 0.1.4 |
|
|
Requires: ruby(abi) = 1.8 |
|
12 |
BuildArch: noarch |
BuildArch: noarch |
13 |
|
|
14 |
%description |
%description |
15 |
Sass makes CSS fun again. Sass is an extension of CSS3, 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. |
Sass makes CSS fun again. Sass is an extension of CSS3, adding nested rules, |
16 |
|
variables, mixins, selector inheritance, and more. It's translated to |
17 |
|
well-formatted, standard CSS using the command line tool or a web-framework |
18 |
|
plugin. |
19 |
|
|
20 |
#------------------------------------------------------------------------------- |
#------------------------------------------------------------------------------- |
21 |
%package doc |
%package doc |
35 |
%gem_build -f^VERSION |
%gem_build -f^VERSION |
36 |
|
|
37 |
%install |
%install |
|
rm -rf %{buildroot} |
|
38 |
%gem_install |
%gem_install |
39 |
|
|
40 |
rm -rf %{buildroot}%{ruby_gemdir}/gems/%{oname}-%{version}/.yardoc |
rm -rf %{buildroot}%{ruby_gemdir}/gems/%{oname}-%{version}/.yardoc |
41 |
|
|
42 |
%files |
%files |
43 |
%defattr(-,root,root,-) |
%{_bindir}/sass |
44 |
%{_bindir}/haml |
%{_bindir}/sass-convert |
45 |
%{_bindir}/html2haml |
%{_bindir}/scss |
46 |
%dir %{ruby_gemdir}/gems/%{oname}-%{version}/ |
%dir %{ruby_gemdir}/gems/%{oname}-%{version}/ |
47 |
%{ruby_gemdir}/gems/%{oname}-%{version}/bin |
%{ruby_gemdir}/gems/%{oname}-%{version}/bin |
48 |
%{ruby_gemdir}/gems/%{oname}-%{version}/lib |
%{ruby_gemdir}/gems/%{oname}-%{version}/lib |
50 |
%{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec |
%{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec |
51 |
|
|
52 |
%files doc |
%files doc |
|
%defattr(-,root,root,-) |
|
53 |
%doc %{ruby_gemdir}/doc/%{oname}-%{version} |
%doc %{ruby_gemdir}/doc/%{oname}-%{version} |