Пакет gem-concurrent-ruby: 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
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
%define        _unpackaged_files_terminate_build 1
%def_enable    check
%def_enable    doc
%def_enable    devel
%define        gemname concurrent-ruby

Name:          gem-concurrent-ruby
Version:       1.2.3
Release:       alt1
Summary:       Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more
License:       MIT
Group:         Development/Ruby
Url:           http://www.concurrent-ruby.com
Vcs:           https://github.com/ruby-concurrency/concurrent-ruby.git
Packager:      Ruby Maintainers Team <ruby@packages.altlinux.org>

Source1:       concurrent_ruby.jar
Source:        %name-%version.tar
BuildRequires(pre): rpm-build-ruby
BuildRequires: fakegit
%if_enabled check
BuildRequires: gem(rake) >= 13.0
BuildRequires: gem(rake-compiler) > 1.2.4
BuildRequires: gem(rake-compiler-dock) >= 1.0
BuildRequires: gem(pry) >= 0.11
BuildRequires: gem(yard) >= 0.9.0
BuildRequires: gem(redcarpet) >= 3.0
BuildRequires: gem(md-ruby-eval) >= 0.6
BuildRequires: gem(rspec) >= 3.7
BuildRequires: gem(timecop) >= 0.9
BuildRequires: gem(sigdump) >= 0
BuildRequires: gem(simplecov) >= 0.16.0
BuildRequires: gem(coveralls) >= 0.8.2
BuildConflicts: gem(rake) >= 14
BuildConflicts: gem(rake-compiler-dock) >= 2
BuildConflicts: gem(pry) >= 1
BuildConflicts: gem(yard) >= 1
BuildConflicts: gem(redcarpet) >= 4
BuildConflicts: gem(md-ruby-eval) >= 1
BuildConflicts: gem(rspec) >= 4
BuildConflicts: gem(timecop) >= 1
BuildConflicts: gem(simplecov) >= 1
BuildConflicts: gem(coveralls) >= 0.9
%endif

%add_findreq_skiplist %ruby_gemslibdir/**/*
%add_findprov_skiplist %ruby_gemslibdir/**/*
%ruby_use_gem_dependency simplecov >= 0.17,simplecov < 1
%ruby_use_gem_dependency rake-compiler >= 1.1.2,rake-compiler < 2
%ruby_use_gem_dependency yard >= 0.9.34,yard < 1
Obsoletes:     ruby-concurrent-ruby < %EVR
Provides:      ruby-concurrent-ruby = %EVR
Provides:      gem(concurrent-ruby) = 1.2.3

%ruby_on_build_rake_tasks repackage:all

%description
Modern concurrency tools for Ruby. Inspired by Erlang, Clojure, Scala, Haskell,
F#, C#, Java, and classic concurrency patterns.

The design goals of this gem are:

* Be an 'unopinionated' toolbox that provides useful utilities without debating
  which is better or why
* Remain free of external gem dependencies
* Stay true to the spirit of the languages providing inspiration
* But implement in a way that makes sense for Ruby
* Keep the semantics as idiomatic Ruby as possible
* Support features that make sense in Ruby
* Exclude features that don't make sense in Ruby
* Be small, lean, and loosely coupled
* Thread-safety
* Backward compatibility


%package       -n gem-concurrent-ruby-ext
Version:       1.2.3
Release:       alt1
Summary:       Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more
Group:         Development/Ruby

Requires:      gem(concurrent-ruby) = 1.2.3
Provides:      gem(concurrent-ruby-ext) = 1.2.3

%description   -n gem-concurrent-ruby-ext
C extensions to optimize the concurrent-ruby gem when running under MRI. Please
see http://concurrent-ruby.com for more information.


%if_enabled    doc
%package       -n gem-concurrent-ruby-ext-doc
Version:       1.2.3
Release:       alt1
Summary:       Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more documentation files
Summary(ru_RU.UTF-8): Файлы сведений для самоцвета concurrent-ruby-ext
Group:         Development/Documentation
BuildArch:     noarch

Requires:      gem(concurrent-ruby-ext) = 1.2.3

%description   -n gem-concurrent-ruby-ext-doc
Modern concurrency tools including agents, futures, promises, thread pools,
supervisors, and more documentation files.

C extensions to optimize the concurrent-ruby gem when running under MRI. Please
see http://concurrent-ruby.com for more information.
%description   -n gem-concurrent-ruby-ext-doc -l ru_RU.UTF-8
Файлы сведений для самоцвета concurrent-ruby-ext.
%endif


%if_enabled    devel
%package       -n gem-concurrent-ruby-ext-devel
Version:       1.2.3
Release:       alt1
Summary:       Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more development package
Summary(ru_RU.UTF-8): Файлы для разработки самоцвета concurrent-ruby-ext
Group:         Development/Ruby
BuildArch:     noarch

Requires:      gem(concurrent-ruby-ext) = 1.2.3
Requires:      gem(rake) >= 13.0
Requires:      gem(rake-compiler) > 1.2.4
Requires:      gem(rake-compiler-dock) >= 1.0
Requires:      gem(pry) >= 0.11
Requires:      gem(yard) >= 0.9.0
Requires:      gem(redcarpet) >= 3.0
Requires:      gem(md-ruby-eval) >= 0.6
Requires:      gem(rspec) >= 3.7
Requires:      gem(timecop) >= 0.9
Requires:      gem(sigdump) >= 0
Requires:      gem(simplecov) >= 0.16.0
Requires:      gem(coveralls) >= 0.8.2
Conflicts:     gem(rake) >= 14
Conflicts:     gem(rake-compiler-dock) >= 2
Conflicts:     gem(pry) >= 1
Conflicts:     gem(yard) >= 1
Conflicts:     gem(redcarpet) >= 4
Conflicts:     gem(md-ruby-eval) >= 1
Conflicts:     gem(rspec) >= 4
Conflicts:     gem(timecop) >= 1
Conflicts:     gem(simplecov) >= 1
Conflicts:     gem(coveralls) >= 0.9

%description   -n gem-concurrent-ruby-ext-devel
Modern concurrency tools including agents, futures, promises, thread pools,
supervisors, and more development package.

C extensions to optimize the concurrent-ruby gem when running under MRI. Please
see http://concurrent-ruby.com for more information.
%description   -n gem-concurrent-ruby-ext-devel -l ru_RU.UTF-8
Файлы для разработки самоцвета concurrent-ruby-ext.
%endif


%package       -n gem-concurrent-ruby-edge
Version:       0.7.0
Release:       alt1
Summary:       Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more
Group:         Development/Ruby
BuildArch:     noarch

Requires:      gem(concurrent-ruby) >= 1.2.3
Conflicts:     gem(concurrent-ruby) >= 1.3
Provides:      gem(concurrent-ruby-edge) = 0.7.0

%description   -n gem-concurrent-ruby-edge
These features are under active development and may change frequently. They are
expected not to keep backward compatibility (there may also lack tests and
documentation). Semantic versions will be obeyed though. Features developed in
`concurrent-ruby-edge` are expected to move to `concurrent-ruby` when final.
Please see http://concurrent-ruby.com for more information.


%if_enabled    doc
%package       -n gem-concurrent-ruby-edge-doc
Version:       0.7.0
Release:       alt1
Summary:       Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more documentation files
Summary(ru_RU.UTF-8): Файлы сведений для самоцвета concurrent-ruby-edge
Group:         Development/Documentation
BuildArch:     noarch

Requires:      gem(concurrent-ruby-edge) = 0.7.0

%description   -n gem-concurrent-ruby-edge-doc
Modern concurrency tools including agents, futures, promises, thread pools,
supervisors, and more documentation files.

These features are under active development and may change frequently. They are
expected not to keep backward compatibility (there may also lack tests and
documentation). Semantic versions will be obeyed though. Features developed in
`concurrent-ruby-edge` are expected to move to `concurrent-ruby` when final.
Please see http://concurrent-ruby.com for more information.
%description   -n gem-concurrent-ruby-edge-doc -l ru_RU.UTF-8
Файлы сведений для самоцвета concurrent-ruby-edge.
%endif


%if_enabled    devel
%package       -n gem-concurrent-ruby-edge-devel
Version:       0.7.0
Release:       alt1
Summary:       Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more development package
Summary(ru_RU.UTF-8): Файлы для разработки самоцвета concurrent-ruby-edge
Group:         Development/Ruby
BuildArch:     noarch

Requires:      gem(concurrent-ruby-edge) = 0.7.0
Requires:      gem(rake) >= 13.0
Requires:      gem(rake-compiler) > 1.2.4
Requires:      gem(rake-compiler-dock) >= 1.0
Requires:      gem(pry) >= 0.11
Requires:      gem(yard) >= 0.9.0
Requires:      gem(redcarpet) >= 3.0
Requires:      gem(md-ruby-eval) >= 0.6
Requires:      gem(rspec) >= 3.7
Requires:      gem(timecop) >= 0.9
Requires:      gem(sigdump) >= 0
Requires:      gem(simplecov) >= 0.16.0
Requires:      gem(coveralls) >= 0.8.2
Conflicts:     gem(rake) >= 14
Conflicts:     gem(rake-compiler-dock) >= 2
Conflicts:     gem(pry) >= 1
Conflicts:     gem(yard) >= 1
Conflicts:     gem(redcarpet) >= 4
Conflicts:     gem(md-ruby-eval) >= 1
Conflicts:     gem(rspec) >= 4
Conflicts:     gem(timecop) >= 1
Conflicts:     gem(simplecov) >= 1
Conflicts:     gem(coveralls) >= 0.9

%description   -n gem-concurrent-ruby-edge-devel
Modern concurrency tools including agents, futures, promises, thread pools,
supervisors, and more development package.

These features are under active development and may change frequently. They are
expected not to keep backward compatibility (there may also lack tests and
documentation). Semantic versions will be obeyed though. Features developed in
`concurrent-ruby-edge` are expected to move to `concurrent-ruby` when final.
Please see http://concurrent-ruby.com for more information.

%description   -n gem-concurrent-ruby-edge-devel -l ru_RU.UTF-8
Файлы для разработки самоцвета concurrent-ruby-edge.
%endif


%if_enabled    doc
%package       -n gem-concurrent-ruby-doc
Version:       1.2.3
Release:       alt1
Summary:       Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more documentation files
Summary(ru_RU.UTF-8): Файлы сведений для самоцвета concurrent-ruby
Group:         Development/Documentation
BuildArch:     noarch

Requires:      gem(concurrent-ruby) = 1.2.3

%description   -n gem-concurrent-ruby-doc
Modern concurrency tools including agents, futures, promises, thread pools,
supervisors, and more documentation files.

Modern concurrency tools for Ruby. Inspired by Erlang, Clojure, Scala, Haskell,
F#, C#, Java, and classic concurrency patterns.

The design goals of this gem are:

* Be an 'unopinionated' toolbox that provides useful utilities without debating
  which is better or why
* Remain free of external gem dependencies
* Stay true to the spirit of the languages providing inspiration
* But implement in a way that makes sense for Ruby
* Keep the semantics as idiomatic Ruby as possible
* Support features that make sense in Ruby
* Exclude features that don't make sense in Ruby
* Be small, lean, and loosely coupled
* Thread-safety
* Backward compatibility

%description   -n gem-concurrent-ruby-doc -l ru_RU.UTF-8
Файлы сведений для самоцвета concurrent-ruby.
%endif


%if_enabled    devel
%package       -n gem-concurrent-ruby-devel
Version:       1.2.3
Release:       alt1
Summary:       Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more development package
Summary(ru_RU.UTF-8): Файлы для разработки самоцвета concurrent-ruby
Group:         Development/Ruby
BuildArch:     noarch

Requires:      gem(concurrent-ruby) = 1.2.3
Requires:      gem(rake) >= 13.0
Requires:      gem(rake-compiler) > 1.2.4
Requires:      gem(rake-compiler-dock) >= 1.0
Requires:      gem(pry) >= 0.11
Requires:      gem(yard) >= 0.9.0
Requires:      gem(redcarpet) >= 3.0
Requires:      gem(md-ruby-eval) >= 0.6
Requires:      gem(rspec) >= 3.7
Requires:      gem(timecop) >= 0.9
Requires:      gem(sigdump) >= 0
Requires:      gem(simplecov) >= 0.16.0
Requires:      gem(coveralls) >= 0.8.2
Conflicts:     gem(rake) >= 14
Conflicts:     gem(rake-compiler-dock) >= 2
Conflicts:     gem(pry) >= 1
Conflicts:     gem(yard) >= 1
Conflicts:     gem(redcarpet) >= 4
Conflicts:     gem(md-ruby-eval) >= 1
Conflicts:     gem(rspec) >= 4
Conflicts:     gem(timecop) >= 1
Conflicts:     gem(simplecov) >= 1
Conflicts:     gem(coveralls) >= 0.9

%description   -n gem-concurrent-ruby-devel
Modern concurrency tools including agents, futures, promises, thread pools,
supervisors, and more development package.

Modern concurrency tools for Ruby. Inspired by Erlang, Clojure, Scala, Haskell,
F#, C#, Java, and classic concurrency patterns.

The design goals of this gem are:

* Be an 'unopinionated' toolbox that provides useful utilities without debating
  which is better or why
* Remain free of external gem dependencies
* Stay true to the spirit of the languages providing inspiration
* But implement in a way that makes sense for Ruby
* Keep the semantics as idiomatic Ruby as possible
* Support features that make sense in Ruby
* Exclude features that don't make sense in Ruby
* Be small, lean, and loosely coupled
* Thread-safety
* Backward compatibility

%description   -n gem-concurrent-ruby-devel -l ru_RU.UTF-8
Файлы для разработки самоцвета concurrent-ruby.
%endif


%prep
%setup

%build
%ruby_build

%install
%ruby_install
# TODO: de-build-in
install -D -m644 %SOURCE1 %buildroot%ruby_gemlibdir/lib/concurrent-ruby/concurrent/concurrent_ruby.jar

%check
%ruby_test

%files
%doc README.md
%ruby_gemspec
%ruby_gemlibdir

%files         -n gem-concurrent-ruby-ext
%doc README.md
%ruby_gemspecdir/concurrent-ruby-ext-1.2.3.gemspec
%ruby_gemslibdir/concurrent-ruby-ext-1.2.3
%ruby_gemsextdir/concurrent-ruby-ext-1.2.3

%if_enabled    doc
%files         -n gem-concurrent-ruby-ext-doc
%doc README.md
%ruby_gemsdocdir/concurrent-ruby-ext-1.2.3
%endif

%if_enabled    devel
%files         -n gem-concurrent-ruby-ext-devel
%doc README.md
%ruby_includedir/*
%endif

%files         -n gem-concurrent-ruby-edge
%doc README.md
%ruby_gemspecdir/concurrent-ruby-edge-0.7.0.gemspec
%ruby_gemslibdir/concurrent-ruby-edge-0.7.0

%if_enabled    doc
%files         -n gem-concurrent-ruby-edge-doc
%doc README.md
%ruby_gemsdocdir/concurrent-ruby-edge-0.7.0
%endif

%if_enabled    devel
%files         -n gem-concurrent-ruby-edge-devel
%doc README.md
%endif

%if_enabled    doc
%files         -n gem-concurrent-ruby-doc
%doc README.md
%ruby_gemdocdir
%endif

%if_enabled    devel
%files         -n gem-concurrent-ruby-devel
%doc README.md
%endif


%changelog
* Wed Feb 21 2024 Pavel Skrylev <majioa@altlinux.org> 1.2.3-alt1
- ^ 1.2.2 -> 1.2.3

* Tue Apr 11 2023 Pavel Skrylev <majioa@altlinux.org> 1.2.2-alt1
- ^ 1.1.9 -> 1.2.2

* Wed Mar 16 2022 Pavel Skrylev <majioa@altlinux.org> 1.1.9-alt1
- ^ 1.1.7 -> 1.1.9

* Tue Sep 15 2020 Pavel Skrylev <majioa@altlinux.org> 1.1.7-alt2
- ^ 1.1.6 -> 1.1.7

* Tue May 12 2020 Pavel Skrylev <majioa@altlinux.org> 1.1.6-alt2
- + java part

* Tue Mar 31 2020 Pavel Skrylev <majioa@altlinux.org> 1.1.6-alt1
- ^ concurrent-ruby 1.1.5 -> 1.1.6
- ^ concurrent-ruby-ext 1.1.5 -> 1.1.6
- ^ concurrent-ruby-edge 0.5.0 -> 0.6.0
- ! spec syntax

* Fri Mar 22 2019 Pavel Skrylev <majioa@altlinux.org> 1.1.5-alt1
- Bump to 1.1.5

* Mon Jan 21 2019 Pavel Skrylev <majioa@altlinux.org> 1.1.4-alt1
- Bump to 1.1.4;
- Use Ruby Policy 2.0.

* Tue Sep 25 2018 Pavel Skrylev <majioa@altlinux.org> 1.0.5-alt2
- Gemify build for Sisyphus

* Wed Jul 11 2018 Andrey Cherepanov <cas@altlinux.org> 1.0.5-alt1.1
- Rebuild with new Ruby autorequirements.

* Fri Jun 01 2018 Andrey Cherepanov <cas@altlinux.org> 1.0.5-alt1
- Initial build for Sisyphus