-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathlibxslt-ruby.gemspec
46 lines (42 loc) · 1.65 KB
/
libxslt-ruby.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
34
35
36
37
38
39
40
41
42
43
44
45
46
# encoding: utf-8
require 'date'
# Determine the current version of the software
version = File.read('ext/libxslt/version.h').match(/\s*RUBY_LIBXSLT_VERSION\s*['"](\d.+)['"]/)[1]
Gem::Specification.new do |spec|
spec.name = "libxslt-ruby"
spec.homepage = "http://libxslt.rubyforge.org/"
spec.summary = "Ruby libxslt bindings"
spec.description = <<-EOF
The Libxslt-Ruby project provides Ruby language bindings for the GNOME
XSLT C library. It is free software, released under the MIT License.
EOF
# Determine the current version of the software
spec.version = version
spec.author = "Charlie Savage"
spec.email = "[email protected]"
spec.add_dependency('libxml-ruby','>=2.4.0')
spec.platform = Gem::Platform::RUBY
spec.require_paths = ["lib", "ext/libxslt"]
spec.bindir = "bin"
spec.extensions = ["ext/libxslt/extconf.rb"]
spec.files = Dir.glob(['CHANGES',
'LICENSE',
'Rakefile',
'README.rdoc',
'libxslt-ruby.gemspec',
'setup.rb',
'doc/**/*',
'lib/**/*.rb',
'ext/libxslt/*.h',
'ext/libxslt/*.c',
'ext/vc/*.sln',
'ext/vc/*.vcxproj',
'test/**/*'])
spec.test_files = Dir.glob("test/test_*.rb")
spec.add_development_dependency 'rdoc'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rake-compiler'
spec.required_ruby_version = '>= 1.8.7'
spec.date = DateTime.now
spec.rubyforge_project = 'libxslt-ruby'
end