From 0b78470bcc369a5e3702c846d47a0c575730cc8f Mon Sep 17 00:00:00 2001 From: "Darryl L. Pierce" Date: Mon, 4 Feb 2013 22:21:35 +0000 Subject: 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 --- cpp/bindings/qpid/ruby/qpid_messaging.gemspec | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 cpp/bindings/qpid/ruby/qpid_messaging.gemspec (limited to 'cpp') 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 + -- cgit v1.2.1