1 |
%define oname sass |
2 |
|
3 |
Name: ruby-%{oname} |
4 |
Version: 3.2.11 |
5 |
Release: %mkrel 5 |
6 |
Summary: CSS Generator |
7 |
License: GPLv2+ |
8 |
Group: Development/Ruby |
9 |
URL: http://haml-lang.com/ |
10 |
Source0: http://rubygems.org/downloads/%{oname}-%{version}.gem |
11 |
BuildRequires: rubygems |
12 |
BuildArch: noarch |
13 |
|
14 |
%description |
15 |
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 |
22 |
Summary: Documentation for %{name} |
23 |
Group: Development/Ruby |
24 |
Requires: %{name} = %{version}-%{release} |
25 |
|
26 |
%description doc |
27 |
Documents, Rdoc & RI documentation for %{name}. |
28 |
#------------------------------------------------------------------------------- |
29 |
|
30 |
%prep |
31 |
%gem_setup |
32 |
|
33 |
%build |
34 |
%gem_build |
35 |
|
36 |
%install |
37 |
%gem_install |
38 |
rm -rf %{buildroot}%{gem_instdir}/.yardoc |
39 |
cp -a VERSION* %{buildroot}%{gem_instdir}/ |
40 |
|
41 |
%files |
42 |
%{_bindir}/sass |
43 |
%{_bindir}/sass-convert |
44 |
%{_bindir}/scss |
45 |
%{gem_instdir} |
46 |
%{gem_spec} |
47 |
|
48 |
%files doc |
49 |
%doc %{gem_docdir} |