Пакет gem-gitlab: 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 | %define _unpackaged_files_terminate_build 1 %def_enable check %def_enable doc %def_enable devel %define gemname gitlab Name: gem-gitlab Version: 4.19.0 Release: alt1 Summary: A Ruby wrapper and CLI for the GitLab API License: BSD-2-Clause Group: Development/Ruby Url: https://github.com/NARKOZ/gitlab Vcs: https://github.com/narkoz/gitlab.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) >= 0 BuildRequires: gem(rspec) >= 0 BuildRequires: gem(webmock) >= 0 BuildRequires: gem(pry) >= 0 BuildRequires: gem(rubocop) >= 0 BuildRequires: gem(rubocop-performance) >= 0 BuildRequires: gem(rubocop-rspec) >= 0 BuildRequires: gem(httparty) >= 0.20 BuildRequires: gem(terminal-table) >= 1.5.1 BuildConflicts: gem(httparty) >= 1 %endif %add_findreq_skiplist %ruby_gemslibdir/**/* %add_findprov_skiplist %ruby_gemslibdir/**/* Requires: gem(httparty) >= 0.20 Requires: gem(terminal-table) >= 1.5.1 Conflicts: gem(httparty) >= 1 Provides: gem(gitlab) = 4.19.0 %description Ruby client and CLI for GitLab API %package -n gitlab Version: 4.19.0 Release: alt1 Summary: A Ruby wrapper and CLI for the GitLab API executable(s) Summary(ru_RU.UTF-8): Исполнямка для самоцвета gitlab Group: Other BuildArch: noarch Requires: gem(gitlab) = 4.19.0 %description -n gitlab A Ruby wrapper and CLI for the GitLab API executable(s). Ruby client and CLI for GitLab API %description -n gitlab -l ru_RU.UTF-8 Исполнямка для самоцвета gitlab. %if_enabled doc %package -n gem-gitlab-doc Version: 4.19.0 Release: alt1 Summary: A Ruby wrapper and CLI for the GitLab API documentation files Summary(ru_RU.UTF-8): Файлы сведений для самоцвета gitlab Group: Development/Documentation BuildArch: noarch Requires: gem(gitlab) = 4.19.0 %description -n gem-gitlab-doc A Ruby wrapper and CLI for the GitLab API documentation files. Ruby client and CLI for GitLab API %description -n gem-gitlab-doc -l ru_RU.UTF-8 Файлы сведений для самоцвета gitlab. %endif %if_enabled devel %package -n gem-gitlab-devel Version: 4.19.0 Release: alt1 Summary: A Ruby wrapper and CLI for the GitLab API development package Summary(ru_RU.UTF-8): Файлы для разработки самоцвета gitlab Group: Development/Ruby BuildArch: noarch Requires: gem(gitlab) = 4.19.0 Requires: gem(rake) >= 0 Requires: gem(rspec) >= 0 Requires: gem(webmock) >= 0 Requires: gem(pry) >= 0 Requires: gem(rubocop) >= 0 Requires: gem(rubocop-performance) >= 0 Requires: gem(rubocop-rspec) >= 0 %description -n gem-gitlab-devel A Ruby wrapper and CLI for the GitLab API development package. Ruby client and CLI for GitLab API %description -n gem-gitlab-devel -l ru_RU.UTF-8 Файлы для разработки самоцвета gitlab. %endif %prep %setup %build %ruby_build %install %ruby_install %check %ruby_test %files %doc README.md %ruby_gemspec %ruby_gemlibdir %files -n gitlab %doc README.md %_bindir/gitlab %if_enabled doc %files -n gem-gitlab-doc %doc README.md %ruby_gemdocdir %endif %if_enabled devel %files -n gem-gitlab-devel %doc README.md %endif %changelog * Fri Mar 15 2024 Pavel Skrylev <majioa@altlinux.org> 4.19.0-alt1 - + packaged gem with Ruby Policy 2.0 |