diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-12-06 00:26:27 +0100 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-12-06 00:26:27 +0100 |
commit | 7a21cda13e56f21b9f0cb60f69c42ec1e7830edd (patch) | |
tree | b61a58cb1c5bbe3a930c7256d69b601549084794 /debian | |
parent | e3ef07dd34b1d8d39d32fa1e43351b7d54c61336 (diff) | |
download | libgato-7a21cda13e56f21b9f0cb60f69c42ec1e7830edd.tar.gz libgato-7a21cda13e56f21b9f0cb60f69c42ec1e7830edd.zip |
adding better debian packaging
Diffstat (limited to 'debian')
-rw-r--r-- | debian/README | 6 | ||||
-rw-r--r-- | debian/README.Debian | 6 | ||||
-rw-r--r-- | debian/README.source | 9 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 25 | ||||
-rw-r--r-- | debian/copyright | 53 | ||||
-rw-r--r-- | debian/docs | 0 | ||||
-rw-r--r-- | debian/libgato-dev.dirs | 2 | ||||
-rw-r--r-- | debian/libgato-dev.install | 6 | ||||
-rw-r--r-- | debian/libgato1.dirs | 1 | ||||
-rw-r--r-- | debian/libgato1.install | 1 | ||||
-rw-r--r-- | debian/postinst.ex | 39 | ||||
-rw-r--r-- | debian/postrm.ex | 37 | ||||
-rw-r--r-- | debian/preinst.ex | 35 | ||||
-rw-r--r-- | debian/prerm.ex | 38 | ||||
-rwxr-xr-x | debian/rules | 13 | ||||
-rw-r--r-- | debian/shlibs.local.ex | 1 | ||||
-rw-r--r-- | debian/source/format | 1 |
19 files changed, 279 insertions, 0 deletions
diff --git a/debian/README b/debian/README new file mode 100644 index 0000000..0caf859 --- /dev/null +++ b/debian/README @@ -0,0 +1,6 @@ +The Debian Package libgato +---------------------------- + +Comments regarding the Package + + -- unknown <maemo@javispedro.com> Fri, 06 Dec 2013 00:15:27 +0100 diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..bc86f33 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +libgato for Debian +------------------ + +<possible notes regarding this package - if none, delete this file> + + -- unknown <maemo@javispedro.com> Fri, 06 Dec 2013 00:15:27 +0100 diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..f158302 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,9 @@ +libgato for Debian +------------------ + +<this file describes information about the source package, see Debian policy +manual section 4.14. You WILL either need to modify or delete this file> + + + + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..414af1c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libgato (1.0) unstable; urgency=low + + * Initial Release. + + -- Javier S. Pedro <maemo@javispedro.com> Fri, 06 Dec 2013 00:22:59 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2d3f996 --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: libgato +Priority: extra +Maintainer: unknown <maemo@javispedro.com> +Build-Depends: debhelper (>= 7) +Standards-Version: 3.8.4 +Section: libs +Homepage: https://gitorious.org/gato + +Package: libgato-dev +Section: devel +Architecture: any +Depends: libgato1 (= ${binary:Version}) +Description: Development header for libgato + libgato is a library that can used to communicate with Bluetooth Smart devices + using the Generitc Attribute Profile (GATT). + . + This package contains development headers. + +Package: libgato1 +Section: devel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A Generic Attribute Profile library for Bluetooth devices + libgato is a library that can used to communicate with Bluetooth Smart devices + using the Generitc Attribute Profile (GATT). diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..24b6984 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,53 @@ +This work was packaged for Debian by: + + unknown <maemo@javispedro.com> on Fri, 06 Dec 2013 00:15:27 +0100 + +It was downloaded from: + + <url://example.com> + +Upstream Author(s): + + <put author's name and email here> + <likewise for another author> + +Copyright: + + <Copyright (C) YYYY Firstname Lastname> + <likewise for another author> + +License: + +### SELECT: ### + 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. +### OR ### + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. +########## + + 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 <http://www.gnu.org/licenses/> + +On Debian systems, the complete text of the GNU General +Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +The Debian packaging is: + + Copyright (C) 2013 unknown <maemo@javispedro.com> + +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. + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/debian/docs diff --git a/debian/libgato-dev.dirs b/debian/libgato-dev.dirs new file mode 100644 index 0000000..4418816 --- /dev/null +++ b/debian/libgato-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian/libgato-dev.install b/debian/libgato-dev.install new file mode 100644 index 0000000..3c996c8 --- /dev/null +++ b/debian/libgato-dev.install @@ -0,0 +1,6 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/pkgconfig/* +usr/lib/*.la +usr/share/pkgconfig/* diff --git a/debian/libgato1.dirs b/debian/libgato1.dirs new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/debian/libgato1.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/debian/libgato1.install b/debian/libgato1.install new file mode 100644 index 0000000..d0dbfd1 --- /dev/null +++ b/debian/libgato1.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* diff --git a/debian/postinst.ex b/debian/postinst.ex new file mode 100644 index 0000000..2e819d9 --- /dev/null +++ b/debian/postinst.ex @@ -0,0 +1,39 @@ +#!/bin/sh +# postinst script for libgato +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <postinst> `abort-remove' +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/postrm.ex b/debian/postrm.ex new file mode 100644 index 0000000..8fb0f3d --- /dev/null +++ b/debian/postrm.ex @@ -0,0 +1,37 @@ +#!/bin/sh +# postrm script for libgato +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <overwriter> +# <overwriter-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/preinst.ex b/debian/preinst.ex new file mode 100644 index 0000000..b2651f3 --- /dev/null +++ b/debian/preinst.ex @@ -0,0 +1,35 @@ +#!/bin/sh +# preinst script for libgato +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <new-preinst> `install' +# * <new-preinst> `install' <old-version> +# * <new-preinst> `upgrade' <old-version> +# * <old-preinst> `abort-upgrade' <new-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/prerm.ex b/debian/prerm.ex new file mode 100644 index 0000000..933e221 --- /dev/null +++ b/debian/prerm.ex @@ -0,0 +1,38 @@ +#!/bin/sh +# prerm script for libgato +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..917d9bf --- /dev/null +++ b/debian/rules @@ -0,0 +1,13 @@ +#!/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 + +%: + dh $@ diff --git a/debian/shlibs.local.ex b/debian/shlibs.local.ex new file mode 100644 index 0000000..16d045c --- /dev/null +++ b/debian/shlibs.local.ex @@ -0,0 +1 @@ +liblibgato 1.0 libgato (>> 1.0-0), libgato (<< 1.0-99) 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) |