X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=rbot.gemspec;h=d023609d2ed2c3881d7400a300000b096f28f570;hb=358e6c29b8dfc9182a7c86f9bc9021a7a567d3d2;hp=c63f3836446124af12b3368dbfe248774912d70a;hpb=5940baa7fb81196925d692d4e4fe6d6cab73d1ed;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/rbot.gemspec b/rbot.gemspec index c63f3836..d023609d 100644 --- a/rbot.gemspec +++ b/rbot.gemspec @@ -1,40 +1,50 @@ -require 'rubygems' - -spec = Gem::Specification.new do |s| - - #### Basic information. +require 'rake' +Gem::Specification.new do |s| s.name = 'rbot' - s.version = '0.9.9' + s.version = '0.9.15' s.summary = <<-EOF A modular ruby IRC bot. EOF s.description = <<-EOF A modular ruby IRC bot specifically designed for ease of extension via plugins. EOF - - s.requirements << 'Ruby, version 1.8.0 (or newer)' - - #### Which files are to be included in this gem? Everything! (Except .svn directories.) - - s.files = Dir.glob("**/*").delete_if { |item| item.include?(".svn") } - - #### C code extensions. - - # s.require_path = '.' # is this correct? - # s.extensions << "extconf.rb" - - #### Load-time details: library and application (you will need one or both). - s.autorequire = 'rbot/ircbot' + s.requirements << 'Ruby, version 1.9.3 (or newer)' + + s.files = FileList[ + 'lib/**/*.rb', + 'bin/*', + 'data/rbot/**/*', + 'AUTHORS', + 'COPYING', + 'COPYING.rbot', + 'GPLv2', + 'README.md', + 'REQUIREMENTS', + 'TODO', + 'ChangeLog', + 'INSTALL', + 'Usage_en.txt', + 'man/rbot.xml', + 'setup.rb', + 'launch_here.rb', + 'po/*.pot', + 'po/**/*.po' + ] + + s.bindir = 'bin' + s.executables = ['rbot', 'rbotdb'] + s.default_executable = 'rbot' + s.extensions = 'Rakefile' + +# s.autorequire = 'rbot/ircbot' s.has_rdoc = true - s.rdoc_options = ['--include', 'lib', '--exclude', - '(post-config.rb|rbotconfig.rb)', '--title', 'rbot API Documentation', - '--main', 'lib/rbot/ircbot.rb', 'lib', 'bin/rbot'] - - #### Author and project details. + s.rdoc_options = ['--exclude', 'post-install.rb', + '--title', 'rbot API Documentation', '--main', 'README.rdoc', 'README.rdoc'] s.author = 'Tom Gilbert' s.email = 'tom@linuxbrit.co.uk' - s.homepage = 'http://linuxbrit.co.uk/rbot/' + s.homepage = 'http://ruby-rbot.org' s.rubyforge_project = 'rbot' end +