4 require 'rake/extensiontask'
 		
		
   6 spec = Gem::Specification.new do |s|
 		
   7   s.author = "Raffaello Pelagalli"
 		
   8   s.email = "r _at_ redstack _dot_ net"
 		
		
		
  11   s.homepage = "http://redstack.net/ruby-ssdeep"
 		
  12   s.summary = "SSDEEP bindings for Ruby"
 		
  13   s.description = <<-EOF
 		
  14 ssdeep is a program for computing context triggered piecewise hashes (CTPH). Also called fuzzy hashes, CTPH can match inputs that have homologies. Such inputs have sequences of identical bytes in the same order, although bytes in between these sequences may be different in both content and length.
 		
		
  16   s.platform = Gem::Platform::RUBY
 		
  17   s.extensions = FileList["ext/**/extconf.rb"]
 		
  18   s.files = FileList['lib/', 'bin/*', '[A-Z]*', 'test/**/*', 'ext/**/*'].to_a
 		
		
		
  21 # add your default gem packing task
 		
  22 Rake::GemPackageTask.new(spec) do |pkg|
 		
		
		
		
  26 Rake::ExtensionTask.new('ssdeep', spec)