Package gem-validates-lengths-from-database: 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 | %define gemname validates_lengths_from_database Name: gem-validates-lengths-from-database Version: 0.8.0.1 Release: alt0.1 Summary: Introspects your database string field maximum lengths and automatically defines length validations License: MIT Group: Development/Ruby Url: https://github.com/rubiety/validates_lengths_from_database Vcs: https://github.com/rubiety/validates_lengths_from_database.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(activesupport) >= 4 BuildRequires: gem(rspec) >= 2.0 BuildRequires: gem(appraisal) >= 2.0 BuildRequires: gem(pg) >= 0.17.1 BuildRequires: gem(rdoc) >= 3.12 BuildRequires: gem(i18n) >= 0 BuildRequires: gem(iconv) >= 1.0.4 BuildRequires: gem(activerecord) >= 4 BuildConflicts: gem(rspec) >= 4 BuildConflicts: gem(appraisal) >= 3 BuildConflicts: gem(pg) >= 2 BuildConflicts: gem(rdoc) >= 7 BuildConflicts: gem(rake) >= 14 BuildConflicts: gem(iconv) >= 1.1 %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 rdoc >= 6.1.1,rdoc < 7 %ruby_use_gem_dependency rspec >= 3.10.0,rspec < 4 %ruby_use_gem_dependency pg >= 1.3.5,pg < 2 %ruby_alias_names validates_lengths_from_database,validates-lengths-from-database Requires: gem(activerecord) >= 4 Obsoletes: ruby-validates_lengths_from_database < %EVR Provides: ruby-validates_lengths_from_database = %EVR Provides: gem(validates_lengths_from_database) = 0.8.0.1 %ruby_use_gem_version validates_lengths_from_database:0.8.0.1 %description Few people add length validations to fields in their database, and when saving such fields that have exhausted their length, an SQL error occurs. This gem introspects your table schema for maximum lengths on string and text fields and automatically adds length validations to the model. %package -n gem-validates-lengths-from-database-doc Version: 0.8.0.1 Release: alt0.1 Summary: Introspects your database string field maximum lengths and automatically defines length validations documentation files Summary(ru_RU.UTF-8): Файлы сведений для самоцвета validates_lengths_from_database Group: Development/Documentation BuildArch: noarch Requires: gem(validates_lengths_from_database) = 0.8.0.1 %description -n gem-validates-lengths-from-database-doc Introspects your database string field maximum lengths and automatically defines length validations documentation files. Few people add length validations to fields in their database, and when saving such fields that have exhausted their length, an SQL error occurs. This gem introspects your table schema for maximum lengths on string and text fields and automatically adds length validations to the model. %description -n gem-validates-lengths-from-database-doc -l ru_RU.UTF-8 Файлы сведений для самоцвета validates_lengths_from_database. %package -n gem-validates-lengths-from-database-devel Version: 0.8.0.1 Release: alt0.1 Summary: Introspects your database string field maximum lengths and automatically defines length validations development package Summary(ru_RU.UTF-8): Файлы для разработки самоцвета validates_lengths_from_database Group: Development/Ruby BuildArch: noarch Requires: gem(validates_lengths_from_database) = 0.8.0.1 Requires: gem(activesupport) >= 4 Requires: gem(rspec) >= 2.0 Requires: gem(appraisal) >= 2.0 Requires: gem(pg) >= 0.17.1 Requires: gem(rdoc) >= 3.12 Requires: gem(i18n) >= 0 Requires: gem(iconv) >= 1.0.4 Conflicts: gem(rspec) >= 4 Conflicts: gem(appraisal) >= 3 Conflicts: gem(pg) >= 2 Conflicts: gem(rdoc) >= 7 Conflicts: gem(rake) >= 14 Conflicts: gem(iconv) >= 1.1 %description -n gem-validates-lengths-from-database-devel Introspects your database string field maximum lengths and automatically defines length validations development package. Few people add length validations to fields in their database, and when saving such fields that have exhausted their length, an SQL error occurs. This gem introspects your table schema for maximum lengths on string and text fields and automatically adds length validations to the model. %description -n gem-validates-lengths-from-database-devel -l ru_RU.UTF-8 Файлы для разработки самоцвета validates_lengths_from_database. %prep %setup %build %ruby_build %install %ruby_install %check %ruby_test %files %doc README.rdoc %ruby_gemspec %ruby_gemlibdir %files -n gem-validates-lengths-from-database-doc %doc README.rdoc %ruby_gemdocdir %files -n gem-validates-lengths-from-database-devel %doc README.rdoc %changelog * Thu Jan 26 2023 Pavel Skrylev <majioa@altlinux.org> 0.8.0.1-alt0.1 - ^ 0.8.0 -> 0.8.0[1] * Wed May 06 2020 Pavel Skrylev <majioa@altlinux.org> 0.8.0-alt1 - > Ruby Policy 2.0 - ^ 0.7.0 -> 0.8.0 - ! spec tags * Mon Sep 24 2018 Pavel Skrylev <majioa@altlinux.org> 0.7.0-alt1 - Initial gemified build for Sisyphus |