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
|
require 'rubygems/package_task'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.summary = "Simple native extension used to test dh_ruby"
s.name = 'simplemixed'
s.version = '1.2.3'
s.requirements << 'none'
s.require_path = 'ext'
s.extensions << 'ext/simplemixed/extconf.rb'
s.author = 'Debian Ruby Team'
s.email = 'pkg-ruby-extras-maintainers@lists.alioth.debian.org'
s.homepage = 'https://wiki.debian.org/Teams/Ruby'
s.license = 'GPL-3+'
#s.autorequire = 'rake'
s.files = Dir.glob('{bin,ext,lib}/**/*')
s.description = <<EOF
simplemixed is a simple mixed library (both pure-Ruby and native extension) that is used to test dh_ruby.
EOF
end
Gem::PackageTask.new(spec) do |pkg|
pkg.need_zip = false
pkg.need_tar = false
end
|