Пакет gem-stackprof: 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 | %define gemname stackprof Name: gem-stackprof Version: 0.2.19 Release: alt1 Summary: sampling callstack-profiler for ruby 2.2+ License: MIT Group: Development/Ruby Url: http://github.com/tmm1/stackprof Vcs: https://github.com/tmm1/stackprof/tree/v0.2.19.git Packager: Pavel Skrylev <majioa@altlinux.org> Source: %name-%version.tar BuildRequires(pre): rpm-build-ruby BuildRequires: gem(rake-compiler) >= 0.9 gem(rake-compiler) < 2 BuildRequires: gem(mocha) >= 0.14 gem(mocha) < 2 BuildRequires: gem(minitest) >= 5.0 gem(minitest) < 6 %add_findreq_skiplist %ruby_gemslibdir/**/* %add_findprov_skiplist %ruby_gemslibdir/**/* %ruby_use_gem_dependency mocha >= 1.11.2,mocha < 2 %ruby_use_gem_dependency rake-compiler >= 1.1.2,rake-compiler < 2 Provides: gem(stackprof) = 0.2.19 %description stackprof is a fast sampling profiler for ruby code, with cpu, wallclock and object allocation samplers. %package -n stackprof Version: 0.2.19 Release: alt1 Summary: sampling callstack-profiler for ruby 2.2+ executable(s) Summary(ru_RU.UTF-8): Исполнямка для самоцвета stackprof Group: Other BuildArch: noarch Requires: gem(stackprof) = 0.2.19 %description -n stackprof sampling callstack-profiler for ruby 2.2+ executable(s). stackprof is a fast sampling profiler for ruby code, with cpu, wallclock and object allocation samplers. %description -n stackprof -l ru_RU.UTF-8 Исполнямка для самоцвета stackprof. %package -n gem-stackprof-doc Version: 0.2.19 Release: alt1 Summary: sampling callstack-profiler for ruby 2.2+ documentation files Summary(ru_RU.UTF-8): Файлы сведений для самоцвета stackprof Group: Development/Documentation BuildArch: noarch Requires: gem(stackprof) = 0.2.19 %description -n gem-stackprof-doc sampling callstack-profiler for ruby 2.2+ documentation files. stackprof is a fast sampling profiler for ruby code, with cpu, wallclock and object allocation samplers. %description -n gem-stackprof-doc -l ru_RU.UTF-8 Файлы сведений для самоцвета stackprof. %package -n gem-stackprof-devel Version: 0.2.19 Release: alt1 Summary: sampling callstack-profiler for ruby 2.2+ development package Summary(ru_RU.UTF-8): Файлы для разработки самоцвета stackprof Group: Development/Ruby BuildArch: noarch Requires: gem(stackprof) = 0.2.19 Requires: gem(rake-compiler) >= 0.9 gem(rake-compiler) < 2 Requires: gem(mocha) >= 0.14 gem(mocha) < 2 Requires: gem(minitest) >= 5.0 gem(minitest) < 6 %description -n gem-stackprof-devel sampling callstack-profiler for ruby 2.2+ development package. stackprof is a fast sampling profiler for ruby code, with cpu, wallclock and object allocation samplers. %description -n gem-stackprof-devel -l ru_RU.UTF-8 Файлы для разработки самоцвета stackprof. %prep %setup %build %ruby_build %install %ruby_install %check %ruby_test %files %doc README.md vendor/FlameGraph/README %ruby_gemspec %ruby_gemlibdir %ruby_gemextdir %files -n stackprof %doc README.md vendor/FlameGraph/README %_bindir/stackprof %_bindir/stackprof-flamegraph.pl %_bindir/stackprof-gprof2dot.py %files -n gem-stackprof-doc %doc README.md vendor/FlameGraph/README %ruby_gemdocdir %files -n gem-stackprof-devel %doc README.md vendor/FlameGraph/README %changelog * Tue May 17 2022 Pavel Skrylev <majioa@altlinux.org> 0.2.19-alt1 - + packaged gem with Ruby Policy 2.0 |