/[packages]/cauldron/ruby-sass/current/SPECS/ruby-sass.spec
ViewVC logotype

Annotation of /cauldron/ruby-sass/current/SPECS/ruby-sass.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 259006 - (hide annotations) (download)
Sat Jun 9 20:46:57 2012 UTC (7 years, 11 months ago) by shlomif
File size: 1593 byte(s)
imported package ruby-sass
1 shlomif 259006 %define oname sass
2    
3     Name: ruby-%{oname}
4     Version: 3.1.19
5     Release: %mkrel 1
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     BuildRequires: rubygem(maruku) >= 0.5.9
13     Requires: rubygem(fssm) = 0.1.4
14     Requires: ruby(abi) = 1.8
15     BuildArch: noarch
16    
17     %description
18     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.
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     %setup -q
32     tar xmf data.tar.gz
33    
34     %build
35     %gem_build -f^VERSION
36    
37     %install
38     rm -rf %{buildroot}
39     %gem_install
40    
41     rm -rf %{buildroot}%{ruby_gemdir}/gems/%{oname}-%{version}/.yardoc
42    
43     %files
44     %defattr(-,root,root,-)
45     %{_bindir}/haml
46     %{_bindir}/html2haml
47     %dir %{ruby_gemdir}/gems/%{oname}-%{version}/
48     %{ruby_gemdir}/gems/%{oname}-%{version}/bin
49     %{ruby_gemdir}/gems/%{oname}-%{version}/lib
50     %{ruby_gemdir}/gems/%{oname}-%{version}/VERSION*
51     %{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec
52    
53     %files doc
54     %defattr(-,root,root,-)
55     %doc %{ruby_gemdir}/doc/%{oname}-%{version}

  ViewVC Help
Powered by ViewVC 1.1.28