| 1 |
# coding: utf-8 |
| 2 |
lib = File.expand_path('../lib', __FILE__) |
| 3 |
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) |
| 4 |
require 'numru/fftw3/version' |
| 5 |
|
| 6 |
filelist = %w!ChangeLog .ChangeLog.until20110419 Gemfile LICENSE.txt Rakefile ruby-fftw3.gemspec! |
| •7 |
filelist.concat(Dir::glob(["ext/**/*.c", "ext/**/*.rb", "lib/**/*.rb", "test/**/*.rb"])) |
| 8 |
|
| 9 |
Gem::Specification.new do |spec| |
| 10 |
spec.name = "ruby-fftw3" |
| 11 |
spec.version = NumRu::FFTW3::VERSION |
| 12 |
spec.authors = ["Takeshi Horinouchi"] |
| 13 |
spec.email = ['[email protected]'] |
| 14 |
|
| 15 |
spec.summary = %q{The Ruby interface of the FFTW (ver 3) library} |
| 16 |
spec.description = %q{The Ruby interface of the FFTW3, Fast Fourier Transform library FFTW Ver.3. Since ver.1, ruby-fftw3 supports all kinds of FFTs in FFTW3. Works with NArray (or NumRu::NArray).} |
| 17 |
spec.homepage = 'http://www.gfd-dennou.org/arch/ruby/products/ruby-fftw3/' |
| 18 |
spec.licenses = ["BSD-2-Clause"] |
| 19 |
|
| 20 |
spec.files = filelist |
| 21 |
spec.test_files = spec.files.grep(%r{^test/}) |
| 22 |
spec.require_paths = ["ext","lib"] |
| 23 |
|
| 24 |
spec.required_ruby_version = Gem::Requirement.new(">= 1.8") |
| 25 |
spec.add_runtime_dependency(%q<narray>, [">= 0"]) |
| 26 |
|
| 27 |
spec.extensions << "ext/numru/fftw3/extconf.rb" |
| 28 |
end |