summaryrefslogtreecommitdiffstats
path: root/gem_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2009-02-28 21:19:37 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2009-02-28 21:19:37 +0100
commit0a8b6ea5dc6a9d56638b985dd67b0c45f167e381 (patch)
tree1932cb877c3e623f9a300c37971bb4e073670aea /gem_spec.rb
parent50bb456cf469f73d3a32474dc07bd58c0c64dba1 (diff)
downloadmmap-ruby-0a8b6ea5dc6a9d56638b985dd67b0c45f167e381.zip
mmap-ruby-0a8b6ea5dc6a9d56638b985dd67b0c45f167e381.tar.gz
mmap goes rakeified, build and test OKHEADmaster
Diffstat (limited to 'gem_spec.rb')
-rw-r--r--gem_spec.rb28
1 files changed, 28 insertions, 0 deletions
diff --git a/gem_spec.rb b/gem_spec.rb
new file mode 100644
index 0000000..a310bf3
--- /dev/null
+++ b/gem_spec.rb
@@ -0,0 +1,28 @@
+# GEM SPECIFICATION
+GEM_SPEC = Gem::Specification.new { |s|
+ s.name = UNIX_NAME
+ s.version = PROJECT_VERSION
+ s.summary = PROJECT_SUMMARY
+ s.rubyforge_project = UNIX_NAME
+ s.homepage = PROJECT_HOMEPAGE
+ s.author = USER_NAME
+ s.email = USER_EMAIL
+ s.files = DIST_FILES
+ s.test_files = TEST_FILES
+ s.executables = BIN_FILES.map { |fn| File.basename(fn) }
+ s.has_rdoc = true
+ s.extra_rdoc_files = RDOC_FILES
+ #s.rdoc_options = GENERAL_RDOC_OPTS.to_a.flatten
+ s.date = Time.now
+ if HAVE_EXT
+ s.extensions = EXT_CONF_FILES
+ s.require_paths << EXT_DIR
+ end
+ if HAVE_CERT
+ s.signing_key = CERT_PRIVATE
+ s.cert_chain = [CERT_PUBLIC]
+ end
+ s.platform = Gem::Platform::RUBY
+# s.required_ruby_version = '>= 1.8.5'
+}
+