Package gem-standard: 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 | %define gemname standard Name: gem-standard Version: 1.1.1 Release: alt1 Summary: Ruby Style Guide, with linter & automatic code fixer License: ALT-XFree86-other and MIT Group: Development/Ruby Url: https://github.com/testdouble/standard Vcs: https://github.com/testdouble/standard.git Packager: Pavel Skrylev <majioa@altlinux.org> BuildArch: noarch Source: %name-%version.tar BuildRequires(pre): rpm-build-ruby BuildRequires: gem(rubocop) >= 1.13.0 gem(rubocop) < 2 BuildRequires: gem(rubocop-performance) >= 1.11.2 %add_findreq_skiplist %ruby_gemslibdir/**/* %add_findprov_skiplist %ruby_gemslibdir/**/* %ruby_use_gem_dependency rubocop >= 1.13.0,rubocop < 2 %ruby_use_gem_dependency rubocop-performance >= 1.11.2 Requires: gem(rubocop) >= 1.13.0 gem(rubocop) < 2 Requires: gem(rubocop-performance) >= 1.11.2 Provides: gem(standard) = 1.1.1 %description This gem is a spiritual port of StandardJS and aims to save you (and others!) time in the same three ways: * No configuration. The easiest way to enforce consistent style in your project. Just drop it in. * Automatically format code. Just run standardrb --fix and say goodbye to messy or inconsistent code. * Catch style issues & programmer errors early. Save precious code review time by eliminating back-and-forth between reviewer & contributor. No decisions to make. It just works. Here's a zap lightning talk zap about it. %package -n standardrb Version: 1.1.1 Release: alt1 Summary: Ruby Style Guide, with linter & automatic code fixer executable(s) Summary(ru_RU.UTF-8): Исполнямка для самоцвета standard Group: Other BuildArch: noarch Requires: gem(standard) = 1.1.1 %description -n standardrb Ruby Style Guide, with linter & automatic code fixer executable(s). This gem is a spiritual port of StandardJS and aims to save you (and others!) time in the same three ways: * No configuration. The easiest way to enforce consistent style in your project. Just drop it in. * Automatically format code. Just run standardrb --fix and say goodbye to messy or inconsistent code. * Catch style issues & programmer errors early. Save precious code review time by eliminating back-and-forth between reviewer & contributor. No decisions to make. It just works. Here's a zap lightning talk zap about it. %description -n standardrb -l ru_RU.UTF-8 Исполнямка для самоцвета standard. %package -n gem-standard-doc Version: 1.1.1 Release: alt1 Summary: Ruby Style Guide, with linter & automatic code fixer documentation files Summary(ru_RU.UTF-8): Файлы сведений для самоцвета standard Group: Development/Documentation BuildArch: noarch Requires: gem(standard) = 1.1.1 %description -n gem-standard-doc Ruby Style Guide, with linter & automatic code fixer documentation files. This gem is a spiritual port of StandardJS and aims to save you (and others!) time in the same three ways: * No configuration. The easiest way to enforce consistent style in your project. Just drop it in. * Automatically format code. Just run standardrb --fix and say goodbye to messy or inconsistent code. * Catch style issues & programmer errors early. Save precious code review time by eliminating back-and-forth between reviewer & contributor. No decisions to make. It just works. Here's a zap lightning talk zap about it. %description -n gem-standard-doc -l ru_RU.UTF-8 Файлы сведений для самоцвета standard. %prep %setup %build %ruby_build %install %ruby_install %check %ruby_test %files %doc README.md %ruby_gemspec %ruby_gemlibdir %files -n standardrb %doc README.md %_bindir/standardrb %files -n gem-standard-doc %doc README.md %ruby_gemdocdir %changelog * Tue Jun 22 2021 Pavel Skrylev <majioa@altlinux.org> 1.1.1-alt1 - + packaged gem with Ruby Policy 2.0 |