[lua-cwrap] 02/05: Initialize packaging
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Fri Jun 3 06:27:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
cdluminate-guest pushed a commit to branch master
in repository lua-cwrap.
commit d8562eedc320e6a481a9f51e21db7713be9cf39a
Author: Zhou Mo <cdluminate at gmail.com>
Date: Thu Jun 2 03:58:19 2016 +0000
Initialize packaging
---
debian/README.Debian | 8 ++++++
debian/changelog | 6 +++++
debian/clean | 8 ++++++
debian/compat | 1 +
debian/control | 20 ++++++++++++++
debian/copyright | 66 +++++++++++++++++++++++++++++++++++++++++++++
debian/lua5.1.dh-lua.conf | 3 +++
debian/lua5.2.dh-lua.conf | 1 +
debian/patches/series | 1 +
debian/rules | 16 +++++++++++
debian/source/format | 1 +
debian/source/local-options | 2 ++
debian/watch | 2 ++
13 files changed, 135 insertions(+)
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..a19978d
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,8 @@
+lua for Debian
+
+Please edit this to provide information specific to
+this lua Debian package.
+
+ (Automatically generated by debmake Version 4.2.2)
+
+ -- Zhou Mo <cdluminate at gmail.com> Thu, 02 Jun 2016 03:35:10 +0000
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..da85746
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+lua-cwrap (0~20160222-gdbd0a62-1) UNRELEASED; urgency=low
+
+ * Initial release. Closes: #nnnn
+ <nnnn is the bug number of your ITP>
+
+ -- Zhou Mo <cdluminate at gmail.com> Thu, 02 Jun 2016 03:35:10 +0000
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..be43eb8
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,8 @@
+debian/files
+debian/lua-cwrap-dev.install
+debian/lua-cwrap.debhelper.log
+debian/lua-cwrap.install
+debian/lua-cwrap.substvars
+debian/lua-cwrap/
+debian/lua_versions
+debian/trash
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..56e6763
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: lua-cwrap
+Section: interpreters
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Zhou Mo <cdluminate at gmail.com>
+Build-Depends: debhelper (>=9), dh-lua
+Standards-Version: 3.9.8
+Homepage: https://github.com/torch/cwrap
+Vcs-Git: https://github.com/torch/cwrap.git
+
+Package: lua-cwrap
+Architecture: any
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends}, lua5.1 | lua5.2
+XB-Lua-Versions: ${lua:Versions}
+Description: CWrap package for Torch Framework
+ The cwrap package helps you to automate the generation of Lua/C wrappers
+ around existing C functions, such that these functions would be callable
+ from Lua. This package is used by the torch package, but does not depend
+ on anything, and could be used by anyone using Lua.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0b3aea9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,66 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: cwrap
+Source: https://github.com/torch/cwrap
+
+Files: *
+Copyright: 2001-2004 Idiap Research Institute (Ronan Collobert, Samy Bengio, Johnny Mariethoz)
+ 2006 Idiap Research Institute (Samy Bengio)
+ 2006-2010 NEC Laboratories America (Ronan Collobert, Leon Bottou, Iain Melvin, Jason Weston)
+ 2011-2012 NEC Laboratories America (Koray Kavukcuoglu)
+ 2011-2013 NYU (Clement Farabet)
+ 2011-2014 Idiap Research Institute (Ronan Collobert)
+ 2012-2014 Deepmind Technologies (Koray Kavukcuoglu)
+License: TORCH-LICENSE
+ 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 names of Deepmind Technologies, NYU, NEC Laboratories America
+ and IDIAP Research Institute nor the names of its contributors may be
+ used to endorse or promote products derived from this software without
+ specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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: 2016 Zhou Mo <cdluminate at gmail.com>
+License: BSD-3-Clause
+ 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 University nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 HOLDERS 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.
diff --git a/debian/lua5.1.dh-lua.conf b/debian/lua5.1.dh-lua.conf
new file mode 100644
index 0000000..20dfc69
--- /dev/null
+++ b/debian/lua5.1.dh-lua.conf
@@ -0,0 +1,3 @@
+PKG_NAME=cwrap
+LUA_MODNAME=cwrap
+LUA_SOURCES=$(wildcard *.lua)
diff --git a/debian/lua5.2.dh-lua.conf b/debian/lua5.2.dh-lua.conf
new file mode 120000
index 0000000..ba875b6
--- /dev/null
+++ b/debian/lua5.2.dh-lua.conf
@@ -0,0 +1 @@
+lua5.1.dh-lua.conf
\ No newline at end of file
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4a97dfa
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+# You must remove unused comment lines for the released package.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6d6aad2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+# You must remove unused comment lines for the released package.
+#export DH_VERBOSE = 1
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+%:
+ dh $@ --buildsystem=lua --with lua
+
+override_dh_auto_clean:
+ -$(RM) -rf 5.1-cwrap/ 5.2-cwrap/ debian/tmp/
+
+#override_dh_auto_configure:
+# dh_auto_configure -- \
+# -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_TARGET_MULTIARCH)"
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..00131ee
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1,2 @@
+#abort-on-upstream-changes
+#unapply-patches
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..76575dc
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+# You must remove unused comment lines for the released package.
+version=3
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lua-cwrap.git
More information about the debian-science-commits
mailing list