-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
44 lines (38 loc) · 1.33 KB
/
Rakefile
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
42
43
44
# OUTDATED
# use gem build ruby-net-cdf.gemspec to build gem
require 'rubygems'
require 'rubygems/package_task'
NAME = 'ruby-netcdf'
VER = '0.6.6.3'
PKG_FILES = FileList[
'**',
'lib/**/*',
'demo/**/*',
'doc/**/*',
'test/**/*'
]
spec = Gem::Specification.new do |s|
s.name = NAME
s.version = VER
s.authors = ["Takeshi Horinouchi", "Tsuyoshi Koshiro",\
"Shigenori Otsuka", "Seiya Nishizawa", "T Sakakima"]
s.email = ['[email protected]']
s.homepage = 'http://www.gfd-dennou.org/arch/ruby/products/ruby-netcdf/'
s.licenses = ["GFD Dennou Club"]
s.platform = Gem::Platform::RUBY
s.summary = %q{Ruby interface to NetCDF}
s.description = %q{RubyNetCDF is the Ruby interface to the NetCDF library built on the NArray library, which is an efficient multi-dimensional numeric array class for Ruby.}
s.files = PKG_FILES.to_a
s.require_paths = ['lib']
s.test_files = Dir.glob("test/*")
s.has_rdoc = true
s.required_ruby_version = Gem::Requirement.new(">= 1.6")
s.add_runtime_dependency(%q<narray>, [">= 0"])
s.add_runtime_dependency(%q<narray_miss>, [">= 0"])
#s.extra_rdoc_files = ['README']
s.extensions << "ext/extconf.rb"
end
Gem::PackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
pkg.need_tar = true
end