-
Notifications
You must be signed in to change notification settings - Fork 6
/
openshift-origin-cartridge-nodejs.spec
236 lines (196 loc) · 8.95 KB
/
openshift-origin-cartridge-nodejs.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
# RHEL has 0.6 and 0.10. but 0.10 has a prefix for SCL
# Fedora 18 and 19 has 0.10 as the default
%if 0%{?fedora}%{?rhel} <= 6
%global scl nodejs010
%global scl_prefix nodejs010-
%endif
%global cartridgedir %{_libexecdir}/openshift/cartridges/nodejs
Summary: Provides Node.js support
Name: openshift-origin-cartridge-nodejs
Version: 1.29.1
Release: 1%{?dist}
Group: Development/Languages
License: ASL 2.0
URL: http://www.openshift.com
Source0: http://mirror.openshift.com/pub/openshift-origin/source/%{name}/%{name}-%{version}.tar.gz
Requires: rubygem(openshift-origin-node)
Requires: openshift-origin-node-util
%if 0%{?fedora}%{?rhel} <= 6
Requires: %{scl}
%endif
Requires: %{?scl:%scl_prefix}npm
Requires: %{?scl:%scl_prefix}nodejs-pg
Requires: %{?scl:%scl_prefix}nodejs-options
Requires: %{?scl:%scl_prefix}nodejs-supervisor
Requires: %{?scl:%scl_prefix}nodejs-async
Requires: %{?scl:%scl_prefix}nodejs-express
Requires: %{?scl:%scl_prefix}nodejs-connect
Requires: %{?scl:%scl_prefix}nodejs-mongodb
Requires: %{?scl:%scl_prefix}nodejs-mysql
Requires: %{?scl:%scl_prefix}nodejs-node-static
Requires: nodejs
Requires: nodejs-async
Requires: nodejs-connect
Requires: nodejs-express
Requires: nodejs-mongodb
Requires: nodejs-mysql
Requires: nodejs-node-static
Requires: nodejs-pg
Requires: nodejs-supervisor
Requires: nodejs-options
Provides: openshift-origin-cartridge-nodejs-0.6 = 2.0.0
Obsoletes: openshift-origin-cartridge-nodejs-0.6 <= 1.99.9
BuildArch: noarch
%description
Provides Node.js support to OpenShift. (Cartridge Format V2)
%prep
%setup -q
%build
%__rm %{name}.spec
%__rm logs/.gitkeep
find versions/ -name .gitignore -delete
find versions/ -name .gitkeep -delete
%install
%__mkdir -p %{buildroot}%{cartridgedir}
%__cp -r * %{buildroot}%{cartridgedir}
%files
%dir %{cartridgedir}
%attr(0755,-,-) %{cartridgedir}/bin/
%{cartridgedir}/env
%{cartridgedir}/lib
%{cartridgedir}/logs
%{cartridgedir}/metadata
%{cartridgedir}/usr
%{cartridgedir}/versions
%doc %{cartridgedir}/README.md
%doc %{cartridgedir}/COPYRIGHT
%doc %{cartridgedir}/LICENSE
%changelog
* Fri Jul 18 2014 Adam Miller <[email protected]> 1.29.1-1
- bump_minor_versions for sprint 48 ([email protected])
* Wed Jul 09 2014 Adam Miller <[email protected]> 1.28.5-1
- Merge pull request #5584 from jhadvig/latest_versions
- Bump cartridge versions for 2.0.47 ([email protected])
* Wed Jul 09 2014 Adam Miller <[email protected]> 1.28.4-1
- Edit nodejs upgrade script for latest version ([email protected])
* Mon Jul 07 2014 Adam Miller <[email protected]> 1.28.3-1
- Card origin_cartridge_224 - Upgrading nodejs quickstarts to version 0.10
* Tue Jul 01 2014 Adam Miller <[email protected]> 1.28.2-1
- multiple nodejs processes running in a gear ([email protected])
* Thu Jun 26 2014 Adam Miller <[email protected]> 1.28.1-1
- Merge pull request #5419 from ryanj/npm-globals
- bump_minor_versions for sprint 47 ([email protected])
- Include npm CLI scripts in the user's PATH -
https://trello.com/c/eTwC7UbD/174-support-for-javascript-cli-build-tools-
from-npm ([email protected])
* Thu Jun 19 2014 Adam Miller <[email protected]> 1.27.4-1
- Bug 1111314 - Remove mysql-server dependency from nodejs cartridge
- Merge pull request #5491 from mfojtik/fix-nodejs-update
- Bug 1104922 - Bump the nodejs cartridge version to trigger update
* Wed Jun 18 2014 Adam Miller <[email protected]> 1.27.3-1
- Fix bug 1108951: correct nodejs update-configuration function
* Mon Jun 09 2014 Adam Miller <[email protected]> 1.27.2-1
- Merge pull request #5480 from mfojtik/nodejs_scl
- Bug 1104922 - Add v8314 collection list of enabled SCL for nodejs cart
* Thu Jun 05 2014 Adam Miller <[email protected]> 1.27.1-1
- bump_minor_versions for sprint 46 ([email protected])
* Thu May 29 2014 Adam Miller <[email protected]> 1.26.3-1
- Bump cartridge versions ([email protected])
* Tue May 27 2014 Adam Miller <[email protected]> 1.26.2-1
- Make READMEs in template repos more obvious ([email protected])
* Fri May 16 2014 Adam Miller <[email protected]> 1.26.1-1
- bump_minor_versions for sprint 45 ([email protected])
* Fri Apr 25 2014 Adam Miller <[email protected]> 1.25.2-1
- mass bumpspec to fix tags ([email protected])
* Fri Apr 25 2014 Adam Miller <[email protected]>
- mass bumpspec to fix tags ([email protected])
* Fri Apr 25 2014 Adam Miller - 1.25.0-2
- bumpspec to mass fix tags
* Wed Apr 16 2014 Troy Dawson <[email protected]> 1.24.3-1
- Bumping cartridge versions for sprint 43 ([email protected])
* Tue Apr 15 2014 Troy Dawson <[email protected]> 1.24.2-1
- Re-introduce cartridge-scoped log environment vars ([email protected])
* Wed Apr 09 2014 Adam Miller <[email protected]> 1.24.1-1
- Removing file listed twice warnings ([email protected])
- bump_minor_versions for sprint 43 ([email protected])
* Thu Mar 27 2014 Adam Miller <[email protected]> 1.23.3-1
- Update Cartridge Versions for Stage Cut ([email protected])
* Tue Mar 25 2014 Adam Miller <[email protected]> 1.23.2-1
- Port cartridges to use logshifter ([email protected])
* Fri Mar 14 2014 Adam Miller <[email protected]> 1.23.1-1
- Make nodejs watch just a single file by default instead of REPO_DIR
- Removing f19 logic ([email protected])
- Bug 1073413 - Fix versions in nodejs upgrade script ([email protected])
- Updating cartridge versions ([email protected])
- bump_minor_versions for sprint 42 ([email protected])
* Mon Mar 03 2014 Adam Miller <[email protected]> 1.22.2-1
- fix bash regexp in upgrade scripts ([email protected])
- Fixing typos ([email protected])
- Merge pull request #4847 from mfojtik/bugzilla/1071165
- Bug 1071165 - npm no longer supports its self-signed certificates
- Update nodejs cartridge to support LD_LIBRARY_PATH_ELEMENT
- Template cleanup ([email protected])
* Thu Feb 27 2014 Adam Miller <[email protected]> 1.22.1-1
- bump_minor_versions for sprint 41 ([email protected])
* Mon Feb 17 2014 Adam Miller <[email protected]> 1.21.5-1
- Bug 1065506 - Increase OPENSHIFT_NODEJS_POLL_INTERVAL default value to 10000
- Bug 1065681 - Allows users to specify what folder/files supervisor will watch
* Wed Feb 12 2014 Adam Miller <[email protected]> 1.21.4-1
- Merge pull request #4744 from mfojtik/latest_versions
- Card origin_cartridge_111 - Updated cartridge versions for stage cut
- Fix obsoletes and provides ([email protected])
* Tue Feb 11 2014 Adam Miller <[email protected]> 1.21.3-1
- Merge pull request #4712 from tdawson/2014-02/tdawson/cartridge-deps
- Merge pull request #4707 from danmcp/master ([email protected])
- Cleanup cartridge dependencies ([email protected])
- Merge pull request #4559 from fabianofranz/dev/441
- Bug 888714 - Remove gitkeep files from rpms ([email protected])
- Removed references to OpenShift forums in several places
* Mon Feb 10 2014 Adam Miller <[email protected]> 1.21.2-1
- Bug 1059374 - Sanitize supervisor_bin/node_bin before pkill
- Cleaning specs ([email protected])
- Bug 1059142 - Fix 'cartridge_bin' command in nodejs control script
- Store cartridge_pid in bash variable ([email protected])
* Thu Jan 30 2014 Adam Miller <[email protected]> 1.21.1-1
- Bug 1059374 - Sanity check pkill in nodejs control script
- Bug 1059144 - Refactored nodejs control script ([email protected])
- Merge pull request #4593 from mfojtik/card/89
- Card origin_cartridge_89 - Make npm optional and restrict hot_deploy to
supervisor only ([email protected])
- bump_minor_versions for sprint 40 ([email protected])
* Thu Jan 23 2014 Adam Miller <[email protected]> 1.20.6-1
- Bump up cartridge versions ([email protected])
* Fri Jan 17 2014 Adam Miller <[email protected]> 1.20.5-1
- Merge pull request #4462 from bparees/cart_data_cleanup
- remove unnecessary cart-data variable descriptions ([email protected])
* Thu Jan 16 2014 Adam Miller <[email protected]> 1.20.4-1
- Bug 1048756 - 503 Service Temporarily Unavailable met when accessing after
deploying pacman for nodejs-0.6/0.10 app ([email protected])
* Thu Jan 09 2014 Troy Dawson <[email protected]> 1.20.3-1
- Bug 1033581 - Adding upgrade logic to remove the unneeded
jenkins_shell_command files ([email protected])