summaryrefslogtreecommitdiff
path: root/qpid/cpp
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
commit86c93b66250aa65b680105bf58b7f453a95bf91b (patch)
tree26c965aed8a22917c397df0fe809bc9c27b923ba /qpid/cpp
parent2431662074a4468b133ae993e9d60bf82366836e (diff)
downloadqpid-python-86c93b66250aa65b680105bf58b7f453a95bf91b.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@1442401 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/bindings/qpid/ruby/qpid_messaging.gemspec31
1 files changed, 31 insertions, 0 deletions
diff --git a/qpid/cpp/bindings/qpid/ruby/qpid_messaging.gemspec b/qpid/cpp/bindings/qpid/ruby/qpid_messaging.gemspec
new file mode 100644
index 0000000000..ba17484ea7
--- /dev/null
+++ b/qpid/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
+