1 |
shlomif |
259006 |
%define oname sass |
2 |
|
|
|
3 |
|
|
Name: ruby-%{oname} |
4 |
shlomif |
330391 |
Version: 3.2.3 |
5 |
umeabot |
396454 |
Release: %mkrel 3 |
6 |
shlomif |
259006 |
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 |
shlomif |
259008 |
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 |
shlomif |
279449 |
plugin. |
19 |
shlomif |
259006 |
|
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 |
|
|
%setup -q |
32 |
|
|
tar xmf data.tar.gz |
33 |
|
|
|
34 |
|
|
%build |
35 |
|
|
%gem_build -f^VERSION |
36 |
|
|
|
37 |
|
|
%install |
38 |
|
|
%gem_install |
39 |
|
|
|
40 |
|
|
rm -rf %{buildroot}%{ruby_gemdir}/gems/%{oname}-%{version}/.yardoc |
41 |
|
|
|
42 |
|
|
%files |
43 |
shlomif |
259008 |
%{_bindir}/sass |
44 |
|
|
%{_bindir}/sass-convert |
45 |
|
|
%{_bindir}/scss |
46 |
shlomif |
259006 |
%dir %{ruby_gemdir}/gems/%{oname}-%{version}/ |
47 |
|
|
%{ruby_gemdir}/gems/%{oname}-%{version}/bin |
48 |
|
|
%{ruby_gemdir}/gems/%{oname}-%{version}/lib |
49 |
|
|
%{ruby_gemdir}/gems/%{oname}-%{version}/VERSION* |
50 |
|
|
%{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec |
51 |
|
|
|
52 |
|
|
%files doc |
53 |
|
|
%doc %{ruby_gemdir}/doc/%{oname}-%{version} |