Пакет gem-setup: 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 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 | %define pkgname setup Name: gem-%pkgname Version: 5.999.4 Release: alt9 Summary: Ruby's Classic Site Installer Group: Development/Ruby License: BSD-2-Clause Url: https://github.com/rubyworks/setup Vcs: https://github.com/majioa/setup.git Packager: Ruby Maintainers Team <ruby@packages.altlinux.org> BuildArch: noarch Source: %name-%version.tar Patch: patch.patch BuildRequires(pre): rpm-build-ruby Requires: chrpath Requires: setup-rb %description Every well practiced Rubyist is aware of Minero Aoki's ever setup.rb script. It's how most of us used to install our Ruby programs before RubyGems came along. And it's still mighty useful in certain scenarios, not the least of which is the job of the distro package maintainer. Ruby Setup converts setup.rb into a stand-alone application. No longer requiring the distribution of the setup.rb script with every Ruby package. Just instruct one's users to install Ruby Setup (gem install setup) and go from there. As long as a project is setup.rb compliant, as most are, then there is little to nothing it's developer must do. %package -n setup-rb Summary: Executable file for %gemname gem Summary(ru_RU.UTF-8): Исполнямка для самоцвета %gemname Group: Development/Ruby BuildArch: noarch %description -n setup-rb Executable file for %gemname gem. %description -n setup-rb -l ru_RU.UTF8 Исполнямка для %gemname самоцвета. %package doc Summary: Documentation files for %gemname gem Summary(ru_RU.UTF-8): Файлы сведений для самоцвета %gemname Group: Development/Documentation BuildArch: noarch %description doc Documentation files for %gemname gem. %description doc -l ru_RU.UTF8 Файлы сведений для самоцвета %gemname. %prep %setup %patch -p1 sed "/version/i \$:.unshift('/usr/src/RPM/BUILD/gem-setup-5.999.4/lib')" -i bin/setup.rb %build export PATH=$PATH:$(pwd)/bin %__setup_rb build --use=setup --alias=setup-rb --version-replace=%version %install export PATH=$PATH:$(pwd)/bin %__setup_rb install --install_prefix=%buildroot %check export PATH=$PATH:$(pwd)/bin %__setup_rb test %files %doc README* HISTORY* %ruby_gemspec %ruby_gemlibdir %files -n setup-rb %doc README* %_bindir/setup.rb %files doc %ruby_gemdocdir %changelog * Sun Apr 25 2021 Pavel Skrylev <majioa@altlinux.org> 5.999.4-alt9 - ! replaces req prefix ruby-gem with gem - ! other things * Tue Dec 29 2020 Pavel Skrylev <majioa@altlinux.org> 5.999.4-alt8 - ! ls-files of git to list proper files - * renamed compile to make action - ! pre key now to affect only make action * Thu Dec 17 2020 Pavel Skrylev <majioa@altlinux.org> 5.999.4-alt7 - ! proper detection for requires / provides - * sort the uniq requires for combined targets * Wed Dec 02 2020 Pavel Skrylev <majioa@altlinux.org> 5.999.4-alt6 - ! workaround to remove the "!ruby/array:Files" from yaml * Sun Nov 22 2020 Pavel Skrylev <majioa@altlinux.org> 5.999.4-alt5 - ! trash in provides for packages with prebuild task enabled * Tue Sep 15 2020 Pavel Skrylev <majioa@altlinux.org> 5.999.4-alt4 - + using gut ls-files when no git app * Mon Jul 13 2020 Pavel Skrylev <majioa@altlinux.org> 5.999.4-alt3 - ! gemfile dep export in one line when dep name is the same - ! spec syntax * Thu Jul 09 2020 Pavel Skrylev <majioa@altlinux.org> 5.999.4-alt2 - - additional config path part for config folder for gem target * Tue Jun 30 2020 Pavel Skrylev <majioa@altlinux.org> 5.999.4-alt1 - ^ 5.999.3 -> 5.999.4 - + actor module - + 3 actors: copy, link, touch - + dep-source command line key, to define a name of a source for the specified used source, and set to show requires - + append and skip lists support in source gem and gemfile - + check to wheither the gemfile is exist, if no skip install - + echoe spec core extension module - + echo gemspec parser - + gemspec detector for bones gemspec types - + bones extension for core - + blank method to replace embedded one in gem's specification class - + autorequire for olddoc and wrongdoc modules if no - + simple replacement for gem olddoc - + simple replacement for gem wrongdoc - + check to wheither the gemfile is exist, if no skip install - + log module - - unnecessary deps - - duplication extfiles due to block in gem source module - * installation of compiled modules by actors - * gemspec scheme enumeration and requiring - * name of rakefile to package task gemspec load - * gemspecs evaluating and loading in module space for bones, echoe, hoe and package task - * proper loading Rakefile into named module instead of unnamed to allowing root level defined methods access - ! rookbook gemspec detector * Wed Apr 08 2020 Pavel Skrylev <majioa@altlinux.org> 5.999.3-alt15 - - explicit use of prefixes key in build section * Wed Apr 08 2020 Pavel Skrylev <majioa@altlinux.org> 5.999.3-alt14 - + default prefixes to 'gem' value * Wed Apr 08 2020 Pavel Skrylev <majioa@altlinux.org> 5.999.3-alt13 - + separation prefixes and suffixes when detection the context (lib/bin/...) - ! lost prefixes key into build macro (fixes #38337) * Wed Apr 01 2020 Pavel Skrylev <majioa@altlinux.org> 5.999.3-alt12 - - erroneous glob lib ext method * Thu Mar 19 2020 Pavel Skrylev <majioa@altlinux.org> 5.999.3-alt11 - * libdir replaced to libexecdir for ruby site target * Thu Mar 05 2020 Pavel Skrylev <majioa@altlinux.org> 5.999.3-alt10 - ! call to setup.rb with default pure %%__setup_rb * Mon Sep 09 2019 Pavel Skrylev <majioa@altlinux.org> 5.999.3-alt9 - ! spec according changlelog policy - + making lost executables again workable (closes #37180) * Mon Aug 21 2019 Pavel Skrylev <majioa@altlinux.org> 5.999.3-alt8 - - mistake in dependecies detection for Gemfile source - ! default datadir to libdir for site ruby packages - ! getting task list from MultiTask instead of Task - + load rake task imports before executio pre tasks - ! state dir for gem target from localstatedir to datadir - + logdir option, and its processing - ! installer's group methods - ! options parser for sources to make both key and value changeable - ! options pass via parser for rakefile source - ! object class options store to specfic one by changing from @@ to @. - + ronn man detection and compilation - + prefixes command line parameter: gem,ruby... - + source directory groups command line parameters: --src<param>dirs - ! source module parameter parsing - + String#pluralize - + spec selection from Gem::PackageTask object for Rakefile - - Require dirs detection mistake, not filters out only path with the beginning '/' - - Hoe presence detection error - + Rookbook gemspec parser (example: erubis gem) - - Olddoc syntax typo - - Hoe syntax typo - + try load hoe gem in the beginning of the how gemspec module - + support for group trees instead of file lists in sources - - installation module to support trees - - compilation modules supporting trees - - dep module supporting trees - - bin group name to exe in sources and targets - - include group name to inc in sources and targets - - etc group name to conf in sources and targets - - lost methods in ruby target - + some kernel methods - - Prefix remove alias "rails-plugin" for packages - - Gemfile installation for the Gemfile source is used for gem version replacements - - ERROR msg profix replaced with WARN - - fix DSL dependenciy replace list for #to_gemfile - - added compatibility call to external program to do some things for the action with --compat=/path/to/program - - fixed name of the gem file to Gemfile - - fix loading and saving version replace list for the common and source parts - - added gem replace verison list argument to gemfile source * Tue Apr 30 2019 Pavel Skrylev <majioa@altlinux.org> 5.999.3-alt7 - Set default external CP to UTF8 * Tue Apr 23 2019 Pavel Skrylev <majioa@altlinux.org> 5.999.3-alt6 - - added default value for __dir__ variable, when loading Rakefile info a module, this fixes unknown error when adding the var info "$:" - - separated Hoe gemspec detector from the Rakefile one leading to correct evaluation of Rakefile in main space - - Now old shebang args in the ruby executables will be passed to new shebang line - - Fix sequence so Rakefile will be proceeded before Olddoc gemspecs. - - Rakefile gemspec detector not will not fall when rakefile name is nil - ! Redone gemspec procedure detection so sequence of gemspecs will be affected rather than filelist as before - Parse olddoc gemspecs before rakefile ones - Disable adaptive configuration on .so compilation, so extconf.rb will be run anytime - + save aliases also for project and sources - + add #has_name? to Source::Base to match alises also - + hot on-source-load gem source version replacement - + command line for source version replacement called as --version-replace - + added call to chrpath binary to remove RPATH from .so during compile action - - Merged detection of the gemfile in hoe or plain rakefile - - Removed hoe/debug module - + inferring gemfile from Rakefile, so when spec is defined in the Rakefile it will be detected - - Fix class name for target ruby from erroneous Site to Ruby - - Fix install folder for i586 arch, so .so files will be installed by using x86 arch * Sat Apr 06 2019 Pavel Skrylev <majioa@altlinux.org> 5.999.3-alt5 - fix req deps on executables when they are already installed only - set autoalias on binaries only for its source not others, and when no other source names match the binary * Tue Apr 02 2019 Pavel Skrylev <majioa@altlinux.org> 5.999.3-alt4 - load Gemfile by temporary changing the root when creating the bundler's DSL * Wed Mar 27 2019 Pavel Skrylev <majioa@altlinux.org> 5.999.3-alt3 - fix requires deps detection over executable's shebang line * Fri Mar 22 2019 Pavel Skrylev <majioa@altlinux.org> 5.999.3-alt2 - Added novel approach to detect the dependencies of packages * Sun Mar 17 2019 Pavel Skrylev <majioa@altlinux.org> 5.999.3-alt1 - Bump to 5.999.3 * Thu Mar 14 2019 Pavel Skrylev <majioa@altlinux.org> 5.999.2-alt1 - Bump to 5.999.2 - Use Ruby Policy 2.0 * Mon Mar 11 2019 Pavel Skrylev <majioa@altlinux.org> 5.999.1-alt1 - Bump to 5.999.1 * Fri Jan 25 2019 Pavel Skrylev <majioa@altlinux.org> 5.999.0-alt1 - Initial gemified build for Sisyphus with usage Ruby Policy 2.0. |