diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e374e1e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +lua-lemock (0.6-1) UNRELEASED; urgency=low + + * Initial release. (Closes: #703166) + + -- Victor Seva Thu, 07 Mar 2013 20:18:14 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3f8cf9f --- /dev/null +++ b/debian/control @@ -0,0 +1,37 @@ +Source: lua-lemock +Section: interpreters +Priority: optional +Maintainer: Victor Seva +Build-Depends: debhelper (>= 8), dh-lua (>= 16) +Standards-Version: 3.9.3 +Vcs-Git: git://git.debian.org/git/pkg-lua/lua-lemock.git +Vcs-Browser: http://git.debian.org/?p=pkg-lua/lua-lemock.git +Homepage: http://lemock.luaforge.net/README.html + +Package: lua-lemock +Architecture: any +Multi-Arch: same +Pre-Depends: multiarch-support +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: ${lua:Provides} +Suggests: lua-unit +XB-Lua-Versions: ${lua:Versions} +Description: LeMock (Lua Easy Mock) for unit test + LeMock is a mock creation module intended for use together + with a unit test framework such as lunit or lunity. It is inspired by + EasyMock (for Java), and strives to be easy to use. + +Package: lua-lemock-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Pre-Depends: multiarch-support +Depends: lua-unit (= ${binary:Version}), ${misc:Depends} +Provides: ${lua:Provides} +XB-Lua-Versions: ${lua:Versions} +Description: LeMock (Lua Easy Mock) for unit test + LeMock is a mock creation module intended for use together + with a unit test framework such as lunit or lunity. It is inspired by + EasyMock (for Java), and strives to be easy to use. + . + This package contains docs and test files. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..4737a14 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,46 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lemock +Upstream-Contact: Tommy Petterson +Source: https://github.com/LuaDist/lemock/ + +File: * +Copyright: 2009 Tommy Petterson +License: MIT + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + +Files: debian/* +Copyright: 2013 Victor Seva +License: GPL-2.0+ + +License: GPL-2.0+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/debian/dh-lua.conf b/debian/dh-lua.conf new file mode 100644 index 0000000..23ad8b0 --- /dev/null +++ b/debian/dh-lua.conf @@ -0,0 +1,8 @@ +LUA_VERSION=5.1 +PKG_NAME=lemock + +LUA_HEADER= +LUA_SOURCES=build/lemock.lua +LUA_SOURCES_MANGLER= +LUA_MODNAME=lemock +LUA_TEST= diff --git a/debian/lua-lemock-dev.docs b/debian/lua-lemock-dev.docs new file mode 100644 index 0000000..4a34c7f --- /dev/null +++ b/debian/lua-lemock-dev.docs @@ -0,0 +1,2 @@ +build/htdocs/ +build/unit/ diff --git a/debian/lua-lemock.docs b/debian/lua-lemock.docs new file mode 100644 index 0000000..4f07e01 --- /dev/null +++ b/debian/lua-lemock.docs @@ -0,0 +1,3 @@ +README +HISTORY + diff --git a/debian/lua5.1.dh-lua.conf b/debian/lua5.1.dh-lua.conf new file mode 100644 index 0000000..8b23707 --- /dev/null +++ b/debian/lua5.1.dh-lua.conf @@ -0,0 +1,4 @@ +PKG_NAME=lemock + +LUA_SOURCES=build/lemock.lua +LUA_MODNAME=lemock 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/rules b/debian/rules new file mode 100755 index 0000000..4f36696 --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem=lua --with lua 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/watch b/debian/watch new file mode 100644 index 0000000..b007bd0 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)\d*)$/$1~$2/,dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$// \ +https://github.com/LuaDist/lemock/tags .*/v?(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))