-
Notifications
You must be signed in to change notification settings - Fork 13
/
openshift-origin-cartridge-perl.spec
executable file
·179 lines (148 loc) · 6.65 KB
/
openshift-origin-cartridge-perl.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
%global cartridgedir %{_libexecdir}/openshift/cartridges/v2/perl
%global frameworkdir %{_libexecdir}/openshift/cartridges/v2/perl
Name: openshift-origin-cartridge-perl
Version: 0.3.4
Release: 1%{?dist}
Summary: Perl cartridge
Group: Development/Languages
License: ASL 2.0
URL: https://www.openshift.com
Source0: http://mirror.openshift.com/pub/origin-server/source/%{name}/%{name}-%{version}.tar.gz
Requires: rubygem(openshift-origin-node)
Requires: openshift-origin-node-util
Requires: mod_perl
Requires: mod_bw
Requires: perl-DBD-SQLite
Requires: perl-DBD-MySQL
Requires: perl-MongoDB
Requires: ImageMagick-perl
Requires: gd-devel
Requires: perl-App-cpanminus
Requires: perl-CPAN
Requires: perl-CPANPLUS
Requires: rpm-build
Requires: expat-devel
Requires: perl-IO-Socket-SSL
Requires: gdbm-devel
Requires: httpd < 2.4
BuildRequires: git
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
%description
Perl cartridge for openshift. (Cartridge Format V2)
%prep
%setup -q
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{cartridgedir}
mkdir -p %{buildroot}/%{_sysconfdir}/openshift/cartridges
cp -r * %{buildroot}%{cartridgedir}/
%clean
rm -rf %{buildroot}
%post
%{_sbindir}/oo-admin-cartridge --action install --offline --source /usr/libexec/openshift/cartridges/v2/perl
%files
%defattr(-,root,root,-)
%dir %{cartridgedir}
%dir %{cartridgedir}/bin
%dir %{cartridgedir}/hooks
%dir %{cartridgedir}/env
%dir %{cartridgedir}/metadata
%dir %{cartridgedir}/versions
%attr(0755,-,-) %{cartridgedir}/bin/
%attr(0755,-,-) %{cartridgedir}/hooks/
%attr(0755,-,-) %{frameworkdir}
%{cartridgedir}/metadata/manifest.yml
%doc %{cartridgedir}/README.md
%doc %{cartridgedir}/COPYRIGHT
%doc %{cartridgedir}/LICENSE
%changelog
* Fri May 03 2013 Adam Miller <[email protected]> 0.3.4-1
- fix tests ([email protected])
- Special file processing ([email protected])
* Tue Apr 30 2013 Adam Miller <[email protected]> 0.3.3-1
- Env var WIP. ([email protected])
- Merge pull request #2201 from BanzaiMan/dev/hasari/c276
- Card 276 ([email protected])
* Mon Apr 29 2013 Adam Miller <[email protected]> 0.3.2-1
- Merge pull request #2261 from jwhonce/wip/card287
- Card online_runtime_287 - Bug fix ([email protected])
- Add health urls to each v2 cartridge. ([email protected])
* Thu Apr 25 2013 Adam Miller <[email protected]> 0.3.1-1
- WIP Cartridge Refactor - cleanup in cartridges ([email protected])
- fixing tests ([email protected])
- Split v2 configure into configure/post-configure ([email protected])
- more install/post-install scripts ([email protected])
- Merge pull request #2187 from danmcp/master
- install and post setup tests ([email protected])
- Implement hot deployment for V2 cartridges ([email protected])
- Update outdated links in 'cartridges' directory. ([email protected])
- WIP Cartridge Refactor - Change environment variable files to contain just
value ([email protected])
- Adding V2 Format to all v2 cartridges ([email protected])
- Bug 928675 ([email protected])
- <v2 carts> remove abstract cartridge from v2 requires ([email protected])
- V2 documentation refactoring ([email protected])
- V2 cartridge documentation updates ([email protected])
- bump_minor_versions for sprint 2.0.26 ([email protected])
* Tue Apr 16 2013 Troy Dawson <[email protected]> 0.2.9-1
- Bug 947356 - Add Requires gd-devel ([email protected])
- Setting mongodb connection hooks to use the generic nosqldb name
* Mon Apr 15 2013 Adam Miller <[email protected]> 0.2.8-1
- Bug 952041 - Add support for tidy to DIY and PHP cartridges
- V2 action hook cleanup ([email protected])
* Sun Apr 14 2013 Krishna Raman <[email protected]> 0.2.7-1
- WIP Cartridge Refactor - Move PATH to /etc/openshift/env ([email protected])
- Adding connection hook for mongodb There are three leading params we don't
care about, so the hooks are using shift to discard. ([email protected])
* Fri Apr 12 2013 Adam Miller <[email protected]> 0.2.6-1
- SELinux, ApplicationContainer and UnixUser model changes to support oo-admin-
ctl-gears operating on v1 and v2 cartridges. ([email protected])
* Thu Apr 11 2013 Adam Miller <[email protected]> 0.2.5-1
- Calling oo-admin-cartridge from a few more v2 cartridges
* Wed Apr 10 2013 Adam Miller <[email protected]> 0.2.4-1
- Anchor locked_files.txt entries at the cart directory ([email protected])
* Tue Apr 09 2013 Adam Miller <[email protected]> 0.2.3-1
- Merge pull request #1962 from danmcp/master ([email protected])
- jenkins WIP ([email protected])
- Rename cideploy to geardeploy. ([email protected])
- Merge pull request #1942 from ironcladlou/dev/v2carts/vendor-changes
- Remove vendor name from installed V2 cartridge path ([email protected])
* Mon Apr 08 2013 Adam Miller <[email protected]> 0.2.2-1
- Merge pull request #1930 from mrunalp/dev/cart_hooks ([email protected])
- Add hooks for other carts. ([email protected])
- Fix Jenkins deploy cycle ([email protected])
- Refactor v2 cartridge SDK location and accessibility ([email protected])
- WIP Cartridge Refactor - Add build to V2 Perl Cartridge ([email protected])
- adding all the jenkins jobs ([email protected])
- Adding jenkins templates to carts ([email protected])
* Thu Mar 28 2013 Adam Miller <[email protected]> 0.2.1-1
- bump_minor_versions for sprint 26 ([email protected])
- BZ928282: Copy over hidden files under template. ([email protected])
* Fri Mar 22 2013 Adam Miller <[email protected]> 0.1.5-1
- Merge pull request #1755 from mrunalp/dev/perl_rhc_app_create_fixes
- Fixes to get rhc app create working for perl. ([email protected])
* Thu Mar 21 2013 Adam Miller <[email protected]> 0.1.4-1
- Change V2 manifest Version elements to strings ([email protected])
- Fix cart names to exclude versions. ([email protected])
* Mon Mar 18 2013 Adam Miller <[email protected]> 0.1.3-1
- add cart vendor and version ([email protected])
* Thu Mar 14 2013 Adam Miller <[email protected]> 0.1.2-1
- Refactor Endpoints to support frontend mapping ([email protected])
- Fix perl version to 5.10 ([email protected])
- remove old obsoletes ([email protected])
* Tue Mar 12 2013 Adam Miller <[email protected]> 0.1.1-1
- Fixing tag on master
* Fri Mar 08 2013 Mike McGrath <[email protected]> 0.1.1-1
- new package built with tito
* Wed Feb 20 2013 Mike McGrath <[email protected]> - 0.1.0-1
- Initial SPEC created