-
Notifications
You must be signed in to change notification settings - Fork 8
/
rfreeimage.gemspec
33 lines (31 loc) · 1.37 KB
/
rfreeimage.gemspec
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
$:.push File.expand_path("../lib", __FILE__)
if ENV['DEVELOPMENT']
VERSION = `git describe --tags`.strip.gsub('-', '.')[1..-1]
else
require 'rfreeimage/version'
VERSION = RFreeImage::VERSION
end
Gem::Specification.new do |s|
s.name = "rfreeimage"
s.version = VERSION
s.date = Time.now.strftime('%Y-%m-%d')
s.summary = "Ruby extension for FreeImage library."
s.homepage = "https://github.com/chyh1990/rfreeimage"
s.email = "chyh1990@gmail.com"
s.authors = [ "Yuheng Chen" ]
s.license = "MIT"
s.files = %w( README.md LICENSE Rakefile rfreeimage.gemspec )
s.files += Dir.glob("lib/**/*.rb")
s.files += Dir.glob("ext/**/*.[ch]")
s.files += Dir.glob("vendor/FreeImage/Makefile*")
s.files += Dir.glob("vendor/FreeImage/README.*")
s.files += Dir.glob("vendor/FreeImage/{Source, Wrapper}/**/*.{c,h,cpp}")
s.extensions = Dir.glob('ext/**/extconf.rb')
s.required_ruby_version = '>= 1.9.3'
s.description = <<desc
RFreeImage is the ruby binding for FreeImage library.
desc
s.add_development_dependency "rake-compiler", ">= 0.9.0"
s.add_development_dependency "minitest", "~> 3.0.0"
s.add_development_dependency "test-unit"
end