Пакет 4th: 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
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
%def_enable shared
%def_enable static
%def_disable debug
#--------------------------------------------------------------------------------
%if "%__cc" == "klcc"
%{?_enable_shared:%def_enable kshared}
%set_disable shared
%set_enable static
%endif

%define Name 4tH
Name: 4th
%define lname lib%name
Version: 3.62.2
Release: alt1
Summary: Basic framework for creating application specific scripting languages
Summary(uk_UA.CP1251): \xc1\xe0\xe7\xee\xe2\xe0 \xee\xe1\xee\xeb\xee\xed\xea\xe0 \xe4\xeb\xff \xf1\xf2\xe2\xee\xf0\xe5\xed\xed\xff \xf1\xef\xe5\xf6\xe8\xf4\xb3\xf7\xed\xe8\xf5 \xe4\xeb\xff \xef\xf0\xee\xe3\xf0\xe0\xec \xec\xee\xe2 \xf1\xf6\xe5\xed\xe0\xf0\xb3\xbf\xe2
Summary(ru_RU.CP1251): \xc1\xe0\xe7\xee\xe2\xe0\xff \xee\xe1\xee\xeb\xee\xf7\xea\xe0 \xe4\xeb\xff \xf1\xee\xe7\xe4\xe0\xed\xe8\xff \xf1\xef\xe5\xf6\xe8\xf4\xe8\xf7\xe5\xf1\xea\xe8\xf5 \xe4\xeb\xff \xef\xf0\xee\xe3\xf0\xe0\xec\xec \xff\xe7\xfb\xea\xee\xe2 \xf1\xf6\xe5\xed\xe0\xf0\xe8\xe5\xe2
License: GPLv3+
Group: Development/Other
URL: http://hansoft.come.to/
Source0: %name-%version-unix.tar
Source1: Makefile.ALT
Patch: %name-%version-%release.patch
%{?_enable_shared:Requires: %lname = %version-%release}

%if "%__cc" == "tcc"
BuildRequires: tcc >= 0.9.23-alt3
%endif
%if "%__cc" == "musl-gcc"
BuildRequires: musl-devel
%endif
%if "%__cc" == "klcc"
BuildRequires: klcc >= 2.0.2-alt3
%endif

%description
%Name is basic framework for creating application specific scripting
languages. It is a library of functions centered around a virtual
machine, which guarantees high performance, ease of use and low
overhead. But in the meanwhile %Name has acquired a reputation as an
educational tool. Its simplicity makes it perfectly suited to learn
Forth, from which it has been derived.
This package is an attempt to suit both audiences. It contains
instructions how to modify the package in order to fit your own
requirements. %Name in its current form is a calculator for simple
teletype applications.

%description -l uk_UA.CP1251
%Name - \xf6\xe5 \xe1\xe0\xe7\xee\xe2\xe0 \xee\xe1\xee\xeb\xee\xed\xea\xe0 \xe4\xeb\xff \xf1\xf2\xe2\xee\xf0\xe5\xed\xed\xff \xf1\xef\xe5\xf6\xe8\xf4\xb3\xf7\xed\xe8\xf5 \xe4\xeb\xff \xef\xf0\xee\xe3\xf0\xe0\xec \xec\xee\xe2
\xf1\xf6\xe5\xed\xe0\xf0\xb3\xbf\xe2. \xc0 \xf1\xe0\xec\xe5 - \xe1\xb3\xe1\xeb\xb3\xee\xf2\xe5\xea\xe0 \xf4\xf3\xed\xea\xf6\xb3\xe9 \xed\xe0\xe2\xea\xee\xeb\xee \xe2\xb3\xf0\xf2\xf3\xe0\xeb\xfc\xed\xee\xbf \xec\xe0\xf8\xe8\xed\xe8, \xff\xea\xe0
\xe3\xe0\xf0\xe0\xed\xf2\xf3\xba \xe2\xe8\xf1\xee\xea\xf3 \xef\xf0\xee\xe4\xf3\xea\xf2\xe8\xe2\xed\xb3\xf1\xf2\xfc, \xeb\xe5\xe3\xea\xb3\xf1\xf2\xfc \xe2\xe8\xea\xee\xf0\xe8\xf1\xf2\xe0\xed\xed\xff \xf2\xe0 \xed\xe5\xe7\xed\xe0\xf7\xed\xb3
\xed\xe0\xea\xeb\xe0\xe4\xed\xb3 \xe2\xe8\xf2\xf0\xe0\xf2\xe8. \xc0\xeb\xe5, \xe2 \xf2\xee\xe9 \xe6\xe5 \xf7\xe0\xf1, %Name \xed\xe0\xe1\xf3\xe2 \xf0\xe5\xef\xf3\xf2\xe0\xf6\xb3\xfe \xff\xea \xed\xe0\xe2\xf7\xe0\xeb\xfc\xed\xe8\xe9
\xb3\xed\xf1\xf2\xf0\xf3\xec\xe5\xed\xf2. \xc7\xe0\xe2\xe4\xff\xea\xe8 \xf1\xe2\xee\xbf\xe9 \xef\xf0\xee\xf1\xf2\xee\xf2\xb3 \xe2\xb3\xed \xe2\xb3\xe4\xec\xb3\xed\xed\xee \xef\xb3\xe4\xf5\xee\xe4\xe8\xf2\xfc \xe4\xeb\xff \xed\xe0\xe2\xf7\xe0\xed\xed\xff
Forth'\xf3 (\xe7 \xf7\xee\xe3\xee \xe2\xf1\xe5 \xb3 \xef\xee\xf7\xe8\xed\xe0\xeb\xee\xf1\xff). \xc4\xe0\xed\xe8\xe9 \xef\xe0\xea\xe5\xf2 \xed\xe0\xec\xe0\xe3\xe0\xba\xf2\xfc\xf1\xff \xe1\xf3\xf2\xe8
\xea\xee\xf0\xe8\xf1\xed\xe8\xec \xee\xe1\xee\xec \xe0\xf3\xe4\xe8\xf2\xee\xf0\xb3\xff\xec. ³\xed \xe2\xea\xeb\xfe\xf7\xe0\xba \xe2 \xf1\xe5\xe1\xe5 \xb3\xed\xf1\xf2\xf0\xf3\xea\xf6\xb3\xbf \xe7 \xec\xee\xe4\xe8\xf4\xb3\xea\xe0\xf6\xb3\xbf
\xef\xe0\xea\xe5\xf2\xe0 \xe7\xe0 \xee\xf1\xee\xe1\xe8\xf1\xf2\xe8\xec\xe8 \xe2\xe8\xec\xee\xe3\xe0\xec\xe8. %Name \xe2 \xe9\xee\xe3\xee \xf1\xf3\xf7\xe0\xf1\xed\xb3\xe9 \xf4\xee\xf0\xec\xb3 - \xf6\xe5
\xee\xe1\xf7\xe8\xf1\xeb\xfe\xe2\xe0\xf7 \xe4\xeb\xff \xef\xf0\xee\xf1\xf2\xe8\xf5 \xf2\xe5\xeb\xe5\xf2\xe0\xe9\xef\xed\xe8\xf5 \xef\xf0\xee\xe3\xf0\xe0\xec.

%description -l ru_RU.CP1251
%Name - \xfd\xf2\xee \xe1\xe0\xe7\xee\xe2\xe0\xff \xee\xe1\xee\xeb\xee\xf7\xea\xe0 \xe4\xeb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2\xeb\xe8\xf7\xed\xee \xef\xee\xe4\xf5\xee\xe4\xe8\xf2 \xe4\xeb\xff \xee\xe1\xf3\xf7\xe5\xed\xe8\xff Forth'\xf3 (\xf1 \xf7\xe5\xe3\xee \xe2\xf1\xb8 \xe8 \xed\xe0\xf7\xe8\xed\xe0\xeb\xee\xf1\xfc).
\xc4\xe0\xed\xed\xfb\xe9 \xef\xe0\xea\xe5\xf2 \xef\xfb\xf2\xe0\xe5\xf2\xf1\xff \xe1\xfb\xf2\xfc \xef\xee\xeb\xe5\xe7\xed\xfb\xec \xee\xe1\xee\xe8\xec \xe0\xf3\xe4\xe8\xf2\xee\xf0\xe8\xff\xec. \xce\xed \xe2\xea\xeb\xfe\xf7\xe0\xe5\xf2 \xe2
\xf1\xe5\xe1\xff \xe8\xed\xf1\xf2\xf0\xf3\xea\xf6\xe8\xe8 \xef\xee \xec\xee\xe4\xe8\xf4\xe8\xea\xe0\xf6\xe8\xe8 \xef\xe0\xea\xe5\xf2\xe0 \xf1\xee\xe3\xeb\xe0\xf1\xed\xee \xeb\xe8\xf7\xed\xfb\xf5 \xf2\xf0\xe5\xe1\xee\xe2\xe0\xed\xe8\xe9. %Name
\xe2 \xe5\xe3\xee \xf1\xee\xe2\xf0\xe5\xec\xe5\xed\xed\xee\xe9 \xf4\xee\xf0\xec\xe5 - \xfd\xf2\xee \xe2\xfb\xf7\xe8\xf1\xeb\xe8\xf2\xe5\xeb\xfc \xe4\xeb\xff \xef\xf0\xee\xf1\xf2\xfb\xf5 \xf2\xe5\xeb\xe5\xf2\xe0\xe9\xef\xed\xfb\xf5
\xef\xf0\xee\xe3\xf0\xe0\xec\xec.


%package examples
Group: Development/Other
Summary: Examples for the %Name
Summary(uk_UA.CP1251): \xcf\xf0\xe8\xea\xeb\xe0\xe4\xe8 \xe4\xeb\xff %Name
Summary(ru_RU.CP1251): \xcf\xf0\xe8\xec\xe5\xf0\xfb \xe4\xeb\xff %Name
BuildArch: noarch

%description examples
%Name is basic framework for creating application specific scripting
languages. It is a library of functions centered around a virtual
machine, which guarantees high performance, ease of use and low
overhead. But in the meanwhile %Name has acquired a reputation as an
educational tool. Its simplicity makes it perfectly suited to learn
Forth, from which it has been derived.

This package contains examples for the %Name.

%description -l uk_UA.CP1251 examples
%Name - \xf6\xe5 \xe1\xe0\xe7\xee\xe2\xe0 \xee\xe1\xee\xeb\xee\xed\xea\xe0 \xe4\xeb\xff \xf1\xf2\xe2\xee\xf0\xe5\xed\xed\xff \xf1\xef\xe5\xf6\xe8\xf4\xb3\xf7\xed\xe8\xf5 \xe4\xeb\xff \xef\xf0\xee\xe3\xf0\xe0\xec \xec\xee\xe2
\xf1\xf6\xe5\xed\xe0\xf0\xb3\xbf\xe2. \xc0 \xf1\xe0\xec\xe5 - \xe1\xb3\xe1\xeb\xb3\xee\xf2\xe5\xea\xe0 \xf4\xf3\xed\xea\xf6\xb3\xe9 \xed\xe0\xe2\xea\xee\xeb\xee \xe2\xb3\xf0\xf2\xf3\xe0\xeb\xfc\xed\xee\xbf \xec\xe0\xf8\xe8\xed\xe8, \xff\xea\xe0
\xe3\xe0\xf0\xe0\xed\xf2\xf3\xba \xe2\xe8\xf1\xee\xea\xf3 \xef\xf0\xee\xe4\xf3\xea\xf2\xe8\xe2\xed\xb3\xf1\xf2\xfc, \xeb\xe5\xe3\xea\xb3\xf1\xf2\xfc \xe2\xe8\xea\xee\xf0\xe8\xf1\xf2\xe0\xed\xed\xff \xf2\xe0 \xed\xe5\xe7\xed\xe0\xf7\xed\xb3
\xed\xe0\xea\xeb\xe0\xe4\xed\xb3 \xe2\xe8\xf2\xf0\xe0\xf2\xe8. \xc0\xeb\xe5, \xe2 \xf2\xee\xe9 \xe6\xe5 \xf7\xe0\xf1, %Name \xed\xe0\xe1\xf3\xe2 \xf0\xe5\xef\xf3\xf2\xe0\xf6\xb3\xfe \xff\xea \xed\xe0\xe2\xf7\xe0\xeb\xfc\xed\xe8\xe9
\xb3\xed\xf1\xf2\xf0\xf3\xec\xe5\xed\xf2. \xc7\xe0\xe2\xe4\xff\xea\xe8 \xf1\xe2\xee\xbf\xe9 \xef\xf0\xee\xf1\xf2\xee\xf2\xb3 \xe2\xb3\xed \xe2\xb3\xe4\xec\xb3\xed\xed\xee \xef\xb3\xe4\xf5\xee\xe4\xe8\xf2\xfc \xe4\xeb\xff \xed\xe0\xe2\xf7\xe0\xed\xed\xff
Forth'\xf3 (\xe7 \xf7\xee\xe3\xee \xe2\xf1\xe5 \xb3 \xef\xee\xf7\xe8\xed\xe0\xeb\xee\xf1\xff).

\xc2 \xf6\xfc\xee\xec\xf3 \xef\xe0\xea\xe5\xf2\xb3 \xe7\xed\xe0\xf5\xee\xe4\xff\xf2\xfc\xf1\xff \xef\xf0\xe8\xea\xeb\xe0\xe4\xe8 \xe4\xeb\xff %Name.

%description -l ru_RU.CP1251 examples
%Name - \xfd\xf2\xee \xe1\xe0\xe7\xee\xe2\xe0\xff \xee\xe1\xee\xeb\xee\xf7\xea\xe0 \xe4\xeb\xff \xf1\xee\xe7\xe4\xe0\xed\xe8\xff \xf1\xef\xe5\xf6\xe8\xf4\xe8\xf7\xe5\xf1\xea\xe8\xf5 \xe4\xeb\xff \xef\xf0\xee\xe3\xf0\xe0\xec
\xff\xe7\xfb\xea\xee\xe2 \xf1\xf6\xe5\xed\xe0\xf0\xe8\xe5\xe2. \xc0 \xe8\xec\xe5\xed\xed\xee - \xe1\xe8\xe1\xeb\xe8\xee\xf2\xe5\xea\xe0 \xf4\xf3\xed\xea\xf6\xe8\xe9 \xe2\xee\xea\xf0\xf3\xe3 \xe2\xe8\xf0\xf2\xf3\xe0\xeb\xfc\xed\xee\xe9
\xec\xe0\xf8\xe8\xed\xfb, \xea\xee\xf2\xee\xf0\xe0\xff \xe3\xe0\xf0\xe0\xed\xf2\xe8\xf0\xf3\xe5\xf2 \xe2\xfb\xf1\xee\xea\xf3\xfe \xef\xf0\xee\xe8\xe7\xe2\xee\xe4\xe8\xf2\xe5\xeb\xfc\xed\xee\xf1\xf2\xfc, \xeb\xb8\xe3\xea\xee\xf1\xf2\xfc
\xe8\xf1\xef\xee\xeb\xfc\xe7\xee\xe2\xe0\xed\xe8\xff \xef\xf0\xe8 \xed\xe5\xe7\xed\xe0\xf7\xe8\xf2\xe5\xeb\xfc\xed\xfb\xf5 \xed\xe0\xea\xeb\xe0\xe4\xed\xfb\xf5 \xf0\xe0\xf1\xf5\xee\xe4\xe0\xf5. \xcd\xee, \xe2 \xf2\xee \xe6\xe5 \xe2\xf0\xe5\xec\xff,
%Name \xef\xf0\xe8\xee\xe1\xf0\xb8\xeb \xf0\xe5\xef\xf3\xf2\xe0\xf6\xe8\xfe \xee\xe1\xf3\xf7\xe0\xfe\xf9\xe5\xe3\xee \xe8\xed\xf1\xf2\xf0\xf3\xec\xe5\xed\xf2\xe0. \xc1\xeb\xe0\xe3\xee\xe4\xe0\xf0\xff \xf1\xe2\xee\xe5\xe9 \xef\xf0\xee\xf1\xf2\xee\xf2\xe5
\xee\xed \xee\xf2\xeb\xe8\xf7\xed\xee \xef\xee\xe4\xf5\xee\xe4\xe8\xf2 \xe4\xeb\xff \xee\xe1\xf3\xf7\xe5\xed\xe8\xff Forth'\xf3 (\xf1 \xf7\xe5\xe3\xee \xe2\xf1\xb8 \xe8 \xed\xe0\xf7\xe8\xed\xe0\xeb\xee\xf1\xfc).

\xc2 \xfd\xf2\xee\xec \xef\xe0\xea\xe5\xf2\xe5 \xed\xe0\xf5\xee\xe4\xff\xf2\xf1\xff \xef\xf0\xe8\xec\xe5\xf0\xfb \xe4\xeb\xff %Name.


%if_enabled shared
%package -n %lname
Group: System/Libraries
Summary: %Name shared library
Summary(uk_UA.CP1251): \xc1\xb3\xe1\xeb\xb3\xee\xf2\xe5\xea\xe0 %Name
Summary(ru_RU.CP1251): \xc1\xe8\xe1\xeb\xe8\xee\xf2\xe5\xea\xe0 %Name

%description -n %lname
%Name is basic framework for creating application specific scripting
languages. It is a library of functions centered around a virtual
machine, which guarantees high performance, ease of use and low
overhead. All its basic building blocks (compiler, interpreter,
decompiler, loader and saver) can be called with a single line of C. No
initialization necessary.

This package contains %Name shared library.

%description -n %lname -l uk_UA.CP1251
%Name - \xf6\xe5 \xe1\xe0\xe7\xee\xe2\xe0 \xee\xe1\xee\xeb\xee\xed\xea\xe0 \xe4\xeb\xff \xf1\xf2\xe2\xee\xf0\xe5\xed\xed\xff \xf1\xef\xe5\xf6\xe8\xf4\xb3\xf7\xed\xe8\xf5 \xe4\xeb\xff \xef\xf0\xee\xe3\xf0\xe0\xec \xec\xee\xe2
\xf1\xf6\xe5\xed\xe0\xf0\xb3\xbf\xe2. \xc0 \xf1\xe0\xec\xe5 - \xe1\xb3\xe1\xeb\xb3\xee\xf2\xe5\xea\xe0 \xf4\xf3\xed\xea\xf6\xb3\xe9 \xed\xe0\xe2\xea\xee\xeb\xee \xe2\xb3\xf0\xf2\xf3\xe0\xeb\xfc\xed\xee\xbf \xec\xe0\xf8\xe8\xed\xe8, \xff\xea\xe0
\xe3\xe0\xf0\xe0\xed\xf2\xf3\xba \xe2\xe8\xf1\xee\xea\xf3 \xef\xf0\xee\xe4\xf3\xea\xf2\xe8\xe2\xed\xb3\xf1\xf2\xfc, \xeb\xe5\xe3\xea\xb3\xf1\xf2\xfc \xe2\xe8\xea\xee\xf0\xe8\xf1\xf2\xe0\xed\xed\xff \xf2\xe0 \xed\xe5\xe7\xed\xe0\xf7\xed\xb3
\xed\xe0\xea\xeb\xe0\xe4\xed\xb3 \xe2\xe8\xf2\xf0\xe0\xf2\xe8. \xc2\xf1\xb3 \xe9\xee\xe3\xee \xe1\xe0\xe7\xee\xe2\xb3 \xe2\xe1\xf3\xe4\xee\xe2\xe0\xed\xb3 \xe1\xeb\xee\xea\xe8 (\xf2\xf0\xe0\xed\xf1\xeb\xff\xf2\xee\xf0, \xb3\xed\xf2\xe5\xf0\xef\xf0\xe5\xf2\xe0\xf2\xee\xf0,
\xe4\xe5\xf2\xf0\xe0\xed\xf1\xeb\xff\xf2\xee\xf0, \xe7\xe0\xe2\xe0\xed\xf2\xe0\xe6\xf3\xe2\xe0\xf7 \xf2\xe0 \xe7\xe1\xe5\xf0\xb3\xe3\xe0\xf7) \xec\xee\xe6\xf3\xf2\xfc \xe1\xf3\xf2\xe8 \xe2\xe8\xea\xeb\xe8\xea\xe0\xed\xb3 \xee\xe4\xed\xe8\xec
\xf0\xff\xe4\xea\xee\xec \xe2 C, \xef\xee\xf2\xf0\xe5\xe1\xe8 \xe2 \xb3\xed\xb3\xf6\xb3\xe0\xeb\xb3\xe7\xe0\xf6\xb3\xbf \xed\xe5\xec\xe0\xba.

\xc2 \xf6\xfc\xee\xec\xf3 \xef\xe0\xea\xe5\xf2\xb3 \xe7\xed\xe0\xf5\xee\xe4\xe8\xf2\xfc\xf1\xff \xe1\xb3\xe1\xeb\xb3\xee\xf2\xe5\xea\xe0 %Name.

%description -n %lname -l ru_RU.CP1251
%Name - \xfd\xf2\xee \xe1\xe0\xe7\xee\xe2\xe0\xff \xee\xe1\xee\xeb\xee\xf7\xea\xe0 \xe4\xeb\xff \xf1\xee\xe7\xe4\xe0\xed\xe8\xff \xf1\xef\xe5\xf6\xe8\xf4\xe8\xf7\xe5\xf1\xea\xe8\xf5 \xe4\xeb\xff \xef\xf0\xee\xe3\xf0\xe0\xec
\xff\xe7\xfb\xea\xee\xe2 \xf1\xf6\xe5\xed\xe0\xf0\xe8\xe5\xe2. \xc0 \xe8\xec\xe5\xed\xed\xee - \xe1\xe8\xe1\xeb\xe8\xee\xf2\xe5\xea\xe0 \xf4\xf3\xed\xea\xf6\xe8\xe9 \xe2\xee\xea\xf0\xf3\xe3 \xe2\xe8\xf0\xf2\xf3\xe0\xeb\xfc\xed\xee\xe9
\xec\xe0\xf8\xe8\xed\xfb, \xea\xee\xf2\xee\xf0\xe0\xff \xe3\xe0\xf0\xe0\xed\xf2\xe8\xf0\xf3\xe5\xf2 \xe2\xfb\xf1\xee\xea\xf3\xfe \xef\xf0\xee\xe8\xe7\xe2\xee\xe4\xe8\xf2\xe5\xeb\xfc\xed\xee\xf1\xf2\xfc, \xeb\xb8\xe3\xea\xee\xf1\xf2\xfc
\xe8\xf1\xef\xee\xeb\xfc\xe7\xee\xe2\xe0\xed\xe8\xff \xef\xf0\xe8 \xed\xe5\xe7\xed\xe0\xf7\xe8\xf2\xe5\xeb\xfc\xed\xfb\xf5 \xed\xe0\xea\xeb\xe0\xe4\xed\xfb\xf5 \xf0\xe0\xf1\xf5\xee\xe4\xe0\xf5. \xc2\xf1\xe5 \xe5\xe3\xee \xe1\xe0\xe7\xee\xe2\xfb\xe5
\xe2\xf1\xf2\xf0\xee\xe5\xed\xed\xfb\xe5 \xe1\xeb\xee\xea\xe8 (\xf2\xf0\xe0\xed\xf1\xeb\xff\xf2\xee\xf0, \xe8\xed\xf2\xe5\xf0\xef\xf0\xe5\xf2\xe0\xf2\xee\xf0, \xe4\xe5\xf2\xf0\xe0\xed\xf1\xeb\xff\xf2\xee\xf0, \xe7\xe0\xe3\xf0\xf3\xe7\xf7\xe8\xea \xe8
\xf5\xf0\xe0\xed\xe8\xf2\xe5\xeb\xfc) \xec\xee\xe3\xf3\xf2 \xe1\xfb\xf2\xfc \xe2\xfb\xe7\xe2\xe0\xed\xfb \xee\xe4\xed\xee\xe9 \xf1\xf2\xf0\xee\xea\xee\xe9 \xe2 C, \xed\xe5\xee\xe1\xf5\xee\xe4\xe8\xec\xee\xf1\xf2\xe8 \xe2
\xed\xe8\xf6\xe8\xe0\xeb\xe8\xe7\xe0\xf6\xe8\xe8 \xed\xe5\xf2.

\xc2 \xfd\xf2\xee\xec \xef\xe0\xea\xe5\xf2\xe5 \xed\xe0\xf5\xee\xe4\xe8\xf2\xf1\xff \xe1\xe8\xe1\xeb\xe8\xee\xf2\xe5\xea\xe0 %Name.
%endif

%package -n %lname-devel
Group: Development/C
Summary: Files required to link software that uses %lname
Summary(uk_UA.CP1251): \xd4\xe0\xe9\xeb\xe8, \xed\xe5\xee\xe1\xf5\xb3\xe4\xed\xb3 \xe4\xeb\xff \xeb\xb3\xed\xea\xf3\xe2\xe0\xed\xed\xff \xef\xf0\xee\xe3\xf0\xe0\xec, \xf9\xee \xe2\xe8\xea\xee\xf0\xe8\xf1\xf2\xee\xe2\xf3\xfe\xf2\xfc %lname
Summary(ru_RU.CP1251): \xd4\xe0\xe9\xeb\xfb, \xed\xe5\xee\xe1\xf5\xee\xe4\xe8\xec\xfb\xe5 \xe4\xeb\xff \xeb\xe8\xed\xea\xee\xe2\xe0\xed\xe8\xff \xef\xf0\xee\xe3\xf0\xe0\xec\xec, \xea\xee\xf2\xee\xf0\xfb\xe5 \xe8\xf1\xef\xee\xeb\xfc\xe7\xf3\xfe\xf2 %lname
Requires: %lname%{!?_enable_shared:-devel-static} = %version-%release

%description -n %lname-devel
%Name is basic framework for creating application specific scripting
languages. It is a library of functions centered around a virtual
machine, which guarantees high performance, ease of use and low
overhead. All its basic building blocks (compiler, interpreter,
decompiler, loader and saver) can be called with a single line of C. No
initialization necessary.

This package contains headers for development whith %Name.

%description -n %lname-devel -l uk_UA.CP1251
%Name - \xf6\xe5 \xe1\xe0\xe7\xee\xe2\xe0 \xee\xe1\xee\xeb\xee\xed\xea\xe0 \xe4\xeb\xff \xf1\xf2\xe2\xee\xf0\xe5\xed\xed\xff \xf1\xef\xe5\xf6\xe8\xf4\xb3\xf7\xed\xe8\xf5 \xe4\xeb\xff \xef\xf0\xee\xe3\xf0\xe0\xec \xec\xee\xe2
\xf1\xf6\xe5\xed\xe0\xf0\xb3\xbf\xe2. \xc0 \xf1\xe0\xec\xe5 - \xe1\xb3\xe1\xeb\xb3\xee\xf2\xe5\xea\xe0 \xf4\xf3\xed\xea\xf6\xb3\xe9 \xed\xe0\xe2\xea\xee\xeb\xee \xe2\xb3\xf0\xf2\xf3\xe0\xeb\xfc\xed\xee\xbf \xec\xe0\xf8\xe8\xed\xe8, \xff\xea\xe0
\xe3\xe0\xf0\xe0\xed\xf2\xf3\xba \xe2\xe8\xf1\xee\xea\xf3 \xef\xf0\xee\xe4\xf3\xea\xf2\xe8\xe2\xed\xb3\xf1\xf2\xfc, \xeb\xe5\xe3\xea\xb3\xf1\xf2\xfc \xe2\xe8\xea\xee\xf0\xe8\xf1\xf2\xe0\xed\xed\xff \xf2\xe0 \xed\xe5\xe7\xed\xe0\xf7\xed\xb3
\xed\xe0\xea\xeb\xe0\xe4\xed\xb3 \xe2\xe8\xf2\xf0\xe0\xf2\xe8. \xc2\xf1\xb3 \xe9\xee\xe3\xee \xe1\xe0\xe7\xee\xe2\xb3 \xe2\xe1\xf3\xe4\xee\xe2\xe0\xed\xb3 \xe1\xeb\xee\xea\xe8 (\xf2\xf0\xe0\xed\xf1\xeb\xff\xf2\xee\xf0, \xb3\xed\xf2\xe5\xf0\xef\xf0\xe5\xf2\xe0\xf2\xee\xf0,
\xe4\xe5\xf2\xf0\xe0\xed\xf1\xeb\xff\xf2\xee\xf0, \xe7\xe0\xe2\xe0\xed\xf2\xe0\xe6\xf3\xe2\xe0\xf7 \xf2\xe0 \xe7\xe1\xe5\xf0\xb3\xe3\xe0\xf7) \xec\xee\xe6\xf3\xf2\xfc \xe1\xf3\xf2\xe8 \xe2\xe8\xea\xeb\xe8\xea\xe0\xed\xb3 \xee\xe4\xed\xe8\xec
\xf0\xff\xe4\xea\xee\xec \xe2 C, \xef\xee\xf2\xf0\xe5\xe1\xe8 \xe2 \xb3\xed\xb3\xf6\xb3\xe0\xeb\xb3\xe7\xe0\xf6\xb3\xbf \xed\xe5\xec\xe0\xba.

\xc2 \xf6\xfc\xee\xec\xf3 \xef\xe0\xea\xe5\xf2\xb3 \xe7\xed\xe0\xf5\xee\xe4\xff\xf2\xfc\xf1\xff \xe7\xe0\xe3\xee\xeb\xee\xe2\xea\xe8 \xe4\xeb\xff \xf0\xee\xe7\xf0\xee\xe1\xea\xe8 \xe7 %Name.

%description -n %lname-devel -l ru_RU.CP1251
%Name - \xfd\xf2\xee \xe1\xe0\xe7\xee\xe2\xe0\xff \xee\xe1\xee\xeb\x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\xe8\xea \xe8
\xf5\xf0\xe0\xed\xe8\xf2\xe5\xeb\xfc) \xec\xee\xe3\xf3\xf2 \xe1\xfb\xf2\xfc \xe2\xfb\xe7\xe2\xe0\xed\xfb \xee\xe4\xed\xee\xe9 \xf1\xf2\xf0\xee\xea\xee\xe9 \xe2 C, \xed\xe5\xee\xe1\xf5\xee\xe4\xe8\xec\xee\xf1\xf2\xe8 \xe2
\xed\xe8\xf6\xe8\xe0\xeb\xe8\xe7\xe0\xf6\xe8\xe8 \xed\xe5\xf2.

\xc2 \xfd\xf2\xee\xec \xef\xe0\xea\xe5\xf2\xe5 \xed\xe0\xf5\xee\xe4\xff\xf2\xf1\xff \xe7\xe0\xe3\xee\xeb\xee\xe2\xea\xe8 \xe4\xeb\xff \xf0\xee\xe7\xf0\xe0\xe1\xee\xf2\xea\xe8 \xf1 %Name.


%if_enabled static
%package -n %lname-devel-static
Group: Development/C
Summary: Static %Name library
Summary(uk_UA.CP1251): \xd1\xf2\xe0\xf2\xe8\xf7\xed\xe0 \xe1\xb3\xe1\xeb\xb3\xee\xf2\xe5\xea\xe0 %Name
Summary(ru_RU.CP1251): \xd1\xf2\xe0\xf2\xe8\xf7\xe5\xf1\xea\xe0\xff \xe1\xe8\xe1\xeb\xe8\xee\xf2\xe5\xea\xe0 %Name
Requires: %lname-devel = %version-%release

%description -n %lname-devel-static
%Name is basic framework for creating application specific scripting
languages. It is a library of functions centered around a virtual
machine, which guarantees high performance, ease of use and low
overhead. All its basic building blocks (compiler, interpreter,
decompiler, loader and saver) can be called with a single line of C. No
initialization necessary.

This package contains static %Name library.

%description -n %lname-devel-static -l uk_UA.CP1251
%Name - \xf6\xe5 \xe1\xe0\xe7\xee\xe2\xe0 \xee\xe1\xee\xeb\xee\xed\xea\xe0 \xe4\xeb\xff \xf1\xf2\xe2\xee\xf0\xe5\xed\xed\xff \xf1\xef\xe5\xf6\xe8\xf4\xb3\xf7\xed\xe8\xf5 \xe4\xeb\xff \xef\xf0\xee\xe3\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xe0\xeb\xb3\xe7\xe0\xf6\xb3\xbf \xed\xe5\xec\xe0\xba.

\xc2 \xf6\xfc\xee\xec\xf3 \xef\xe0\xea\xe5\xf2\xb3 \xe7\xed\xe0\xf5\xee\xe4\xe8\xf2\xfc\xf1\xff \xf1\xf2\xe0\xf2\xe8\xf7\xed\xe0 \xe1\xb3\xe1\xeb\xb3\xee\xf2\xe5\xea\xe0 %Name.

%description -n %lname-devel-static -l ru_RU.CP1251
%Name - \xfd\xf2\xee \xe1\xe0\xe7\xee\xe2\xe0\xff \xee\xe1\xee\xeb\xee\xf7\xea\xe0 \xe4\xeb\xff \xf1\xee\xe7\xe4\xe0\xed\xe8\xff \xf1\xef\xe5\xf6\xe8\xf4\xe8\xf7\xe5\xf1\xea\xe8\xf5 \xe4\xeb\xff \xef\xf0\xee\xe3\xf0\xe0\xec
\xff\xe7\xfb\xea\xee\xe2 \xf1\xf6\xe5\xed\xe0\xf0\xe8\xe5\xe2. \xc0 \xe8\xec\xe5\xed\xed\xee - \xe1\xe8\xe1\xeb\xe8\xee\xf2\xe5\xea\xe0 \xf4\xf3\xed\xea\xf6\xe8\xe9 \xe2\xee\xea\xf0\xf3\xe3 \xe2\xe8\xf0\xf2\xf3\xe0\xeb\xfc\xed\xee\xe9
\xec\xe0\xf8\xe8\xed\xfb, \xea\xee\xf2\xee\xf0\xe0\xff \xe3\xe0\xf0\xe0\xed\xf2\xe8\xf0\xf3\xe5\xf2 \xe2\xfb\xf1\xee\xea\xf3\xfe \xef\xf0\xee\xe8\xe7\xe2\xee\xe4\xe8\xf2\xe5\xeb\xfc\xed\xee\xf1\xf2\xfc, \xeb\xb8\xe3\xea\xee\xf1\xf2\xfc
\xe8\xf1\xef\xee\xeb\xfc\xe7\xee\xe2\xe0\xed\xe8\xff \xef\xf0\xe8 \xed\xe5\xe7\xed\xe0\xf7\xe8\xf2\xe5\xeb\xfc\xed\xfb\xf5 \xed\xe0\xea\xeb\xe0\xe4\xed\xfb\xf5 \xf0\xe0\xf1\xf5\xee\xe4\xe0\xf5. \xc2\xf1\xe5 \xe5\xe3\xee \xe1\xe0\xe7\xee\xe2\xfb\xe5
\xe2\xf1\xf2\xf0\xee\xe5\xed\xed\xfb\xe5 \xe1\xeb\xee\xea\xe8 (\xf2\xf0\xe0\xed\xf1\xeb\xff\xf2\xee\xf0, \xe8\xed\xf2\xe5\xf0\xef\xf0\xe5\xf2\xe0\xf2\xee\xf0, \xe4\xe5\xf2\xf0\xe0\xed\xf1\xeb\xff\xf2\xee\xf0, \xe7\xe0\xe3\xf0\xf3\xe7\xf7\xe8\xea \xe8
\xf5\xf0\xe0\xed\xe8\xf2\xe5\xeb\xfc) \xec\xee\xe3\xf3\xf2 \xe1\xfb\xf2\xfc \xe2\xfb\xe7\xe2\xe0\xed\xfb \xee\xe4\xed\xee\xe9 \xf1\xf2\xf0\xee\xea\xee\xe9 \xe2 C, \xed\xe5\xee\xe1\xf5\xee\xe4\xe8\xec\xee\xf1\xf2\xe8 \xe2
\xed\xe8\xf6\xe8\xe0\xeb\xe8\xe7\xe0\xf6\xe8\xe8 \xed\xe5\xf2.

\xc2 \xfd\xf2\xee\xec \xef\xe0\xea\xe5\xf2\xe5 \xed\xe0\xf5\xee\xe4\xe8\xf2\xf1\xff \xf1\xf2\xe0\xf2\xe8\xf7\xe5\xf1\xea\xe0\xff \xe1\xe8\xe1\xeb\xe8\xee\xf2\xe5\xea\xe0 %Name.
%endif

%package doc-txt
Summary: %Name manual in plain text format
Summary(uk_UA.CP1251): \xcf\xee\xf1\xb3\xe1\xed\xe8\xea \xe4\xeb\xff %Name \xf3 \xf2\xe5\xea\xf1\xf2\xee\xe2\xee\xec\xf3 \xf4\xee\xf0\xec\xe0\xf2\xb3
Summary(ru_RU.CP1251): \xd0\xf3\xea\xee\xe2\xee\xe4\xf1\xf2\xe2\xee \xe4\xeb\xff %Name \xe2 \xf2\xe5\xea\xf1\xf2\xee\xe2\xee\xec \xf4\xee\xf0\xec\xe0\xf2\xe5
Group: Development/Documentation
BuildArch: noarch
Provides: %name-doc = %version-%release
Provides: %name-manual = %version-%release
Provides: %name-manual-txt = %version-%release

%description doc-txt
%Name is basic framework for creating application specific scripting
languages. It is a library of functions centered around a virtual
machine, which guarantees high performance, ease of use and low
overhead. But in the meanwhile %Name has acquired a reputation as an
educational tool. Its simplicity makes it perfectly suited to learn
Forth, from which it has been derived.

This package contains %Name manual in plain text format.

%description doc-txt -l uk_UA.CP1251
%Name - \xf6\xe5 \xe1\xe0\xe7\xee\xe2\xe0 \xee\xe1\xee\xeb\xee\xed\xea\xe0 \xe4\xeb\xff \xf1\xf2\xe2\xee\xf0\xe5\xed\xed\xff \xf1\xef\xe5\xf6\xe8\xf4\xb3\xf7\xed\xe8\xf5 \xe4\xeb\xff \xef\xf0\xee\xe3\xf0\xe0\xec \xec\xee\xe2
\xf1\xf6\xe5\xed\xe0\xf0\xb3\xbf\xe2. \xc0 \xf1\xe0\xec\xe5 - \xe1\xb3\xe1\xeb\xb3\xee\xf2\xe5\xea\xe0 \xf4\xf3\xed\xea\xf6\xb3\xe9 \xed\xe0\xe2\xea\xee\xeb\xee \xe2\xb3\xf0\xf2\xf3\xe0\xeb\xfc\xed\xee\xbf \xec\xe0\xf8\xe8\xed\xe8, \xff\xea\xe0
\xe3\xe0\xf0\xe0\xed\xf2\xf3\xba \xe2\xe8\xf1\xee\xea\xf3 \xef\xf0\xee\xe4\xf3\xea\xf2\xe8\xe2\xed\xb3\xf1\xf2\xfc, \xeb\xe5\xe3\xea\xb3\xf1\xf2\xfc \xe2\xe8\xea\xee\xf0\xe8\xf1\xf2\xe0\xed\xed\xff \xf2\xe0 \xed\xe5\xe7\xed\xe0\xf7\xed\xb3
\xed\xe0\xea\xeb\xe0\xe4\xed\xb3 \xe2\xe8\xf2\xf0\xe0\xf2\xe8. \xc2\xf1\xb3 \xe9\xee\xe3\xee \xe1\xe0\xe7\xee\xe2\xb3 \xe2\xe1\xf3\xe4\xee\xe2\xe0\xed\xb3 \xe1\xeb\xee\xea\xe8 (\xf2\xf0\xe0\xed\xf1\xeb\xff\xf2\xee\xf0, \xb3\xed\xf2\xe5\xf0\xef\xf0\xe5\xf2\xe0\xf2\xee\xf0,
\xe4\xe5\xf2\xf0\xe0\xed\xf1\xeb\xff\xf2\xee\xf0, \xe7\xe0\xe2\xe0\xed\xf2\xe0\xe6\xf3\xe2\xe0\xf7 \xf2\xe0 \xe7\xe1\xe5\xf0\xb3\xe3\xe0\xf7) \xec\xee\xe6\xf3\xf2\xfc \xe1\xf3\xf2\xe8 \xe2\xe8\xea\xeb\xe8\xea\xe0\xed\xb3 \xee\xe4\xed\xe8\xec
\xf0\xff\xe4\xea\xee\xec \xe2 C, \xef\xee\xf2\xf0\xe5\xe1\xe8 \xe2 \xb3\xed\xb3\xf6\xb3\xe0\xeb\xb3\xe7\xe0\xf6\xb3\xbf \xed\xe5\xec\xe0\xba.

\xc2 \xf6\xfc\xee\xec\xf3 \xef\xe0\xea\xe5\xf2\xb3 \xe7\xed\xe0\xf5\xee\xe4\xe8\xf2\xfc\xf1\xff \xef\xee\xf1\xb3\xe1\xed\xe8\xea \xe4\xeb\xff %Name \xf3 \xf2\xe5\xea\xf1\xf2\xee\xe2\xee\xec\xf3 \xf4\xee\xf0\xec\xe0\xf2\xb3.

%description doc-txt -l ru_RU.CP1251
%Name - \xfd\xf2\xee \xe1\xe0\xe7\xee\xe2\xe0\xff \xee\xe1\xee\xeb\xee\xf7\xea\xe0 \xe4\xeb\xff \xf1\xee\xe7\xe4\xe0\xed\xe8\xff \xf1\xef\xe5\xf6\xe8\xf4\xe8\xf7\xe5\xf1\xea\xe8\xf5 \xe4\xeb\xff \xef\xf0\xee\xe3\xf0\xe0\xec
\xff\xe7\xfb\xea\xee\xe2 \xf1\xf6\xe5\xed\xe0\xf0\xe8\xe5\xe2. \xc0 \xe8\xec\xe5\xed\xed\xee - \xe1\xe8\xe1\xeb\xe8\xee\xf2\xe5\xea\xe0 \xf4\xf3\xed\xea\xf6\xe8\xe9 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\xec \xef\xe0\xea\xe5\xf2\xe5 \xed\xe0\xf5\xee\xe4\xe8\xf2\xf1\xff \xf0\xf3\xea\xee\xe2\xee\xe4\xf1\xf2\xe2\xee \xe4\xeb\xff %Name \xe2 \xf2\xe5\xea\xf1\xf2\xee\xe2\xee\xec \xf4\xee\xf0\xec\xe0\xf2\xe5.



%prep
%setup -n %name-%version-unix
%patch -p1
install -m 0644 %SOURCE1 sources/Makefile.ALT


%build
%if "%__cc" == "musl-gcc"
%define _optlevel s
%add_optflags -fno-asynchronous-unwind-tables
%endif
%add_optflags %{?_enable_shared:%optflags_shared} -fsigned-char -DUNIX -DDIR4TH='\"%_datadir/%name/\"'
%if "%__cc" == "gcc"
%add_optflags -DUSEGCCGOTO
%endif
%{?_enable_kshared:%global optflags -shared %optflags}
%make_build -C sources -f Makefile.ALT \
	BINARIES=%_bindir LIBRARIES=%_libdir INCLUDES=%_includedir \
	%{?_enable_shared:SHARED=1} %{?_enable_static:STATIC=1} \
	CFLAGS="%optflags" %{?__cc:CC=%__cc} all


%install
install -d -m 0755 %buildroot{%_bindir,%_libdir,%_datadir/%name/lib,%_includedir,%_man1dir,%_docdir/%name-%version/examples}
%make_install -C sources -f Makefile.ALT \
	BINARIES=%buildroot%_bindir LIBRARIES=%buildroot%_libdir INCLUDES=%buildroot%_includedir \
	%{?_enable_shared:SHARED=1} %{?_enable_static:STATIC=1} \
	CFLAGS="%optflags" %{?__cc:CC=%__cc} install
install -p -m 0644 documentation/%name.1 %buildroot%_man1dir/
ln -s %name.1 %buildroot%_man1dir/%{name}x.1
ln -s %name %buildroot%_bindir/%{name}x
install -p -m 0644 sources/%name.h %buildroot%_includedir/
install -p -m 0644 %name/lib/*.4th %buildroot%_datadir/%name/lib/
install -p -m 0644 %name/*.{4th,scr} %buildroot%_docdir/%name-%version/examples/
for d in 4pp{,/lib}; do
	install -d -m 0755 %buildroot%_docdir/%name-%version/examples/$d
	install -p -m 0644 %name/$d/*.4pp %buildroot%_docdir/%name-%version/examples/$d/
done
for d in %name/apps/*; do
	D=$(basename $d)
	install -d -m 0755 %buildroot%_docdir/%name-%version/examples/apps/$D
	install -p -m 0644 $d/* %buildroot%_docdir/%name-%version/examples/apps/$D/
done
for d in bench demo; do
	install -d -m 0755 %buildroot%_docdir/%name-%version/examples/$d
	install -p -m 0644 %name/$d/* %buildroot%_docdir/%name-%version/examples/$d/
done
install -p -m 0644 documentation/euro.txt %buildroot%_docdir/%name-%version/examples/
install -p -m 0644 README %buildroot%_docdir/%name-%version/
install -p -m 0644 {documentation/%{Name},%buildroot%_docdir/%name-%version/}manual.txt

# menu
install -d %buildroot%_desktopdir
iconv -f cp1251 -t utf-8 > %buildroot%_desktopdir/%name.desktop <<__MENU__
[Desktop Entry]
GenericName=%Name
Name=%Name System
Name[uk]=%Name-\xf1\xe8\xf1\xf2\xe5\xec\xe0
Name[ru]=%Name-\xf1\xe8\xf1\xf2\xe5\xec\xe0
Exec=%name
Icon=shells_section
Type=Application
Terminal=true
Categories=Development;IDE;ConsoleOnly;
__MENU__

%if "%__cc" == "musl-gcc" || "%__cc" == "tcc"
%add_verify_elf_skiplist %_bindir/*
%endif


%files
%doc %dir %_docdir/%name-%version
%doc %_docdir/%name-%version/README
%_bindir/*
%_datadir/%name
%_man1dir/*
%_desktopdir/*


%if_enabled shared
%files -n %lname
%_libdir/*.so.*
%endif


%files -n %lname-devel
%_includedir/*
%{?_enable_shared:%_libdir/*.so}


%if_enabled static
%files -n %lname-devel-static
%_libdir/*.a
%endif


%files examples
%dir %_docdir/%name-%version
%_docdir/%name-%version/examples


%files doc-txt
%dir %_docdir/%name-%version
%_docdir/%name-%version/*.txt


%changelog
* Wed Feb 26 2014 Led <led@altlinux.ru> 3.62.2-alt1
- 3.62.2

* Fri Sep 27 2013 Led <led@altlinux.ru> 3.62.1-alt1
- 3.62.1

* Wed Dec 26 2012 Led <led@altlinux.ru> 3.62.0-alt3
- added build with klcc support
- fixed License
- cleaned up spec
- fixed Makefile.ALT

* Wed Dec 26 2012 Led <led@altlinux.ru> 3.62.0-alt2
- Makefile.ALT: updated lib version

* Mon Dec 24 2012 Led <led@altlinux.ru> 3.62.0-alt1
- 3.62.0

* Tue Oct 23 2012 Led <led@altlinux.ru> 3.61.5-alt1
- 3.61.5
- added Makefile.ALT

* Fri Aug 19 2011 Led <led@massivesolutions.co.uk> 3.61.1-cx1
- 3.61.1

* Wed Feb 09 2011 Led <led@altlinux.ru> 3.61.0-tmc1
- 3.61.0

* Wed Feb 09 2011 Led <led@altlinux.ru> 3.60.1-tmc1
- build with _optlevel s
- 4th's "libs" moved into %%_datadir/%%name/lib
- clean up spec
- fixed License

* Tue Apr 27 2010 Led <led@altlinux.ru> 3.60.1-alt1
- 3.60.1

* Mon Jan 04 2010 Led <led@altlinux.ru> 3.60.0-alt1
- 3.60.0

* Mon Sep 28 2009 Led <led@altlinux.ru> 3.5d3-alt1
- 3.5d3:
  + the library files now support ANS Forth compatible versions of all
    floating point input and output words

* Sat Jun 20 2009 Led <led@altlinux.ru> 3.5d2-alt1
- 3.5d2:
  + added preprocessor to the toolchain
  + added another floating point library called ZEN float

* Mon May 11 2009 Led <led@altlinux.ru> 3.5d-alt1
- 3.5d

* Sat Dec 27 2008 Led <led@altlinux.ru> 3.5c3-alt4
- cleaned up spec

* Fri Aug 08 2008 Led <led@altlinux.ru> 3.5c3-alt3
- fixed %name.desktop

* Wed Jun 18 2008 Led <led@altlinux.ru> 3.5c3-alt2
- added %name-doc-txt subpackage

* Tue Jun 03 2008 Led <led@altlinux.ru> 3.5c3-alt1
- 3.5c3
- build with shared library

* Tue Mar 04 2008 Led <led@altlinux.ru> 3.5c2-alt2
- fixed %name.desktop

* Mon Jan 28 2008 Led <led@altlinux.ru> 3.5c2-alt1
- 3.5c2
- updated %name-3.5c2-alt.patch

* Thu Jan 10 2008 Led <led@altlinux.ru> 3.5c-alt1
- 3.5c
- fixed License
- cleaned up spec
- fixed %%description
- fixed x86_64 build (added %name-3.5c-alt.patch)

* Sat Dec 22 2007 Led <led@altlinux.ru> 3.5b2-alt1
- 3.5b2
- fixed License

* Mon May 21 2007 Led <led@altlinux.ru> 3.5b-alt1
- 3.5b
- cleaned up spec

* Thu Nov 23 2006 Led <led@altlinux.ru> 3.5a2-alt1
- 3.5a2

* Mon Nov 13 2006 Led <led@altlinux.ru> 3.5a-alt1
- 3.5a release

* Mon Oct 16 2006 Led <led@altlinux.ru> 3.5a-alt0.2
- fixed descriptions

* Thu Oct 12 2006 Led <led@altlinux.ru> 3.5a-alt0.1
- fixed %%version
- fixed %%changelog
- made ability compile with tcc

* Sun Sep 24 2006 Led <led@altlinux.ru> 3.5-alt0.1
- 3.5a-pre3
- remade spec
- added docs from 3.3d2

* Sun Sep 24 2006 Led <led@altlinux.ru> 3.3d2-alt4
- fixed spec

* Tue Feb 14 2006 Led <led@altlinux.ru> 3.3d2-alt3
- fixed spec

* Tue Feb 14 2006 Led <led@altlinux.ru> 3.3d2-alt2
- added menu icon
- fixed spec

* Wed Jan 25 2006 Led <led@altlinux.ru> 3.3d2-alt1
- 3.3d2
- added uk and ru menu, description and Summary
- moved examples to separate package
- added headers
- moved %lname.a and headers to separate package

* Sun Jan 22 2006 Led <led@altlinux.ru> 3.3d-alt1
- Initial build