root/rbot.gemspec

Revision 5f5c9912d68f73b91fccc83f0cc57ee62d8f4a4f, 1.1 KB (checked in by Giuseppe Bilotta <giuseppe.bilotta@…>, 4 weeks ago)

Package man files

Define a rule in the Rakefile to generate them, and change the Dir[]
into a FileList?[] into the gemspec. The latter change has the downside
of requiring Rake's FileList?, but the upside of listing non-existing
files, so that Rake can create them, if possible, or complain if they
are just missing.

  • Property mode set to 100644
Line 
1Gem::Specification.new do |s|
2  s.name = 'rbot'
3  s.version = '0.9.15'
4  s.summary = <<-EOF
5    A modular ruby IRC bot.
6  EOF
7  s.description = <<-EOF
8    A modular ruby IRC bot specifically designed for ease of extension via plugins.
9  EOF
10  s.requirements << 'Ruby, version 1.8.0 (or newer)'
11
12  s.files = FileList[
13          'lib/**/*.rb',
14          'bin/*',
15          'data/rbot/**/*',
16          'AUTHORS',
17          'COPYING',
18          'COPYING.rbot',
19          'GPLv2',
20          'README.rdoc',
21          'REQUIREMENTS',
22          'TODO',
23          'ChangeLog',
24          'INSTALL',
25          'Usage_en.txt',
26          'man/rbot.1',
27          'man/rbot-remote.1',
28          'setup.rb',
29          'launch_here.rb',
30          'po/*.pot',
31          'po/**/*.po'
32  ]
33
34  s.bindir = 'bin'
35  s.executables = ['rbot', 'rbot-remote']
36  s.default_executable = 'rbot'
37  s.extensions = 'Rakefile'
38
39#  s.autorequire = 'rbot/ircbot'
40  s.has_rdoc = true
41  s.rdoc_options = ['--exclude', 'post-install.rb',
42  '--title', 'rbot API Documentation', '--main', 'README.rdoc', 'README.rdoc']
43
44  s.author = 'Tom Gilbert'
45  s.email = 'tom@linuxbrit.co.uk'
46  s.homepage = 'http://ruby-rbot.org'
47  s.rubyforge_project = 'rbot'
48end
49
Note: See TracBrowser for help on using the browser.