-
Notifications
You must be signed in to change notification settings - Fork 2
/
rbbuild.spec
291 lines (211 loc) · 9.51 KB
/
rbbuild.spec
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
################################################################################
Summary: Utility for compiling and installing different ruby versions
Name: rbbuild
Version: 2.4.3
Release: 0%{?dist}
License: Apache License, Version 2.0
Vendor: ESSENTIAL KAOS
Group: Development/Tools
URL: https://kaos.sh/rbbuild
Source0: https://source.kaos.st/%{name}/%{name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: %{name}-defs >= 2
Requires: bash zstd patch gawk bc git
Provides: %{name} = %{version}-%{release}
################################################################################
%description
RBBuild provides a simple way to compile and install different versions of Ruby
on UNIX-like systems.
################################################################################
%prep
%setup -q
%build
%install
rm -rf %{buildroot}
install -dm 755 %{buildroot}%{_bindir}
install -dm 755 %{buildroot}%{_libexecdir}/%{name}
install -pm 755 rbdef %{buildroot}%{_bindir}/
install -pm 755 rbbuild %{buildroot}%{_bindir}/
cp -r libexec/* %{buildroot}%{_libexecdir}/%{name}/
%clean
rm -rf %{buildroot}
################################################################################
%files
%defattr(-,root,root,-)
%doc LICENSE
%{_bindir}/rbbuild
%{_bindir}/rbdef
%{_libexecdir}/%{name}
################################################################################
%changelog
* Sat Aug 03 2024 Anton Novojilov <andy@essentialkaos.com> - 2.4.3-0
- Use all cores to build OpenSSL by default
- Removed 7zip support
* Sun Jun 09 2024 Anton Novojilov <andy@essentialkaos.com> - 2.4.2-0
- Improved automatic disabling of color output usage
* Tue Dec 12 2023 Anton Novojilov <andy@essentialkaos.com> - 2.4.1-0
- Fixed bug with listing versions
- Fixed railsexpress build
* Thu Nov 30 2023 Anton Novojilov <andy@essentialkaos.com> - 2.4.0-0
- Code refactoring
* Mon Aug 28 2023 Anton Novojilov <andy@essentialkaos.com> - 2.3.0-0
- Improve OpenSSL builder
- Added def file listing
- Improved help content
* Mon Apr 10 2023 Anton Novojilov <andy@essentialkaos.com> - 2.2.0-0
- Added --ignore-loadavg/-il option for ignoring check for high LA
* Mon Jan 23 2023 Anton Novojilov <andy@essentialkaos.com> - 2.1.0-0
- Gathering and printing information about rust version
* Fri Dec 30 2022 Anton Novojilov <andy@essentialkaos.com> - 2.0.0-0
- Brand new version rewritten from scratch
- Using zstandart compression by default
- Removed outdated builders
- Added def file validation
- Builders now remove all useless data
* Mon Dec 06 2021 Anton Novojilov <andy@essentialkaos.com> - 1.10.4-1
- Code refactoring
* Sun Dec 05 2021 Anton Novojilov <andy@essentialkaos.com> - 1.10.4-0
- Fixed bug with listing 3.x versions
- Code refactoring
* Mon Feb 08 2021 Anton Novojilov <andy@essentialkaos.com> - 1.10.3-0
- Do not use current working directory for download cache
- Use 0600 as default mode for all files in download cache
* Tue Jun 30 2020 Anton Novojilov <andy@essentialkaos.com> - 1.10.2-0
- Added check for noexec flag for temporary directory
* Fri Jun 19 2020 Anton Novojilov <andy@essentialkaos.com> - 1.10.1-0
- Improved TruffleRuby builder
* Wed Jun 17 2020 Anton Novojilov <andy@essentialkaos.com> - 1.10.0-0
- Added TruffleRuby support
- Improved UI
* Tue Mar 03 2020 Anton Novojilov <andy@essentialkaos.com> - 1.9.7-1
- Minor improvements for rbdef
* Wed Dec 04 2019 Anton Novojilov <andy@essentialkaos.com> - 1.9.7-0
- Removed handler for script errors
* Sat Nov 30 2019 Anton Novojilov <andy@essentialkaos.com> - 1.9.6-0
- Added handling of SCRIPT_DEBUG environment variable for enabling debug mode
- Added handler for script errors
* Thu Jun 06 2019 Anton Novojilov <andy@essentialkaos.com> - 1.9.5-0
- [rbbuild] Improved build process for patched versions of Ruby
* Tue Jan 15 2019 Anton Novojilov <andy@essentialkaos.com> - 1.9.4-0
- [rbbuild] Added DLDFLAGS fixer for ruby builder
* Fri Jan 04 2019 Anton Novojilov <andy@essentialkaos.com> - 1.9.3-0
- [rbbuild] Code refactoring
- [rbdef] Minor UI improvements
* Thu Oct 18 2018 Anton Novojilov <andy@essentialkaos.com> - 1.9.2-0
- [rbbuild] Minor UI improvements
* Sat Sep 29 2018 Anton Novojilov <andy@essentialkaos.com> - 1.9.1-0
- [rbbuild] Code refactoring
* Thu Apr 26 2018 Anton Novojilov <andy@essentialkaos.com> - 1.9.0-0
- Print info about system before build
- Fixed bug with checking remote file status
- Improved proxy configuration
- Minor improvements
* Fri Apr 20 2018 Anton Novojilov <andy@essentialkaos.com> - 1.8.1-0
- Non-standard 'which' command replaced by 'command -v'
* Mon Apr 02 2018 Anton Novojilov <andy@essentialkaos.com> - 1.8.0-2
- Added bc to required dependencies
* Fri Feb 02 2018 Anton Novojilov <andy@essentialkaos.com> - 1.8.0-1
- Migrated from kaos.io to kaos.st
* Thu Dec 28 2017 Anton Novojilov <andy@essentialkaos.com> - 1.8.0-0
- [rbbuild] Fixed major bug with applying patches
- [rbbuild] Added 'ruby_bin' and 'java_bin' variables
- [rbbuild] Fixed minor bug with spinner
- [rbbuild] Fixed minor bug with checking remote source status
- [rbbuild] Fixed minor bug with sorting versions
- [rbbuild] Improved handling permission errors
- [rbbuild] Minor UI improvements
- [rbbuild] Code refactoring
* Tue Dec 12 2017 Anton Novojilov <andy@essentialkaos.com> - 1.7.1-0
- [rbdef|rbbuild] Code refactoring
* Sun Oct 08 2017 Anton Novojilov <andy@essentialkaos.com> - 1.7.0-0
- [rbdef|rbbuild] Print errors to stderr
- [rbbuild] Minor fixes
- [rbdef] Minor improvements
* Sun Jun 04 2017 Anton Novojilov <andy@essentialkaos.com> - 1.6.6-0
- [rbdef] Minor fixes
* Sat Apr 29 2017 Anton Novojilov <andy@essentialkaos.com> - 1.6.5-0
- [rbdef] Improved help output
- [rbbuild] Improved help output
- [rbdef] Code refactoring
* Mon Apr 24 2017 Anton Novojilov <andy@essentialkaos.com> - 1.6.4-0
- Arguments parser updated to v3 with fixed stderr output redirection for
showArgWarn and showArgValWarn functions
* Wed Jan 25 2017 Anton Novojilov <andy@essentialkaos.com> - 1.6.3-0
- getThreadsNum now return 1 recommended thread if LA is too high
* Mon Jan 23 2017 Anton Novojilov <andy@essentialkaos.com> - 1.6.2-0
- Improved checking remote sources availability
* Fri Dec 30 2016 Anton Novojilov <andy@essentialkaos.com> - 1.6.1-1
- Minor fixes in rbdef
* Mon Dec 05 2016 Anton Novojilov <andy@essentialkaos.com> - 1.6.1-0
- Fixed bug with processing custom def files
- Fixed bug with -y/--yes option usage
* Sun Nov 27 2016 Anton Novojilov <andy@essentialkaos.com> - 1.6.0-0
- Code refactoring
- UI improvements
* Mon Sep 05 2016 Anton Novojilov <andy@essentialkaos.com> - 1.5.7-0
- Fixed ruby version output alignment
* Fri Jul 22 2016 Anton Novojilov <andy@essentialkaos.com> - 1.5.6-1
- Small fix for rbdef
* Wed Jul 13 2016 Anton Novojilov <andy@essentialkaos.com> - 1.5.6-0
- Improved listing
* Fri May 13 2016 Anton Novojilov <andy@essentialkaos.com> - 1.5.5-0
- Fixed bug with listing def files
- Improved listing
* Thu Apr 28 2016 Anton Novojilov <andy@essentialkaos.com> - 1.5.4-0
- Fixed typo in Mac OS name
* Tue Mar 01 2016 Anton Novojilov <andy@essentialkaos.com> - 1.5.3-0
- Fixed bug with ignoring checksums
- Fixed bug with showing error status codes
* Thu Aug 20 2015 Anton Novojilov <andy@essentialkaos.com> - 1.5.2-0
- Simple latest version install
- Minor improvements
* Tue May 19 2015 Anton Novojilov <andy@essentialkaos.com> - 1.5.1-0
- Improved defs listing
* Wed Jan 21 2015 Anton Novojilov <andy@essentialkaos.com> - 1.5.0-0
- Many improvements
- Fixed bug with dl-cache
- LA check before build process
- Using -cc and -cxx instead --compiler
* Wed Dec 10 2014 Anton Novojilov <andy@essentialkaos.com> - 1.4.4-0
- Custom compiler support for rubinius builder
* Tue Dec 09 2014 Anton Novojilov <andy@essentialkaos.com> - 1.4.3-0
- Added proxy support
* Thu Nov 13 2014 Anton Novojilov <andy@essentialkaos.com> - 1.4.2.1-0
- Small fix for verbose mode in rbx builder
* Thu Oct 30 2014 Anton Novojilov <andy@essentialkaos.com> - 1.4.2-0
- Fixed bugs with quiet mode
- Minor improvements
* Wed Sep 03 2014 Anton Novojilov <andy@essentialkaos.com> - 1.4.1-0
- Small fixes
* Mon Sep 01 2014 Anton Novojilov <andy@essentialkaos.com> - 1.4.0-0
- Fixed bug with dependencies check
- Added openssl builder
* Fri Aug 01 2014 Anton Novojilov <andy@essentialkaos.com> - 1.3.1-0
- Default temporary path now is /var/tmp
* Thu Jul 03 2014 Anton Novojilov <andy@essentialkaos.com> - 1.3.0-0
- Notifications about finished maintenance period
* Wed Jul 02 2014 Anton Novojilov <andy@essentialkaos.com> - 1.2.2-0
- Improved compatibility with rbenv
* Tue Jul 01 2014 Anton Novojilov <andy@essentialkaos.com> - 1.2.1-1
- Minor fixes in rbdef
* Thu Apr 17 2014 Anton Novojilov <andy@essentialkaos.com> - 1.2.1-0
- Fixed minor bug with output redirect in jruby builder
* Wed Apr 16 2014 Anton Novojilov <andy@essentialkaos.com> - 1.2.0-0
- Improved build system
- Using shenx instead of shmin
- Improved def file listing
* Tue Apr 15 2014 Anton Novojilov <andy@essentialkaos.com> - 1.1.2-0
- Custom names can be used with rbenv
* Sun Apr 06 2014 Anton Novojilov <andy@essentialkaos.com> - 1.1.1-0
- Some improvements in rbdef
* Fri Aug 23 2013 Anton Novojilov <andy@essentialkaos.com> - 1.0.2-0
- Fixed major bug with CFLAGS processing
- Fixed bug in prefs file parsing in rbdef
- Fixed bug in failed build processing
- Some minor improvements
* Mon Aug 5 2013 Anton Novojilov <andy@essentialkaos.com> - 1.0.1-0
- Improved argument parsing
- Added shmin usage
* Tue Jul 2 2013 Anton Novojilov <andy@essentialkaos.com> - 1.0.0-0
- First public release