2012-11-27 13:40:57 +08:00
|
|
|
require File.join(File.dirname(__FILE__), "lib/fpm/version")
|
2011-01-04 09:25:06 +08:00
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
|
files = []
|
2011-01-04 10:22:09 +08:00
|
|
|
dirs = %w{lib bin templates}
|
2011-01-04 09:25:06 +08:00
|
|
|
dirs.each do |dir|
|
|
|
|
|
files += Dir["#{dir}/**/*"]
|
|
|
|
|
end
|
|
|
|
|
|
2011-05-17 15:30:34 +08:00
|
|
|
files << "LICENSE"
|
|
|
|
|
files << "CONTRIBUTORS"
|
2011-05-18 16:23:55 +08:00
|
|
|
files << "CHANGELIST"
|
2011-05-17 15:30:34 +08:00
|
|
|
|
2011-01-04 09:25:06 +08:00
|
|
|
spec.name = "fpm"
|
2012-11-27 13:40:57 +08:00
|
|
|
spec.version = FPM::VERSION
|
2011-01-04 09:25:06 +08:00
|
|
|
spec.summary = "fpm - package building and mangling"
|
2012-03-04 09:50:17 +08:00
|
|
|
spec.description = "Convert directories, rpms, python eggs, rubygems, and " \
|
|
|
|
|
"more to rpms, debs, solaris packages and more. Win at package " \
|
|
|
|
|
"management without wasting pointless hours debugging bad rpm specs!"
|
2012-03-08 11:44:11 +08:00
|
|
|
|
|
|
|
|
# For parsing JSON (required for some Python support, etc)
|
|
|
|
|
# http://flori.github.com/json/doc/index.html
|
2013-03-21 11:11:22 +08:00
|
|
|
spec.add_dependency("json", "~> 1.7.7") # license: Ruby License
|
2012-03-08 11:44:11 +08:00
|
|
|
|
|
|
|
|
# For logging
|
|
|
|
|
# https://github.com/jordansissel/ruby-cabin
|
2013-01-22 02:56:25 +08:00
|
|
|
spec.add_dependency("cabin", ">= 0.6.0") # license: Apache 2
|
2012-03-08 11:44:11 +08:00
|
|
|
|
|
|
|
|
# For backports to older rubies
|
|
|
|
|
# https://github.com/marcandre/backports
|
2012-08-08 00:32:59 +08:00
|
|
|
spec.add_dependency("backports", "2.6.2") # license: MIT
|
2012-03-08 11:44:11 +08:00
|
|
|
|
|
|
|
|
# For reading and writing rpms
|
2013-03-21 11:11:22 +08:00
|
|
|
spec.add_dependency("arr-pm", "~> 0.0.8") # license: Apache 2
|
2012-03-08 11:44:11 +08:00
|
|
|
|
2013-04-30 15:25:25 +08:00
|
|
|
# For http stuff
|
|
|
|
|
spec.add_dependency("ftw", "~> 0.0.30") # license: Apache 2
|
|
|
|
|
|
2012-03-10 03:24:31 +08:00
|
|
|
# For command-line flag support
|
|
|
|
|
# https://github.com/mdub/clamp/blob/master/README.markdown
|
2013-05-01 08:14:51 +08:00
|
|
|
spec.add_dependency("clamp", "0.6.0") # license: MIT
|
2012-03-10 03:24:31 +08:00
|
|
|
|
2013-05-12 05:42:54 +08:00
|
|
|
# For starting external processes across various ruby interpreters
|
|
|
|
|
spec.add_dependency("childprocess") # license: ???
|
2013-01-03 20:57:02 +08:00
|
|
|
|
2012-03-20 05:30:51 +08:00
|
|
|
# For simple shell/file hackery in the tests.
|
2012-03-08 11:44:11 +08:00
|
|
|
# http://rush.heroku.com/rdoc/
|
|
|
|
|
spec.add_development_dependency("rush") # license: MIT
|
|
|
|
|
|
2012-03-20 05:30:51 +08:00
|
|
|
spec.add_development_dependency("rspec") # license: MIT (according to wikipedia)
|
|
|
|
|
spec.add_development_dependency("insist", "~> 0.0.5") # license: ???
|
2013-03-22 16:44:21 +08:00
|
|
|
spec.add_development_dependency("minitest")
|
2013-05-01 08:56:40 +08:00
|
|
|
spec.add_development_dependency("pry")
|
2012-03-08 16:03:04 +08:00
|
|
|
|
2011-01-04 09:25:06 +08:00
|
|
|
spec.files = files
|
|
|
|
|
spec.require_paths << "lib"
|
|
|
|
|
spec.bindir = "bin"
|
|
|
|
|
spec.executables << "fpm"
|
|
|
|
|
|
|
|
|
|
spec.author = "Jordan Sissel"
|
|
|
|
|
spec.email = "jls@semicomplete.com"
|
|
|
|
|
spec.homepage = "https://github.com/jordansissel/fpm"
|
|
|
|
|
end
|
|
|
|
|
|