|
Revision 115, 0.9 kB
(checked in by mbailey, 2 years ago)
|
merged 1-7-stable branch changes r74:114 into the trunk.
|
| Line | |
|---|
| 1 |
require 'rubygems' |
|---|
| 2 |
|
|---|
| 3 |
# TODO We should use Hoe to make this easier: http://rubyforge.org/projects/seattlerb -- topfunky |
|---|
| 4 |
|
|---|
| 5 |
SPEC = Gem::Specification.new do |spec| |
|---|
| 6 |
spec.name = 'deprec' |
|---|
| 7 |
spec.version = '1.9.0' |
|---|
| 8 |
spec.summary = 'deployment recipes for capistrano' |
|---|
| 9 |
spec.description = <<-EOF |
|---|
| 10 |
This project provides libraries of Capistrano tasks and extensions to |
|---|
| 11 |
remove the repetative manual work associated with installing services |
|---|
| 12 |
on linux servers. |
|---|
| 13 |
EOF |
|---|
| 14 |
spec.require_path = 'lib' |
|---|
| 15 |
# spec.autorequire = 'deprec/recipes.rb' |
|---|
| 16 |
# spec.platform = Gem::Platform::Ruby |
|---|
| 17 |
# spec.required_ruby_version = '>= 1.6.8' # I don't know |
|---|
| 18 |
spec.add_dependency('capistrano', '= 1.4.1') |
|---|
| 19 |
candidates = Dir.glob("{bin,docs,lib,test,resources}/**/*") |
|---|
| 20 |
spec.files = candidates.delete_if do |item| |
|---|
| 21 |
item.include?("CVS") || item.include?("rdoc") |
|---|
| 22 |
end |
|---|
| 23 |
spec.default_executable = "deprec" |
|---|
| 24 |
spec.executables = ["deprec"] |
|---|
| 25 |
end |
|---|