Package gem-dry-schema: 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 182 183 184 185 186 187 188 189 190 | %define _unpackaged_files_terminate_build 1 %def_disable check %def_enable doc %def_disable devel %define gemname dry-schema Name: gem-dry-schema Version: 1.13.3 Release: alt1 Summary: Coercion and validation for data structures License: MIT Group: Development/Ruby Url: https://dry-rb.org/gems/dry-schema Vcs: https://github.com/dry-rb/dry-schema.git Packager: Ruby Maintainers Team <ruby@packages.altlinux.org> BuildArch: noarch Source: %name-%version.tar BuildRequires(pre): rpm-build-ruby %if_enabled check BuildRequires: gem(rake) >= 12.3.3 BuildRequires: gem(simplecov) >= 0 BuildRequires: gem(simplecov-cobertura) >= 0 BuildRequires: gem(rexml) >= 0 BuildRequires: gem(warning) >= 0 BuildRequires: gem(rubocop) >= 1.15.0 BuildRequires: gem(byebug) >= 0 BuildRequires: gem(bundler) >= 0 BuildRequires: gem(rspec) >= 0 BuildRequires: gem(dry-monads) >= 0 BuildRequires: gem(dry-struct) >= 0 BuildRequires: gem(i18n) >= 1.8.2 BuildRequires: gem(json-schema) >= 0 BuildRequires: gem(transproc) >= 0 BuildRequires: gem(pry-byebug) >= 0 BuildRequires: gem(redcarpet) >= 0 BuildRequires: gem(actionpack) >= 0 BuildRequires: gem(activemodel) >= 0 BuildRequires: gem(benchmark-ips) >= 0 BuildRequires: gem(hotch) >= 0 BuildRequires: gem(virtus) >= 0 BuildRequires: gem(concurrent-ruby) >= 1.0 BuildRequires: gem(dry-configurable) >= 1.0.1 BuildRequires: gem(dry-core) >= 1.0 BuildRequires: gem(dry-initializer) >= 3.0 BuildRequires: gem(dry-logic) >= 1.4 BuildRequires: gem(dry-types) >= 1.7 BuildRequires: gem(zeitwerk) >= 2.6 BuildConflicts: gem(rubocop) >= 2 BuildConflicts: gem(concurrent-ruby) >= 2 BuildConflicts: gem(dry-configurable) >= 2 BuildConflicts: gem(dry-core) >= 2 BuildConflicts: gem(dry-initializer) >= 4 BuildConflicts: gem(dry-logic) >= 2 BuildConflicts: gem(dry-types) >= 2 BuildConflicts: gem(zeitwerk) >= 3 %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 i18n >= 1.10.0,i18n < 2 Requires: gem(concurrent-ruby) >= 1.0 Requires: gem(dry-configurable) >= 1.0.1 Requires: gem(dry-core) >= 1.0 Requires: gem(dry-initializer) >= 3.0 Requires: gem(dry-logic) >= 1.4 Requires: gem(dry-types) >= 1.7 Requires: gem(zeitwerk) >= 2.6 Conflicts: gem(concurrent-ruby) >= 2 Conflicts: gem(dry-configurable) >= 2 Conflicts: gem(dry-core) >= 2 Conflicts: gem(dry-initializer) >= 4 Conflicts: gem(dry-logic) >= 2 Conflicts: gem(dry-types) >= 2 Conflicts: gem(zeitwerk) >= 3 Provides: gem(dry-schema) = 1.13.3 %description dry-schema provides a DSL for defining schemas with keys and rules that should be applied to values. It supports coercion, input sanitization, custom types and localized error messages (with or without I18n gem). It's also used as the schema engine in dry-validation. %if_enabled doc %package -n gem-dry-schema-doc Version: 1.13.3 Release: alt1 Summary: Coercion and validation for data structures documentation files Summary(ru_RU.UTF-8): Файлы сведений для самоцвета dry-schema Group: Development/Documentation BuildArch: noarch Requires: gem(dry-schema) = 1.13.3 %description -n gem-dry-schema-doc Coercion and validation for data structures documentation files. dry-schema provides a DSL for defining schemas with keys and rules that should be applied to values. It supports coercion, input sanitization, custom types and localized error messages (with or without I18n gem). It's also used as the schema engine in dry-validation. %description -n gem-dry-schema-doc -l ru_RU.UTF-8 Файлы сведений для самоцвета dry-schema. %endif %if_enabled devel %package -n gem-dry-schema-devel Version: 1.13.3 Release: alt1 Summary: Coercion and validation for data structures development package Summary(ru_RU.UTF-8): Файлы для разработки самоцвета dry-schema Group: Development/Ruby BuildArch: noarch Requires: gem(dry-schema) = 1.13.3 Requires: gem(rake) >= 12.3.3 Requires: gem(simplecov) >= 0 Requires: gem(simplecov-cobertura) >= 0 Requires: gem(rexml) >= 0 Requires: gem(warning) >= 0 Requires: gem(rubocop) >= 1.15.0 Requires: gem(byebug) >= 0 Requires: gem(bundler) >= 0 Requires: gem(rspec) >= 0 Requires: gem(dry-monads) >= 0 Requires: gem(dry-struct) >= 0 Requires: gem(i18n) >= 1.8.2 Requires: gem(json-schema) >= 0 Requires: gem(transproc) >= 0 Requires: gem(pry-byebug) >= 0 Requires: gem(redcarpet) >= 0 Requires: gem(actionpack) >= 0 Requires: gem(activemodel) >= 0 Requires: gem(benchmark-ips) >= 0 Requires: gem(hotch) >= 0 Requires: gem(virtus) >= 0 Conflicts: gem(rubocop) >= 2 %description -n gem-dry-schema-devel Coercion and validation for data structures development package. dry-schema provides a DSL for defining schemas with keys and rules that should be applied to values. It supports coercion, input sanitization, custom types and localized error messages (with or without I18n gem). It's also used as the schema engine in dry-validation. %description -n gem-dry-schema-devel -l ru_RU.UTF-8 Файлы для разработки самоцвета dry-schema. %endif %prep %setup %build %ruby_build %install %ruby_install %check %ruby_test %files %doc README.md %ruby_gemspec %ruby_gemlibdir %if_enabled doc %files -n gem-dry-schema-doc %doc README.md %ruby_gemdocdir %endif %if_enabled devel %files -n gem-dry-schema-devel %doc README.md %endif %changelog * Mon Mar 25 2024 Pavel Skrylev <majioa@altlinux.org> 1.13.3-alt1 - + packaged gem with Ruby Policy 2.0 |