about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-31 09:10:21 +0000
committerEric Wong <normalperson@yhbt.net>2011-01-31 09:10:52 +0000
commit8a50c79ca431f42ed3dcc41d8a789505ddf2cf89 (patch)
tree2ef5865d223714fa4bb82692ef9f84982c6949f8
parent3bbb5d3d2dbf45d0a6aa66aa39c1733804b82eb7 (diff)
downloadmahoro-8a50c79ca431f42ed3dcc41d8a789505ddf2cf89.tar.gz
add gemspec for RubyGems.org
This allows other RubyGems to depend on us more easily.
-rw-r--r--mahoro.gemspec25
1 files changed, 25 insertions, 0 deletions
diff --git a/mahoro.gemspec b/mahoro.gemspec
new file mode 100644
index 0000000..b21d4ba
--- /dev/null
+++ b/mahoro.gemspec
@@ -0,0 +1,25 @@
+ENV["VERSION"] or abort "VERSION= must be specified"
+
+Gem::Specification.new do |s|
+  s.name = %q{mahoro}
+  s.version = ENV["VERSION"].dup
+  s.homepage = "http://mahoro.rubyforge.org/"
+  s.authors = [ "Shu-yu Guo", "Eric Wong" ]
+  s.date = Time.now.utc.strftime('%Y-%m-%d')
+  s.description = %{
+An interface to libmagic to determine file types using "magic" numbers.
+This can be used in place of calling the file(1) command in Ruby scripts.
+Shu-yu Guo is the original author but all maintenance is handled by
+Eric Wong nowadays.
+
+source: http://bogomips.org/mahoro.git/
+  }.strip
+  s.email = %q{normalperson@yhbt.net}
+  s.files = `git ls-files`.split(/\n/)
+  s.rubyforge_project = %q{mahoro}
+  s.summary = 'An interface to libmagic'
+  s.test_files = %w(test.rb)
+  s.extensions = %w(extconf.rb)
+
+  s.license = "Public Domain" # disabled for compatibility with older RubyGems
+end