-
Notifications
You must be signed in to change notification settings - Fork 77
/
vanagon.gemspec
44 lines (38 loc) · 1.79 KB
/
vanagon.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
require 'time'
Gem::Specification.new do |gem|
gem.name = 'vanagon'
gem.version = %x(git describe --tags).tr('-', '.').chomp
gem.summary = 'Multiplatform build, sign, and ship for Puppet projects'
gem.description = <<-DESCRIPTION
Vanagon takes a set of project, component, and platform configuration files, to perform
multiplatform builds that are packaged into rpms, debs, dmgs, etc.
It has support for calls into Puppet's packaging gem to provide for package signing and
shipping within the Puppet infrastructure.
DESCRIPTION
gem.license = 'Apache-2.0'
gem.authors = ['Puppet By Perforce']
gem.email = 'release@puppet.com'
gem.homepage = 'http://github.com/puppetlabs/vanagon'
gem.required_ruby_version = '>=2.3', '<4'
gem.add_runtime_dependency('docopt')
# Handle git repos responsibly
# - MIT licensed: https://rubygems.org/gems/git
gem.add_runtime_dependency('git', '~> 1.13.0')
# Parse scp-style triplets like URIs; used for Git source handling.
# - MIT licensed: https://rubygems.org/gems/build-uri
gem.add_runtime_dependency('build-uri', '~> 1.0')
# Handle locking hardware resources
# - ASL v2 licensed: https://rubygems.org/gems/lock_manager
gem.add_runtime_dependency('lock_manager', '>= 0')
# Utilities for `ship` and `repo` commands
# - ASL v2 licensed: https://rubygems.org/gems/packaging
gem.add_runtime_dependency('packaging')
gem.add_runtime_dependency('psych', '>= 4.0')
gem.require_path = 'lib'
gem.bindir = 'bin'
gem.executables = %w[vanagon build inspect ship render repo sign
build_host_info build_requirements]
# Ensure the gem is built out of versioned files
gem.files = Dir['{bin,extras,lib,spec,resources}/**/*', 'README*', 'LICENSE*'] &
%x(git ls-files -z).split("\0")
end