diff options
author | Tom Gilbert <tom@linuxbrit.co.uk> | 2005-08-01 20:59:25 +0000 |
---|---|---|
committer | Tom Gilbert <tom@linuxbrit.co.uk> | 2005-08-01 20:59:25 +0000 |
commit | c097e2c9599367e8d956ef9f1f9bafbc0901d107 (patch) | |
tree | 2c3647014c2c2c0ff134ab7f72f9745a1ad23637 /rbot.gemspec | |
parent | adb719c8e886fead559802bfce868ddfce001a80 (diff) |
gemspec file for rbot (WIP)
Diffstat (limited to 'rbot.gemspec')
-rw-r--r-- | rbot.gemspec | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/rbot.gemspec b/rbot.gemspec new file mode 100644 index 00000000..f8bb0874 --- /dev/null +++ b/rbot.gemspec @@ -0,0 +1,41 @@ +require 'rubygems' + +spec = Gem::Specification.new do |s| + + #### Basic information. + + s.name = 'rbot' + s.version = '0.9.9' + 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.has_rdoc = true + s.rdoc_options = ['--webcvs', '--include', 'lib', '--exclude', + '(data/|setup.rb|post-config.rb|rbotconfig.rb|timertest.rb)' + '--title', 'rbot API Documentation', '--main', 'lib/rbot/ircbot.rb', + 'lib', 'bin'] + + #### Author and project details. + + s.author = 'Tom Gilbert' + s.email = 'tom@linuxbrit.co.uk' + s.homepage = 'http://linuxbrit.co.uk/rbot/' + s.rubyforge_project = 'rbot' +end |