Package gem-reek: 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 | %define _unpackaged_files_terminate_build 1 %define gemname reek Name: gem-reek Version: 6.1.4 Release: alt1 Summary: Code smell detector for Ruby License: MIT Group: Development/Ruby Url: https://github.com/troessner/reek Vcs: https://github.com/troessner/reek.git Packager: Pavel Skrylev <majioa@altlinux.org> BuildArch: noarch Source: %name-%version.tar BuildRequires(pre): rpm-build-ruby %if_with check BuildRequires: gem(aruba) >= 2.1 BuildRequires: gem(codeclimate-engine-rb) >= 0.4.0 BuildRequires: gem(cucumber) >= 8.0 BuildRequires: gem(kramdown) >= 2.1 BuildRequires: gem(kramdown-parser-gfm) >= 1.0 BuildRequires: gem(rake) >= 13.0 BuildRequires: gem(rspec) >= 3.0 BuildRequires: gem(rspec-benchmark) >= 0.6.0 BuildRequires: gem(rubocop) >= 1.15.0 BuildRequires: gem(rubocop-performance) >= 1.11.3 BuildRequires: gem(rubocop-rspec) >= 2.4.0 BuildRequires: gem(simplecov) >= 0.17 BuildRequires: gem(yard) >= 0.9.5 BuildRequires: gem(redcarpet) >= 3.4 BuildRequires: gem(pry) >= 0.13.1 BuildRequires: gem(kwalify) >= 0.7.0 BuildRequires: gem(parser) >= 3.2.0 BuildRequires: gem(rainbow) >= 2.0 BuildConflicts: gem(aruba) >= 3 BuildConflicts: gem(codeclimate-engine-rb) >= 0.5 BuildConflicts: gem(cucumber) >= 9 BuildConflicts: gem(kramdown) >= 3 BuildConflicts: gem(kramdown-parser-gfm) >= 2 BuildConflicts: gem(rake) >= 14 BuildConflicts: gem(rspec) >= 4 BuildConflicts: gem(rspec-benchmark) >= 0.7 BuildConflicts: gem(rubocop) >= 2 BuildConflicts: gem(rubocop-performance) >= 2 BuildConflicts: gem(rubocop-rspec) >= 3 BuildConflicts: gem(simplecov) >= 1 BuildConflicts: gem(yard) >= 1 BuildConflicts: gem(redcarpet) >= 4 BuildConflicts: gem(pry) >= 1 BuildConflicts: gem(kwalify) >= 0.8 BuildConflicts: gem(parser) >= 3.3 BuildConflicts: gem(rainbow) >= 4 %endif %add_findreq_skiplist %ruby_gemslibdir/**/* %add_findprov_skiplist %ruby_gemslibdir/**/* %ruby_use_gem_dependency rubocop >= 1.15.0,rubocop < 2 %ruby_use_gem_dependency simplecov >= 0.17,simplecov < 1 %ruby_use_gem_dependency pry >= 0.13.1,pry < 1 %ruby_use_gem_dependency rubocop-rspec >= 2.4.0,rubocop-rspec < 3 %ruby_use_gem_dependency rubocop-performance >= 1.11.3,rubocop-performance < 2 %ruby_use_gem_dependency yard >= 0.9.34,yard < 1 Requires: gem(kwalify) >= 0.7.0 Requires: gem(parser) >= 3.2.0 Requires: gem(rainbow) >= 2.0 Conflicts: gem(kwalify) >= 0.8 Conflicts: gem(parser) >= 3.3 Conflicts: gem(rainbow) >= 4 Provides: gem(reek) = 6.1.4 %ruby_bindir_to %ruby_bindir %description Reek is a tool that examines Ruby classes, modules and methods and reports any code smells it finds. %package -n reek Version: 6.1.4 Release: alt1 Summary: Code smell detector for Ruby executable(s) Summary(ru_RU.UTF-8): Исполнямка для самоцвета reek Group: Other BuildArch: noarch Requires: gem(reek) = 6.1.4 %description -n reek Code smell detector for Ruby executable(s). Reek is a tool that examines Ruby classes, modules and methods and reports any code smells it finds. %description -n reek -l ru_RU.UTF-8 Исполнямка для самоцвета reek. %package -n gem-reek-doc Version: 6.1.4 Release: alt1 Summary: Code smell detector for Ruby documentation files Summary(ru_RU.UTF-8): Файлы сведений для самоцвета reek Group: Development/Documentation BuildArch: noarch Requires: gem(reek) = 6.1.4 %description -n gem-reek-doc Code smell detector for Ruby documentation files. Reek is a tool that examines Ruby classes, modules and methods and reports any code smells it finds. %description -n gem-reek-doc -l ru_RU.UTF-8 Файлы сведений для самоцвета reek. %prep %setup %build %ruby_build %install %ruby_install %check %ruby_test %files %doc README.md %ruby_gemspec %ruby_gemlibdir %files -n reek %doc README.md %ruby_bindir/code_climate_reek %ruby_bindir/reek %files -n gem-reek-doc %doc README.md %ruby_gemdocdir %changelog * Sat Dec 02 2023 Pavel Skrylev <majioa@altlinux.org> 6.1.4-alt1 - ^ 6.1.1 -> 6.1.4 without devel * Tue Nov 01 2022 Pavel Skrylev <majioa@altlinux.org> 6.1.1-alt1 - + packaged gem with Ruby Policy 2.0 |