1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
require 'rubygems'
spec = Gem::Specification.new do |s|
#### Basic information.
s.name = 'MB-Ruby'
s.version = '0.2.1'
s.summary = <<-EOF
MusicBrainz bindings for Ruby.
EOF
s.description = <<-EOF
MusicBrainz bindings for Ruby.
EOF
s.requirements << 'MusicBrainz, version 2.1.0 (or newer)'
s.requirements << 'Ruby, version 1.6.7 (or newer)'
#### Which files are to be included in this gem? Everything! (Except CVS directories.)
s.files = Dir.glob("**/*").delete_if { |item| item.include?("CVS") }
#### C code extensions.
s.require_path = 'lib' # is this correct?
s.extensions << "extconf.rb"
#### Load-time details: library and application (you will need one or both).
s.autorequire = 'musicbrainz'
s.has_rdoc = true
s.rdoc_options = ['--title', 'MB-Ruby API Documentation', '--webcvs',
'http://cvs.pablotron.org/cgi-bin/viewcvs.cgi/mb-ruby/',
'musicbrainz.c', 'AUTHORS', 'README', 'ChangeLog', 'COPYING', 'TODO']
#### Author and project details.
s.author = 'Paul Duncan'
s.email = 'pabs@pablotron.org'
s.homepage = 'http://www.pablotron.org/software/mb-ruby/'
s.rubyforge_project = 'mb-ruby'
end
|