Bug 433413: Defining .rockspec

Signed-off-by: Kevin KIN-FOO <kkinfoo@sierrawireless.com>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..43c6239
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.rock
diff --git a/paho/mqtt.lua b/paho/mqtt.lua
index 3c20c63..34513c1 100644
--- a/paho/mqtt.lua
+++ b/paho/mqtt.lua
@@ -1,7 +1,7 @@
 ---
 -- @module mqtt_library
 -- ~~~~~~~~~~~~~~~~
--- Version: 0.2 2012-06-01
+-- Version: 0.3 2014-10-06
 -- -------------------------------------------------------------------------- --
 -- Copyright (c) 2011-2012 Geekscape Pty. Ltd.
 -- All rights reserved. This program and the accompanying materials
@@ -10,7 +10,8 @@
 -- http://www.eclipse.org/legal/epl-v10.html
 --
 -- Contributors:
---    Andy Gelme - Initial API and implementation
+--    Andy Gelme    - Initial API and implementation
+--    Kevin KIN-FOO - Authentication and rockspec
 -- -------------------------------------------------------------------------- --
 --
 -- Documentation
diff --git a/paho/utility.lua b/paho/utility.lua
index e4fbfa9..70301ee 100644
--- a/paho/utility.lua
+++ b/paho/utility.lua
@@ -1,7 +1,7 @@
 ---
 -- @module Utility
 -- ~~~~~~~~~~~
--- Version: 0.2 2012-06-01
+-- Version: 0.3 2014-10-06
 -- -------------------------------------------------------------------------- --
 -- Copyright (c) 2011-2012 Geekscape Pty. Ltd.
 -- All rights reserved. This program and the accompanying materials
diff --git a/rocks/paho-mqtt-0.3.0-1.rockspec b/rocks/paho-mqtt-0.3.0-1.rockspec
new file mode 100644
index 0000000..d233a18
--- /dev/null
+++ b/rocks/paho-mqtt-0.3.0-1.rockspec
@@ -0,0 +1,39 @@
+package = 'paho-mqtt'
+version = '0.3.0-1'
+source = {
+  url = 'git://git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.lua.git',
+  tag = 'v0.3.0-1',
+}
+
+description = {
+  summary = 'Client-side implementation of MQTT',
+  detailed = [[Implements the client-side subset of the MQTT protocol
+    specification 3.1, plus command-line utilities for publishing and
+    subscribing to MQTT topics. Typically, one or more MQTT servers,
+    such as mosquitto or rsmb will be running on host systems, with
+    which the Lua MQTT client can interact.]],
+  license = 'EPL',
+  homepage = 'https://www.eclipse.org/paho/',
+  maintainer = 'Kevin KIN-FOO <kkinfoo@sierrawireless.com>',
+}
+
+dependencies = {
+  'lua ~> 5.1',
+  'luafilesystem ~> 1.6',
+  'luasocket ~> 3.0',
+  'penlight ~> 1.3',
+}
+
+build = {
+  type = 'builtin',
+  modules = {
+    ['paho.mqtt'] = 'paho/mqtt.lua',
+    ['paho.utility']  = 'paho/utility.lua',
+  },
+  install = {
+    bin = {
+      mqtt_publish = 'paho/example/mqtt_publish.lua',
+      mqtt_subscribe = 'paho/example/mqtt_subscribe.lua',
+    }
+  }
+}