3 require 'rake/gempackagetask'
5 task :default => [:repackage]
7 spec = Gem::Specification.new do |s|
11 A modular ruby IRC bot.
13 s.description = <<-EOF
14 A modular ruby IRC bot specifically designed for ease of extension via plugins.
16 s.requirements << 'Ruby, version 1.8.0 (or newer)'
18 # s.files = Dir.glob("**/*").delete_if { |item| item.include?(".svn") }
19 s.files = FileList['lib/**/*.rb', 'bin/*', 'data/**/*', 'AUTHORS', 'COPYING', 'README', 'REQUIREMENTS', 'TODO', 'ChangeLog', 'INSTALL', 'Usage_en.txt', 'setup.rb'].to_a.delete_if {|item| item == ".svn"}
20 s.executables << 'rbot'
22 # s.autorequire = 'rbot/ircbot'
24 s.rdoc_options = ['--exclude', 'post-install.rb',
25 '--title', 'rbot API Documentation', '--main', 'README', 'README']
27 s.author = 'Tom Gilbert'
28 s.email = 'tom@linuxbrit.co.uk'
29 s.homepage = 'http://linuxbrit.co.uk/rbot/'
30 s.rubyforge_project = 'rbot'
33 Rake::GemPackageTask.new(spec) do |pkg|