From ed26988eadc5f4c79ba8763f1a1741071f5c2420 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 17 Sep 2013 08:17:57 +0200 Subject: debian: Add the skeleton for a Debian package of gsmd --- debian/README | 6 +++++ debian/README.Debian | 6 +++++ debian/README.source | 9 +++++++ debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 48 ++++++++++++++++++++++++++++++++++++ debian/copyright | 34 +++++++++++++++++++++++++ debian/docs | 2 ++ debian/libgsmd-dev.install | 4 +++ debian/libgsmd0.install | 1 + debian/openmoko-gsmd-dev.install | 5 ++++ debian/openmoko-gsmd-plugins.install | 1 + debian/openmoko-gsmd-utils.install | 1 + debian/openmoko-gsmd.install | 1 + debian/openmoko-gsmd1.install | 1 + debian/rules | 22 +++++++++++++++++ debian/source/format | 1 + 17 files changed, 148 insertions(+) create mode 100644 debian/README create mode 100644 debian/README.Debian create mode 100644 debian/README.source create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/libgsmd-dev.install create mode 100644 debian/libgsmd0.install create mode 100644 debian/openmoko-gsmd-dev.install create mode 100644 debian/openmoko-gsmd-plugins.install create mode 100644 debian/openmoko-gsmd-utils.install create mode 100644 debian/openmoko-gsmd.install create mode 100644 debian/openmoko-gsmd1.install create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/README b/debian/README new file mode 100644 index 0000000..bf5e46d --- /dev/null +++ b/debian/README @@ -0,0 +1,6 @@ +The Debian Package openmoko-gsmd +---------------------------- + +Comments regarding the Package + + -- Holger Hans Peter Freyther Mon, 16 Sep 2013 23:53:00 +0200 diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..29794bf --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +openmoko-gsmd for Debian +------------------------ + + + + -- Holger Hans Peter Freyther Mon, 16 Sep 2013 23:53:00 +0200 diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..860fd66 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,9 @@ +openmoko-gsmd for Debian +------------------------ + + + + + + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..59adb24 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +openmoko-gsmd (0.0.1) unstable; urgency=low + + * Initial Release. + + -- Holger Hans Peter Freyther Mon, 16 Sep 2013 23:53:00 +0200 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..50a7b0b --- /dev/null +++ b/debian/control @@ -0,0 +1,48 @@ +Source: openmoko-gsmd +Priority: extra +Maintainer: Holger Hans Peter Freyther +Build-Depends: debhelper (>= 8.0.0), autotools-dev, autoconf, automake, libtool, dh-autoreconf +Standards-Version: 3.9.4 +Section: libs +Homepage: http://git.gnumonks.org +#Vcs-Git: git://git.debian.org/collab-maint/openmoko-gsmd.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/openmoko-gsmd.git;a=summary + +Package: libgsmd-dev +Section: libdevel +Architecture: any +Depends: libgsmd0 (= ${binary:Version}) +Description: Openmoko GSMD Development files + Dev package + +Package: libgsmd0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Openmoko GSMD library + Lib package + +Package: openmoko-gsmd-dbg +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Openmoko GSMD Debug package + Debug Package + +Package: openmoko-gsmd +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Openmoko GSMD Daemon package + Daemon Package + +Package: openmoko-gsmd-plugins +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Openmoko GSMD Plugins package + Plugins Package + +Package: openmoko-gsmd-utils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Openmoko GSMD Utils package + Utils Package diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f334890 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,34 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: openmoko-gsmd +Source: + +Files: * +Copyright: + +License: GPL-3.0+ + +Files: debian/* +Copyright: 2013 Holger Hans Peter Freyther +License: GPL-3.0+ + +License: GPL-3.0+ + 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 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 3 can be found in "/usr/share/common-licenses/GPL-3". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. +# Please avoid to pick license terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..fa6b147 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README.txt +README.txt diff --git a/debian/libgsmd-dev.install b/debian/libgsmd-dev.install new file mode 100644 index 0000000..108c292 --- /dev/null +++ b/debian/libgsmd-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/pkgconfig/*.pc +usr/lib/*.so +usr/lib/*.a diff --git a/debian/libgsmd0.install b/debian/libgsmd0.install new file mode 100644 index 0000000..3829dfb --- /dev/null +++ b/debian/libgsmd0.install @@ -0,0 +1 @@ +usr/lib/libgsmd.so.* diff --git a/debian/openmoko-gsmd-dev.install b/debian/openmoko-gsmd-dev.install new file mode 100644 index 0000000..cc66f5e --- /dev/null +++ b/debian/openmoko-gsmd-dev.install @@ -0,0 +1,5 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/pkgconfig/* +usr/share/pkgconfig/* diff --git a/debian/openmoko-gsmd-plugins.install b/debian/openmoko-gsmd-plugins.install new file mode 100644 index 0000000..fff7311 --- /dev/null +++ b/debian/openmoko-gsmd-plugins.install @@ -0,0 +1 @@ +usr/lib/gsmd/*.so* diff --git a/debian/openmoko-gsmd-utils.install b/debian/openmoko-gsmd-utils.install new file mode 100644 index 0000000..1df36c6 --- /dev/null +++ b/debian/openmoko-gsmd-utils.install @@ -0,0 +1 @@ +usr/bin/* diff --git a/debian/openmoko-gsmd.install b/debian/openmoko-gsmd.install new file mode 100644 index 0000000..a51692f --- /dev/null +++ b/debian/openmoko-gsmd.install @@ -0,0 +1 @@ +usr/sbin/gsmd diff --git a/debian/openmoko-gsmd1.install b/debian/openmoko-gsmd1.install new file mode 100644 index 0000000..d0dbfd1 --- /dev/null +++ b/debian/openmoko-gsmd1.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..979418b --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/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 $@ --with autoreconf $@ --fail-missing + +override_dh_strip: + dh_strip --dbg-package=openmoko-gsmd-dbg + +override_dh_auto_install: + dh_auto_install + find debian/tmp -name *.la -delete + rm debian/tmp/usr/lib/gsmd/*.a + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- cgit v1.2.3