1 |
%define oname sass |
%define oname sass |
2 |
|
|
3 |
Name: ruby-%{oname} |
Name: ruby-%{oname} |
4 |
Version: 3.1.19 |
Version: 3.2.9 |
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 |
28 |
#------------------------------------------------------------------------------- |
#------------------------------------------------------------------------------- |
29 |
|
|
30 |
%prep |
%prep |
31 |
%setup -q |
%gem_setup |
|
tar xmf data.tar.gz |
|
32 |
|
|
33 |
%build |
%build |
34 |
%gem_build -f^VERSION |
%gem_build |
35 |
|
|
36 |
%install |
%install |
|
rm -rf %{buildroot} |
|
37 |
%gem_install |
%gem_install |
38 |
|
|
39 |
rm -rf %{buildroot}%{ruby_gemdir}/gems/%{oname}-%{version}/.yardoc |
rm -rf %{buildroot}%{ruby_gemdir}/gems/%{oname}-%{version}/.yardoc |
40 |
|
|
41 |
%files |
%files |
42 |
%defattr(-,root,root,-) |
%{_bindir}/sass |
43 |
%{_bindir}/haml |
%{_bindir}/sass-convert |
44 |
%{_bindir}/html2haml |
%{_bindir}/scss |
45 |
%dir %{ruby_gemdir}/gems/%{oname}-%{version}/ |
%dir %{ruby_gemdir}/gems/%{oname}-%{version}/ |
46 |
%{ruby_gemdir}/gems/%{oname}-%{version}/bin |
%{ruby_gemdir}/gems/%{oname}-%{version}/bin |
47 |
%{ruby_gemdir}/gems/%{oname}-%{version}/lib |
%{ruby_gemdir}/gems/%{oname}-%{version}/lib |
|
%{ruby_gemdir}/gems/%{oname}-%{version}/VERSION* |
|
48 |
%{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec |
%{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec |
49 |
|
|
50 |
%files doc |
%files doc |
|
%defattr(-,root,root,-) |
|
51 |
%doc %{ruby_gemdir}/doc/%{oname}-%{version} |
%doc %{ruby_gemdir}/doc/%{oname}-%{version} |