summaryrefslogtreecommitdiff
path: root/cpp/bindings/qpid/ruby/qpid_messaging.gemspec
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/bindings/qpid/ruby/qpid_messaging.gemspec')
-rw-r--r--cpp/bindings/qpid/ruby/qpid_messaging.gemspec28
1 files changed, 28 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..06e3f48cb8
--- /dev/null
+++ b/cpp/bindings/qpid/ruby/qpid_messaging.gemspec
@@ -0,0 +1,28 @@
+# -*- 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.22.0"
+ 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",
+ "ChangeLog",
+ "README.rdoc",
+ "TODO",
+ "lib/**/*.rb",
+ "ext/**/*",
+ ]
+ s.require_path = 'lib'
+end
+