diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-04-30 17:05:04 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-04-30 17:42:25 +0200 |
commit | dbbb03b700175ebdf71af9a57dd1f16c5652bf57 (patch) | |
tree | 140480d6177f2cabbfb829b86b815b22cff0b15a | |
parent | white space cleanups and typos (diff) |
new debian package format
-rw-r--r-- | debian/changelog | 10 | ||||
-rw-r--r-- | debian/compat | 2 | ||||
-rw-r--r-- | debian/control | 36 | ||||
-rw-r--r-- | debian/copyright | 59 | ||||
-rw-r--r-- | debian/dh-lua.conf | 21 | ||||
-rw-r--r-- | debian/patches/series | 0 | ||||
-rwxr-xr-x | debian/rules | 59 | ||||
-rw-r--r-- | debian/source/format | 1 |
8 files changed, 83 insertions, 105 deletions
diff --git a/debian/changelog b/debian/changelog index 3504aa1..332886f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,11 +1,5 @@ -luamq (0.2) unstable; urgency=low - - * added mode string support - - -- Christian Pointner <equinox@spreadspace.org> Wed, 30 Mar 2011 14:33:12 +0200 - -luamq (0.1) unstable; urgency=low +lua-mq (0.1) UNRELEASED; urgency=medium * Initial release. - -- Christian Pointner <equinox@spreadspace.org> Wed, 30 Mar 2011 00:50:41 +0200 + -- Christian Pointner <equinox@spreadspace.org> Thu, 30 Apr 2015 17:03:51 +0200 diff --git a/debian/compat b/debian/compat index 7ed6ff8..ec63514 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +9 diff --git a/debian/control b/debian/control index 3c641eb..cf5d7a1 100644 --- a/debian/control +++ b/debian/control @@ -1,14 +1,32 @@ -Source: luamq +Source: lua-mq Section: interpreters Priority: optional Maintainer: Christian Pointner <equinox@spreadspace.org> -Build-Depends: debhelper (>= 5), liblua5.1-0-dev -Standards-Version: 3.8.2 -Homepage: http://www.spreadspace.org/ +Build-Depends: debhelper (>= 9), dh-lua +Standards-Version: 3.9.3 +Homepage: http://www.spreadspaceorg/lua-mq/ -Package: liblua5.1-mq +Package: lua-mq Architecture: any -Depends: ${shlibs:Depends} -Description: luamq library for the Lua language version 5.1 - This package contains the luamq library a interface to posix - message queues. +Multi-Arch: same +Pre-Depends: multiarch-support +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: ${lua:Provides} +XB-Lua-Versions: ${lua:Versions} +Description: LUA Bindings for posix message queues + . + +Package: lua-mq-dev +Section: libdevel +Multi-Arch: same +Pre-Depends: multiarch-support +Architecture: any +Depends: lua- (= ${binary:Version}), ${misc:Depends} +Provides: ${lua:Provides} +XB-Lua-Versions: ${lua:Versions} +Description: LUA Bindings for posix message queues + This package contains the development files of the lua-mq library, + useful to create a statically linked binary (like a C application or a + standalone Lua interpreter). + . + Documentation is also shipped within this package. diff --git a/debian/copyright b/debian/copyright index 9dd5d82..42223e2 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,30 +1,29 @@ -This package was debianized by Christian Pointner <equinox@spreadspace.org> on -Fri, 30 Mar 2011 11:23:42 +0200. - -It was downloaded from <http://www.spreadspace.org/> - -Upstream Author: Christian Pointner <equinox@spreadspace.org> - -Copyright: 2011 Christian Pointner - -License: - - This program 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 3 of the License, or - (at your option) any later version. - - This program 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 package; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -On Debian systems, the complete text of the GNU General -Public License can be found in `/usr/share/common-licenses/GPL-3'. - -The Debian packaging is © 2009, Christian Pointner <equinox@spreadspace.org> and -is licensed under the GPL, see above. +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lua-mq +Upstream-Contact: Christian Pointner <equinox@spreadspace.org> +Source: http://www.spreadspace.org/lua-mq/ + +Files: * +Copyright: Copyright 2011-2015 Christian Pointner <equinox@spreadspace.org> +Comment: In the Lua community this license is better known as "MIT". + Unfortunately other variants of this license are also known as "MIT". + To obtain a machine intepretable copyright file Debian prefers to name this + version of the MIT license using the non ambiguous term "Expat". +License: Expat + 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. diff --git a/debian/dh-lua.conf b/debian/dh-lua.conf new file mode 100644 index 0000000..7598074 --- /dev/null +++ b/debian/dh-lua.conf @@ -0,0 +1,21 @@ +### mandatory fields +LUA_VERSION=5.1 +PKG_NAME=mq + +### things relative to the C library part +CLIB_CFLAGS= -I src/ +CLIB_LDFLAGS= -lrt +CLIB_OBJS= src/lua-mq.lo + +### things relative to the lua library part +LUA_HEADER=src/lua-mq.h +LUA_SOURCES= +LUA_SOURCES_MANGLER= +LUA_MODNAME=mq + +### this part is relative to pkg-config +PKG_VERSION= +PKG_LIBS_PRIVATE= +PKG_URL= +PKG_REQUIRES= +PKG_CONFLICTS= diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/debian/patches/series diff --git a/debian/rules b/debian/rules index 41c96b9..4f36696 100755 --- a/debian/rules +++ b/debian/rules @@ -1,59 +1,4 @@ #!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -configure: configure-stamp -configure-stamp: - dh_testdir - touch configure-stamp - -build: build-stamp - -build-stamp: configure-stamp - dh_testdir - $(MAKE) - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - $(MAKE) clean - dh_clean - -install: build - dh_testdir - dh_testroot - dh_installdirs - $(MAKE) DESTDIR=$(CURDIR)/debian/liblua5.1-mq install - -# Build architecture-independent files here. -binary-indep: install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: install - dh_testdir - dh_testroot - dh_installdocs - dh_installchangelogs - dh_installexamples - dh_link - dh_strip - dh_compress - dh_fixperms - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure +%: + 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) |