summaryrefslogtreecommitdiff
path: root/cpp/bindings
diff options
context:
space:
mode:
authorDarryl L. Pierce <mcpierce@apache.org>2013-02-04 22:21:35 +0000
committerDarryl L. Pierce <mcpierce@apache.org>2013-02-04 22:21:35 +0000
commit0b78470bcc369a5e3702c846d47a0c575730cc8f (patch)
tree065d6e7d0f91e87c005625c18d29d53f1191a18c /cpp/bindings
parentfd70bf0fadfd176cd6bd0b87e2d40f81a6dbf3e5 (diff)
downloadqpid-python-0b78470bcc369a5e3702c846d47a0c575730cc8f.tar.gz
NO-JIRA: Moved to a Gemspec file for packaging up the Ruby bindings.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1442401 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings')
-rw-r--r--cpp/bindings/qpid/ruby/qpid_messaging.gemspec31
1 files changed, 31 insertions, 0 deletions
diff --git a/cpp/bindings/qpid/ruby/qpid_messaging.gemspec b/cpp/bindings/qpid/ruby/qpid_messaging.gemspec
new file mode 100644
index 0000000000..ba17484ea7
--- /dev/null
+++ b/cpp/bindings/qpid/ruby/qpid_messaging.gemspec
@@ -0,0 +1,31 @@
+# -*- encoding: utf-8 -*-
+lib = File.expand_path('lib/', __FILE__)
+$:.unshift lib unless $:.include?(lib)
+
+# Generate the Swig wrapper
+system "swig -ruby -c++ -I../../../include -I../../ -o ext/cqpid/cqpid.cpp ruby.i"
+
+Gem::Specification.new do |s|
+ s.name = "qpid_messaging"
+ s.version = "0.20.1"
+ s.platform = Gem::Platform::RUBY
+ s.authors = "Apache Qpid Project"
+ s.email = "dev@qpid.apache.org"
+ s.homepage = "http://qpid.apache.org"
+ s.summary = "Qpid is an enterprise messaging framework."
+ s.description = s.summary
+
+ s.extensions = "ext/cqpid/extconf.rb"
+ s.files = Dir["LICENSE",
+ "README.rdoc",
+ "TODO",
+ "lib/**/*.rb",
+ "test/**/*.rb",
+ "examples/**/*.rb",
+ "ext/**/*",
+ "features/**/*",
+ "spec/**/*"
+ ]
+ s.require_path = 'lib'
+end
+