qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcpie...@apache.org
Subject svn commit: r1442401 - /qpid/trunk/qpid/cpp/bindings/qpid/ruby/qpid_messaging.gemspec
Date Mon, 04 Feb 2013 22:21:35 GMT
Author: mcpierce
Date: Mon Feb  4 22:21:35 2013
New Revision: 1442401

URL: http://svn.apache.org/viewvc?rev=1442401&view=rev
Log:
NO-JIRA: Moved to a Gemspec file for packaging up the Ruby bindings.

Added:
    qpid/trunk/qpid/cpp/bindings/qpid/ruby/qpid_messaging.gemspec

Added: qpid/trunk/qpid/cpp/bindings/qpid/ruby/qpid_messaging.gemspec
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/ruby/qpid_messaging.gemspec?rev=1442401&view=auto
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/ruby/qpid_messaging.gemspec (added)
+++ qpid/trunk/qpid/cpp/bindings/qpid/ruby/qpid_messaging.gemspec Mon Feb  4 22:21:35 2013
@@ -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
+



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message