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

Contents of /cauldron/ruby-sass/pristine/SPECS/ruby-sass.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1826849 - (show annotations) (download)
Fri Mar 25 20:58:16 2022 UTC (2 years ago) by schedbot
File size: 1565 byte(s)
Copying release 3.7.4-2.mga9 to pristine/ directory.
1 %define oname sass
2
3 Name: ruby-%{oname}
4 Version: 3.7.4
5 Release: %mkrel 2
6 Summary: CSS Generator
7 License: GPLv2+
8 Group: Development/Ruby
9 URL: http://haml-lang.com/
10 Source0: https://rubygems.org/downloads/%{oname}-%{version}.gem
11 BuildRequires: rubygems
12 # to run the tests
13 BuildRequires: ruby-minitest
14 BuildArch: noarch
15
16 %description
17 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 plugin.
21
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 %gem_setup
34
35 %build
36 %gem_build
37
38 %install
39 %gem_install
40 rm -rf %{buildroot}%{gem_instdir}/.yardoc
41 cp -a VERSION* %{buildroot}%{gem_instdir}/
42
43 # 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 %files
53 %{_bindir}/sass
54 %{_bindir}/sass-convert
55 %{_bindir}/scss
56 %{gem_instdir}
57 %{gem_spec}
58
59 %files doc
60 %doc %{gem_docdir}

  ViewVC Help
Powered by ViewVC 1.1.30