require 'rubygems' SPEC = Gem::Specification.new do |s| s.name = `cat admin/library-name`.strip s.version = `darcs changes --tags= | awk '$1 == "tagged" { print $2 }' | head -n 1`.strip s.author = 'Brian Ellin (JanRain, Inc), Eugene Eric Kim (Blue Oxen Associates)' s.email = 'brian@janrian.com, eekim@blueoxen.com' s.homepage = 'http://www.openidenabled.com/yadis/libraries/ruby' s.platform = Gem::Platform::RUBY s.summary = 'A library for performing Yadis service discovery' files = Dir.glob("{examples,lib,test}/**/*") s.files = files.delete_if {|f| f.include?('_darcs') || f.include?('admin')} s.require_path = 'lib' s.autorequire = 'yadis' s.test_file = 'test/runtests.rb' s.has_rdoc = true s.extra_rdoc_files = ['README','INSTALL','COPYING'] s.rdoc_options << '--main' << 'README' end