Package gem-with-env: 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 | %define _unpackaged_files_terminate_build 1 %define gemname with_env Name: gem-with-env Version: 1.1.0 Release: alt1 Summary: WithEnv is an extremely small helper module for executing code with ENV variables License: MIT Group: Development/Ruby Url: https://github.com/mhs/with_env-rb Vcs: https://github.com/mhs/with_env-rb.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(bundler) >= 1.10 BuildRequires: gem(rake) >= 10.0 BuildRequires: gem(rspec) >= 3 BuildConflicts: gem(bundler) >= 3 BuildConflicts: gem(rake) >= 14 BuildConflicts: gem(rspec) >= 4 %endif %add_findreq_skiplist %ruby_gemslibdir/**/* %add_findprov_skiplist %ruby_gemslibdir/**/* %ruby_use_gem_dependency bundler >= 2.1.4,bundler < 3 %ruby_use_gem_dependency rake >= 13.1.0,rake < 14 Provides: gem(with_env) = 1.1.0 %description WithEnv is an extremely small helper module for executing code with ENV variables. It exists because I got tired of re-writing or copying over a \#with_env helper method for the 131st time. %package -n gem-with-env-doc Version: 1.1.0 Release: alt1 Summary: WithEnv is an extremely small helper module for executing code with ENV variables documentation files Summary(ru_RU.UTF-8): Файлы сведений для самоцвета with_env Group: Development/Documentation BuildArch: noarch Requires: gem(with_env) = 1.1.0 %description -n gem-with-env-doc WithEnv is an extremely small helper module for executing code with ENV variables documentation files. WithEnv is an extremely small helper module for executing code with ENV variables. It exists because I got tired of re-writing or copying over a \#with_env helper method for the 131st time. %description -n gem-with-env-doc -l ru_RU.UTF-8 Файлы сведений для самоцвета with_env. %package -n gem-with-env-devel Version: 1.1.0 Release: alt1 Summary: WithEnv is an extremely small helper module for executing code with ENV variables development package Summary(ru_RU.UTF-8): Файлы для разработки самоцвета with_env Group: Development/Ruby BuildArch: noarch Requires: gem(with_env) = 1.1.0 Requires: gem(bundler) >= 1.10 Requires: gem(rake) >= 10.0 Requires: gem(rspec) >= 3 Conflicts: gem(bundler) >= 3 Conflicts: gem(rake) >= 14 Conflicts: gem(rspec) >= 4 %description -n gem-with-env-devel WithEnv is an extremely small helper module for executing code with ENV variables development package. WithEnv is an extremely small helper module for executing code with ENV variables. It exists because I got tired of re-writing or copying over a \#with_env helper method for the 131st time. %description -n gem-with-env-devel -l ru_RU.UTF-8 Файлы для разработки самоцвета with_env. %prep %setup %build %ruby_build %install %ruby_install %check %ruby_test %files %doc README.md %ruby_gemspec %ruby_gemlibdir %files -n gem-with-env-doc %doc README.md %ruby_gemdocdir %files -n gem-with-env-devel %doc README.md %changelog * Tue Dec 05 2023 Pavel Skrylev <majioa@altlinux.org> 1.1.0-alt1 - + packaged gem with Ruby Policy 2.0 |