/[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 1826769 - (hide annotations) (download)
Fri Mar 25 20:47:25 2022 UTC (2 years ago) by umeabot
File size: 1565 byte(s)
Mageia 9 Mass Rebuild
1 shlomif 259006 %define oname sass
2    
3     Name: ruby-%{oname}
4 pterjan 1561764 Version: 3.7.4
5 umeabot 1826769 Release: %mkrel 2
6 shlomif 259006 Summary: CSS Generator
7     License: GPLv2+
8     Group: Development/Ruby
9     URL: http://haml-lang.com/
10 danf 1777716 Source0: https://rubygems.org/downloads/%{oname}-%{version}.gem
11 shlomif 259006 BuildRequires: rubygems
12 doktor5000 911193 # to run the tests
13     BuildRequires: ruby-minitest
14 shlomif 259006 BuildArch: noarch
15    
16     %description
17 shlomif 259008 Sass makes CSS fun again. Sass is an extension of CSS3, adding nested rules,
18     variables, mixins, selector inheritance, and more. It's translated to
19     well-formatted, standard CSS using the command line tool or a web-framework
20 shlomif 279449 plugin.
21 shlomif 259006
22     #-------------------------------------------------------------------------------
23     %package doc
24     Summary: Documentation for %{name}
25     Group: Development/Ruby
26     Requires: %{name} = %{version}-%{release}
27    
28     %description doc
29     Documents, Rdoc & RI documentation for %{name}.
30     #-------------------------------------------------------------------------------
31    
32     %prep
33 fwang 491381 %gem_setup
34 shlomif 259006
35     %build
36 pterjan 567398 %gem_build
37 shlomif 259006
38     %install
39     %gem_install
40 pterjan 562490 rm -rf %{buildroot}%{gem_instdir}/.yardoc
41 pterjan 567398 cp -a VERSION* %{buildroot}%{gem_instdir}/
42 shlomif 259006
43 doktor5000 911193 # FIXME: those files contain the buildroot inside them, remove them for now
44     # ruby gem installation should be fixed so this doesn't happen
45     rm -f %{buildroot}%{gem_docdir}/rdoc/js/{searcher,navigation,search_index}.js.gz
46    
47     %check
48     pushd %{buildroot}%{gem_instdir}
49     ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
50     popd
51    
52 shlomif 259006 %files
53 shlomif 259008 %{_bindir}/sass
54     %{_bindir}/sass-convert
55     %{_bindir}/scss
56 pterjan 567398 %{gem_instdir}
57 pterjan 562490 %{gem_spec}
58 shlomif 259006
59     %files doc
60 pterjan 562490 %doc %{gem_docdir}

  ViewVC Help
Powered by ViewVC 1.1.30