Пакет gem-redcarpet: 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 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | %define _unpackaged_files_terminate_build 1 %def_enable check %def_enable doc %def_enable devel %define gemname redcarpet Name: gem-redcarpet Version: 3.6.0 Release: alt1 Summary: The safe Markdown parser, reloaded License: MIT Group: Development/Ruby Url: https://github.com/vmg/redcarpet Vcs: https://github.com/vmg/redcarpet.git Packager: Ruby Maintainers Team <ruby@packages.altlinux.org> Source: %name-%version.tar BuildRequires(pre): rpm-build-ruby %if_enabled check BuildRequires: gem(rake) >= 13 BuildRequires: gem(rake-compiler) >= 1.1 BuildRequires: gem(test-unit) >= 3.3.5 BuildRequires: gem(benchmark-ips) >= 2.7.2 BuildRequires: gem(bluecloth) >= 2.2.0 BuildRequires: gem(kramdown) >= 1.13.2 BuildConflicts: gem(rake) >= 14 BuildConflicts: gem(rake-compiler) >= 2 BuildConflicts: gem(test-unit) >= 4 BuildConflicts: gem(benchmark-ips) >= 3 BuildConflicts: gem(bluecloth) >= 2.3 BuildConflicts: gem(kramdown) >= 3 %endif %add_findreq_skiplist %ruby_gemslibdir/**/* %add_findprov_skiplist %ruby_gemslibdir/**/* %ruby_use_gem_dependency test-unit >= 3.3.5,test-unit < 4 %ruby_use_gem_dependency kramdown >= 2.3.1,kramdown < 3 %ruby_use_gem_dependency benchmark-ips < 3 Obsoletes: ruby-redcarpet < %EVR Provides: ruby-redcarpet = %EVR Provides: gem(redcarpet) = 3.6.0 %description Redcarpet is a Ruby library for Markdown processing that smells like butterflies and popcorn. %package -n redcarpet Version: 3.6.0 Release: alt1 Summary: The safe Markdown parser, reloaded executable(s) Summary(ru_RU.UTF-8): Исполнямка для самоцвета redcarpet Group: Development/Other BuildArch: noarch Requires: gem(redcarpet) = 3.6.0 %description -n redcarpet The safe Markdown parser, reloaded executable(s). Redcarpet is a Ruby library for Markdown processing that smells like butterflies and popcorn. %description -n redcarpet -l ru_RU.UTF-8 Исполнямка для самоцвета redcarpet. %if_enabled doc %package -n gem-redcarpet-doc Version: 3.6.0 Release: alt1 Summary: The safe Markdown parser, reloaded documentation files Summary(ru_RU.UTF-8): Файлы сведений для самоцвета redcarpet Group: Development/Documentation BuildArch: noarch Requires: gem(redcarpet) = 3.6.0 %description -n gem-redcarpet-doc The safe Markdown parser, reloaded documentation files. Redcarpet is a Ruby library for Markdown processing that smells like butterflies and popcorn. %description -n gem-redcarpet-doc -l ru_RU.UTF-8 Файлы сведений для самоцвета redcarpet. %endif %if_enabled devel %package -n gem-redcarpet-devel Version: 3.6.0 Release: alt1 Summary: The safe Markdown parser, reloaded development package Summary(ru_RU.UTF-8): Файлы для разработки самоцвета redcarpet Group: Development/Ruby BuildArch: noarch Requires: gem(redcarpet) = 3.6.0 Requires: gem(rake) >= 13 Requires: gem(rake-compiler) >= 1.1 Requires: gem(test-unit) >= 3.3.5 Requires: gem(benchmark-ips) >= 2.7.2 Requires: gem(bluecloth) >= 2.2.0 Requires: gem(kramdown) >= 1.13.2 Conflicts: gem(rake) >= 14 Conflicts: gem(rake-compiler) >= 2 Conflicts: gem(test-unit) >= 4 Conflicts: gem(benchmark-ips) >= 3 Conflicts: gem(bluecloth) >= 2.3 Conflicts: gem(kramdown) >= 3 %description -n gem-redcarpet-devel The safe Markdown parser, reloaded development package. Redcarpet is a Ruby library for Markdown processing that smells like butterflies and popcorn. %description -n gem-redcarpet-devel -l ru_RU.UTF-8 Файлы для разработки самоцвета redcarpet. %endif %prep %setup %build %ruby_build %install %ruby_install %check %ruby_test %files %doc README.markdown %ruby_gemspec %ruby_gemlibdir %ruby_gemextdir %files -n redcarpet %doc README.markdown %_bindir/redcarpet %if_enabled doc %files -n gem-redcarpet-doc %doc README.markdown %ruby_gemdocdir %endif %if_enabled devel %files -n gem-redcarpet-devel %doc README.markdown %ruby_includedir/* %endif %changelog * Thu Apr 18 2024 Pavel Skrylev <majioa@altlinux.org> 3.6.0-alt1 - ^ 3.5.1[1] -> 3.6.0 * Tue May 17 2022 Pavel Skrylev <majioa@altlinux.org> 3.5.1.1-alt1 - ^ 3.5.1 -> 3.5.1[.1] * Sat Apr 24 2021 Pavel Skrylev <majioa@altlinux.org> 3.5.1-alt1 - ^ 3.5.0 -> 3.5.1 * Wed Apr 01 2020 Pavel Skrylev <majioa@altlinux.org> 3.5.0-alt1 - ^ 3.4.0 -> 3.5.0 - ! spec tags and syntax * Tue Apr 16 2019 Pavel Skrylev <majioa@altlinux.org> 3.4.0-alt2 - > Ruby Policy 2.0 * Mon Sep 17 2018 Andrey Cherepanov <cas@altlinux.org> 3.4.0-alt1 - New version. * Thu Jul 26 2018 Andrey Cherepanov <cas@altlinux.org> 3.2.3-alt1 - Initial build for Sisyphus |