Package gem-crass: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | %define gemname crass Name: gem-crass Version: 1.0.6 Release: alt1 Summary: A Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification License: MIT Group: Development/Ruby Url: https://github.com/rgrove/crass/ Vcs: https://github.com/rgrove/crass.git Packager: Ruby Maintainers Team <ruby@packages.altlinux.org> BuildArch: noarch Source: %name-%version.tar BuildRequires(pre): rpm-build-ruby %if_with check BuildRequires: gem(minitest) >= 5.0.8 BuildRequires: gem(rake) >= 10.1.0 BuildConflicts: gem(minitest) >= 6 BuildConflicts: gem(rake) >= 14 %endif %add_findreq_skiplist %ruby_gemslibdir/**/* %add_findprov_skiplist %ruby_gemslibdir/**/* %ruby_use_gem_dependency rake >= 13.0.1,rake < 14 %ruby_use_gem_dependency minitest >= 5.17.0,minitest < 6 Obsoletes: ruby-crass < %EVR Provides: ruby-crass = %EVR Provides: gem(crass) = 1.0.6 %description Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Features: * Pure Ruby, with no runtime dependencies other than Ruby 1.9.x or higher. * Tokenizes and parses CSS according to the rules defined in the 14 November 2014 editor's draft of the CSS Syntax Level 3 specification. * Extremely tolerant of broken or invalid CSS. If a browser can handle it, Crass should be able to handle it too. * Optionally includes comments in the token stream. * Optionally preserves certain CSS hacks, such as the IE "*" hack, which would otherwise be discarded according to CSS3 tokenizing rules. * Capable of serializing the parse tree back to CSS while maintaining all original whitespace, comments, and indentation. %package -n gem-crass-doc Version: 1.0.6 Release: alt1 Summary: A Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification documentation files Summary(ru_RU.UTF-8): Файлы сведений для самоцвета crass Group: Development/Documentation BuildArch: noarch Requires: gem(crass) = 1.0.6 %description -n gem-crass-doc A Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification documentation files. Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Features: * Pure Ruby, with no runtime dependencies other than Ruby 1.9.x or higher. * Tokenizes and parses CSS according to the rules defined in the 14 November 2014 editor's draft of the CSS Syntax Level 3 specification. * Extremely tolerant of broken or invalid CSS. If a browser can handle it, Crass should be able to handle it too. * Optionally includes comments in the token stream. * Optionally preserves certain CSS hacks, such as the IE "*" hack, which would otherwise be discarded according to CSS3 tokenizing rules. * Capable of serializing the parse tree back to CSS while maintaining all original whitespace, comments, and indentation. %description -n gem-crass-doc -l ru_RU.UTF-8 Файлы сведений для самоцвета crass. %package -n gem-crass-devel Version: 1.0.6 Release: alt1 Summary: A Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification development package Summary(ru_RU.UTF-8): Файлы для разработки самоцвета crass Group: Development/Ruby BuildArch: noarch Requires: gem(crass) = 1.0.6 Requires: gem(minitest) >= 5.0.8 Requires: gem(rake) >= 10.1.0 Conflicts: gem(minitest) >= 6 Conflicts: gem(rake) >= 14 %description -n gem-crass-devel A Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification development package. Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Features: * Pure Ruby, with no runtime dependencies other than Ruby 1.9.x or higher. * Tokenizes and parses CSS according to the rules defined in the 14 November 2014 editor's draft of the CSS Syntax Level 3 specification. * Extremely tolerant of broken or invalid CSS. If a browser can handle it, Crass should be able to handle it too. * Optionally includes comments in the token stream. * Optionally preserves certain CSS hacks, such as the IE "*" hack, which would otherwise be discarded according to CSS3 tokenizing rules. * Capable of serializing the parse tree back to CSS while maintaining all original whitespace, comments, and indentation. %description -n gem-crass-devel -l ru_RU.UTF-8 Файлы для разработки самоцвета crass. %prep %setup %build %ruby_build %install %ruby_install %check %ruby_test %files %doc README.md %ruby_gemspec %ruby_gemlibdir %files -n gem-crass-doc %doc README.md %ruby_gemdocdir %files -n gem-crass-devel %doc README.md %changelog * Fri Jan 27 2023 Pavel Skrylev <majioa@altlinux.org> 1.0.6-alt1 - ^ 1.0.5 -> 1.0.6 * Wed Aug 25 2021 Pavel Skrylev <majioa@altlinux.org> 1.0.5-alt1 - ^ 1.0.4 -> 1.0.5 * Tue May 04 2021 Andrey Cherepanov <cas@altlinux.org> 1.0.4-alt2 - FTBFS: Set correct python3 library directory for python scripts. * Wed Jul 11 2018 Andrey Cherepanov <cas@altlinux.org> 1.0.4-alt1.1 - Rebuild with new Ruby autorequirements. * Thu Jun 14 2018 Andrey Cherepanov <cas@altlinux.org> 1.0.4-alt1 - Initial build for Sisyphus |