summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2015-07-14 16:10:59 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2015-07-14 16:10:59 +0100
commitdfbc42f1bfebca3f71d2d0f31b5d732406ce0a1b (patch)
tree9adafa339b9f4eede821297b95f1fd46bf1945fc
downloaddebian-dfbc42f1bfebca3f71d2d0f31b5d732406ce0a1b.tar.bz2
Initial version of debianisation
-rw-r--r--changelog7
-rw-r--r--compat1
-rw-r--r--control28
-rw-r--r--copyright41
-rw-r--r--lua-clod-doc.doc-base10
-rw-r--r--lua-clod-doc.docs1
-rw-r--r--lua-clod.docs1
-rw-r--r--lua5.1.clod.dh-lua.conf8
l---------lua5.2.clod.dh-lua.conf1
-rwxr-xr-xrules8
-rw-r--r--source/format1
-rw-r--r--watch2
12 files changed, 109 insertions, 0 deletions
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..8c76b31
--- /dev/null
+++ b/changelog
@@ -0,0 +1,7 @@
+clod (1.0-1) unstable; urgency=medium
+
+ * Initial packaging of Clod as a separate project.
+ * Closes: #999999
+
+ -- Daniel Silverstone <dsilvers@digital-scurf.org> Tue, 14 Jul 2015 15:49:20 +0100
+
diff --git a/compat b/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+8
diff --git a/control b/control
new file mode 100644
index 0000000..005a8d8
--- /dev/null
+++ b/control
@@ -0,0 +1,28 @@
+Source: clod
+Section: interpreters
+Priority: optional
+Maintainer: Daniel Silverstone <dsilvers@digital-scurf.org>
+Build-Depends: debhelper (>= 8), dh-lua, lua-ldoc, lua-discount
+Standards-Version: 3.9.6
+Homepage: https://www.gitano.org.uk/clod/
+
+Package: lua-clod
+Architecture: all
+Depends: ${misc:Depends}
+Provides: ${lua:Provides}
+XB-Lua-Versions: ${lua:Versions}
+Description: Configuration Language Organised (by) Dots
+ Clod is a configuration language written in Lua which implements a simple
+ dotted key/value pair system which tries to keep programmatic edits in-line
+ with what humans would do in a similar situation.
+
+Package: lua-clod-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: Documentation for lua-clod
+ Clod is a configuration language written in Lua which implements a simple
+ dotted key/value pair system which tries to keep programmatic edits in-line
+ with what humans would do in a similar situation.
+ .
+ This package contains the documentation on how to use the Clod library.
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..f80a4f6
--- /dev/null
+++ b/copyright
@@ -0,0 +1,41 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: clod
+Source: https://www.gitano.org.uk/clod/
+
+Files: *
+Copyright: Copyright 2012 Daniel Silverstone <dsilvers@digital-scurf.org>
+License: ISC
+ Copyright 2012 Daniel Silverstone <dsilvers@digital-scurf.org>
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the author nor the names of their contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+Files: debian/*
+Copyright: Copyright 2015 Daniel Silverstone <dsilvers@digital-scurf.org>
+License: permissive
+ Copying and distribution of this package, with or without
+ modification, are permitted in any medium without royalty
+ provided the copyright notice and this notice are
+ preserved.
diff --git a/lua-clod-doc.doc-base b/lua-clod-doc.doc-base
new file mode 100644
index 0000000..b403b57
--- /dev/null
+++ b/lua-clod-doc.doc-base
@@ -0,0 +1,10 @@
+Document: lua-clod-doc
+Title: Configuration Language Organised (by) Dots - API Documentation
+Author: Daniel Silverstone
+Abstract: This manual describes the API and functioning of the Lua library
+ lua-clod.
+Section: Programming/Lua
+
+Format: HTML
+Index: /usr/share/doc/lua-clod-doc/html/index.html
+Files: /usr/share/doc/lua-clod-doc/html/topics/*.html
diff --git a/lua-clod-doc.docs b/lua-clod-doc.docs
new file mode 100644
index 0000000..5ccff1a
--- /dev/null
+++ b/lua-clod-doc.docs
@@ -0,0 +1 @@
+html/
diff --git a/lua-clod.docs b/lua-clod.docs
new file mode 100644
index 0000000..100b938
--- /dev/null
+++ b/lua-clod.docs
@@ -0,0 +1 @@
+README \ No newline at end of file
diff --git a/lua5.1.clod.dh-lua.conf b/lua5.1.clod.dh-lua.conf
new file mode 100644
index 0000000..7652afc
--- /dev/null
+++ b/lua5.1.clod.dh-lua.conf
@@ -0,0 +1,8 @@
+PKG_NAME=clod
+LUA_SOURCES=lib/clod.lua
+LUA_SOURCES_MANGLER=sed s?^lib/??
+LUA_MODNAME=clod
+clod_empty:=
+clod_space:=$(clod_empty) $(clod_empty)
+LUA_TEST=$(subst $(clod_space),;,$(wildcard test/*.lua))
+
diff --git a/lua5.2.clod.dh-lua.conf b/lua5.2.clod.dh-lua.conf
new file mode 120000
index 0000000..aeab9cf
--- /dev/null
+++ b/lua5.2.clod.dh-lua.conf
@@ -0,0 +1 @@
+lua5.1.clod.dh-lua.conf \ No newline at end of file
diff --git a/rules b/rules
new file mode 100755
index 0000000..203ac8e
--- /dev/null
+++ b/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --buildsystem=lua --with lua
+
+override_dh_auto_build:
+ dh_auto_build
+ ldoc .
diff --git a/source/format b/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/watch b/watch
new file mode 100644
index 0000000..2c1378a
--- /dev/null
+++ b/watch
@@ -0,0 +1,2 @@
+# Currently upstream only releases versions by tagging their git repo
+# as such we cannot do anything useful for now.