require "rubygems"

PLUGIN   = "termios"
NAME     = "termios"
VERSION  = "0.9.5"
AUTHOR   = "Akira Yamada and Goto Kentaro"
EMAIL    = "akira@ruby-lang.org"
HOMEPAGE = "http://arika.org/ruby/termios"
SUMMARY  = "Termios module are simple wrapper for termios(3). It can be included into IO-family classes and can extend IO-family objects. In addition, the methods can use as module function."

spec = Gem::Specification.new do |s|
  s.name          = NAME
  s.email         = EMAIL
  s.author        = AUTHOR
  s.version       = VERSION
  s.summary       = SUMMARY
  s.platform      = Gem::Platform::RUBY
  s.has_rdoc      = false
  s.homepage      = HOMEPAGE
  s.description   = SUMMARY
  s.autorequire   = PLUGIN
  s.require_paths = ["lib"]
  s.extra_rdoc_files = ["README", "termios.rd"]
  s.files = Dir.glob("[A-Z]*") + Dir.glob("*.rb") + Dir.glob("termios.*") + Dir.glob("{test,examples}/**/*")
  s.extensions    = "extconf.rb"
end
