This repository has been archived by the owner on Nov 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
buildrizpack.gemspec
100 lines (92 loc) · 5.18 KB
/
buildrizpack.gemspec
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
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
Gem::Specification.new do |spec|
spec.name = 'buildrizpack'
spec.version = '0.2.1'
spec.author = 'Niklaus Giger'
spec.email = "[email protected]"
spec.homepage = "http://buildr.apache.org/"
spec.summary = "A buildr plugin for packaging projects as IzPack installer"
spec.description = <<-TEXT
A buildr plugin contributing a new packaging method to package your project as a IzPack installer.
TEXT
# Rakefile needs to create spec for both platforms (ruby and java), using the
# $platform global variable. In all other cases, we figure it out from RUBY_PLATFORM.
$platform ||= RUBY_PLATFORM[/java/] || 'ruby'
spec.rubyforge_project = 'buildrizpack'
# Rakefile needs to create spec for both platforms (ruby and java), using the
# $platform global variable. In all other cases, we figure it out from RUBY_PLATFORM.
spec.platform = $platform || RUBY_PLATFORM[/java/] || 'ruby'
spec.files = Dir['{doc,etc,lib,rakelib,spec}/**/*', '*.{gemspec,buildfile}'] +
['LICENSE', 'NOTICE', 'README.rdoc', 'Rakefile']
spec.require_paths = ['lib']
spec.has_rdoc = true
spec.extra_rdoc_files = 'README.rdoc', 'LICENSE', 'NOTICE'
spec.rdoc_options = '--title', 'BuildrIzPack', '--main', 'README.rdoc',
'--webcvs', 'http://github.com/ngiger/buildrizpack'
spec.post_install_message = "To get started run buildr --help"
# Tested against these dependencies.
spec.required_rubygems_version = ">= 1.8.6"
# ----------------------------------------------------------------------
# signing key and certificate chain
spec.signing_key = '/mnt/Keys/gem-private_key.pem' if false
spec.cert_chain = ['gem-public_cert.pem']
# ----------------------------------------------------------------------
# take dependencise from buildr/buildr.gemspec. Here from Version 1.4.11
# ----------------------------------------------------------------------
# Tested against these dependencies.
spec.add_dependency 'rake', '0.9.2.2'
spec.add_dependency 'builder', '3.1.3'
spec.add_dependency 'net-ssh', '2.6.0'
spec.add_dependency 'net-sftp', '2.0.5'
spec.add_dependency 'rubyzip', '0.9.9'
# Highline 1.6.15 does not seem to work on windows. We should
# investigate the root cause at a later stage before upgrading
spec.add_dependency 'highline', '1.6.2'
spec.add_dependency 'json_pure', '1.7.5'
spec.add_dependency 'rubyforge', '2.0.4'
spec.add_dependency 'hoe', '3.1.0'
spec.add_dependency 'rjb', '1.4.2' if ($platform.to_s == 'x86-mswin32' || $platform.to_s == 'ruby')
spec.add_dependency 'atoulme-Antwrap', '~> 0.7.4'
spec.add_dependency 'diff-lcs', '1.1.3'
spec.add_dependency 'rspec-expectations', '2.11.3'
spec.add_dependency 'rspec-mocks', '2.11.3'
spec.add_dependency 'rspec-core', '2.11.1'
spec.add_dependency 'rspec', '2.11.0'
spec.add_dependency 'xml-simple', '1.1.1'
spec.add_dependency 'minitar', '0.5.3'
spec.add_dependency 'jruby-openssl', '~> 0.8.2' if $platform.to_s == 'java'
spec.add_dependency 'bundler'
# Unable to get this consistently working under jruby on windows
# unless $platform.to_s == 'java'
if true
spec.add_development_dependency 'jekyll', '0.11.2'
spec.add_development_dependency 'RedCloth', '4.2.9'
spec.add_development_dependency 'jekylltask', '1.1.0'
spec.add_development_dependency 'rdoc', '3.12'
spec.add_development_dependency 'rcov', '0.9.9'
end
spec.add_development_dependency 'ci_reporter', '1.7.2'
# NOTE: Must update all-in-one.rake if this is updated
# ffi-ncurses Fails on several varieties of Ubuntu due to being unable to locate ncursesw library
# Should be able to just disable it
#spec.add_development_dependency 'ffi-ncurses', '0.4.0' if $platform.to_s == 'java'
spec.add_development_dependency 'win32console' if $platform.to_s == 'x86-mswin32'
# Ideally we would depend on psych when the platform has >= 1.9.2 support and jruby platform version > 1.6.6
#spec.add_development_dependency 'psych' if RUBY_VERSION >= '1.9.2'
spec.add_development_dependency 'pygmentize', '0.0.3'
spec.add_development_dependency 'saikuro_treemap', '0.2.0'
spec.add_development_dependency 'atoulme-Saikuro', '1.2.1'
end