]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blob - rbot.gemspec
gemspec file for rbot (WIP)
[user/henk/code/ruby/rbot.git] / rbot.gemspec
1 require 'rubygems'
2
3 spec = Gem::Specification.new do |s|
4
5   #### Basic information.
6
7   s.name = 'rbot'
8   s.version = '0.9.9'
9   s.summary = <<-EOF
10     A modular ruby IRC bot.
11   EOF
12   s.description = <<-EOF
13     A modular ruby IRC bot specifically designed for ease of extension via plugins.
14   EOF
15
16   s.requirements << 'Ruby, version 1.8.0 (or newer)'
17
18   #### Which files are to be included in this gem?  Everything!  (Except .svn directories.)
19
20   s.files = Dir.glob("**/*").delete_if { |item| item.include?(".svn") }
21
22   #### C code extensions.
23
24   # s.require_path = '.' # is this correct?
25   # s.extensions << "extconf.rb"
26
27   #### Load-time details: library and application (you will need one or both).
28   s.autorequire = 'rbot/ircbot'
29   s.has_rdoc = true
30   s.rdoc_options = ['--webcvs', '--include', 'lib', '--exclude',
31   '(data/|setup.rb|post-config.rb|rbotconfig.rb|timertest.rb)'
32   '--title', 'rbot API Documentation', '--main', 'lib/rbot/ircbot.rb', 
33   'lib', 'bin']
34
35   #### Author and project details.
36
37   s.author = 'Tom Gilbert'
38   s.email = 'tom@linuxbrit.co.uk'
39   s.homepage = 'http://linuxbrit.co.uk/rbot/'
40   s.rubyforge_project = 'rbot'
41 end