From d4bb7ab66b6f31b2dc5a54b61aa294188e7fc74f Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 24 Aug 2010 15:17:13 +0200 Subject: add debian packaging related information Using the debian directory in this commit, it is possible to generate libosmocore and libosmocore-dev packages (dpkgs). --- debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 27 +++++++++++++++++ debian/copyright | 54 ++++++++++++++++++++++++++++++++++ debian/docs | 0 debian/libosmocore-dbg.debhelper.log | 6 ++++ debian/libosmocore-dbg.dirs | 1 + debian/libosmocore-dbg.install | 1 + debian/libosmocore-dev.dirs | 5 ++++ debian/libosmocore-dev.install | 5 ++++ debian/libosmocore.dirs | 5 ++++ debian/libosmocore.install | 1 + debian/patches/debian-changes-0.1.17-1 | 46 +++++++++++++++++++++++++++++ debian/patches/series | 1 + debian/rules | 19 ++++++++++++ debian/source/format | 1 + 16 files changed, 178 insertions(+) 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/libosmocore-dbg.debhelper.log create mode 100644 debian/libosmocore-dbg.dirs create mode 100644 debian/libosmocore-dbg.install create mode 100644 debian/libosmocore-dev.dirs create mode 100644 debian/libosmocore-dev.install create mode 100644 debian/libosmocore.dirs create mode 100644 debian/libosmocore.install create mode 100644 debian/patches/debian-changes-0.1.17-1 create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format (limited to 'debian') diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..5783127f --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libosmocore (0.1.17-1) unstable; urgency=low + + * Initial release (Closes: #nnnn) + + -- Harald Welte Tue, 24 Aug 2010 10:55:04 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..7f8f011e --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..1348ec30 --- /dev/null +++ b/debian/control @@ -0,0 +1,27 @@ +Source: libosmocore +Section: libs +Priority: optional +Maintainer: Harald Welte +Build-Depends: debhelper (>= 7.0.50~), autotools-dev +Standards-Version: 3.8.4 +Homepage: http://bb.osmocom.org/trac/wiki/libosmocore +Vcs-Git: git://git.osmocom.org/libosmocore.git +Vcs-Browser: http://git.osmocom.org/gitweb?p=libosmocore.git;a=summary + +Package: libosmocore +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Open Source MObile COMmunications CORE library + +Package: libosmocore-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Development headers for Open Source MObile COMmunications CORE library + +#Package: libosmocore-dbg +#Section: libdevel +#Architecture: any +#Depends: ${shlibs:Depends}, ${misc:Depends} +#Description: Debug symbols for Open Source MObile COMmunications CORE library diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..c450be58 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,54 @@ +This work was packaged for Debian by: + + Harald Welte on Tue, 24 Aug 2010 10:55:04 +0200 + +It was downloaded from: + + git://git.osmocom.org/libosmocore.git + +Upstream Author(s): + + Harald Welte + Holger Hans Peter Freyther + Sylvain Munaut + Daniel Willmann + Golde + For src/talloc.c and include/osmocore/talloc.h: + Andrew Tridgell + Stefan Metzmacher + For src/vty/* and include/osmocom/vty/* + Kunihiro Ishiguro + +Copyright: + + Copyright (C) 2008-2010 Harald Welte + Copyright (C) 2008-2010 Holger Hans Peter Freyther + Copyright (C) 2009-2010 Sylvain Munaut + Copyright (C) 2009-2010 On-Waves + Copyright (C) 2008 Daniel Willmann + Copyright (C) 2010 Nico Golde + For src/talloc.c and include/osmocore/talloc.h: + Copyright (C) 2004 Andrew Tridgell + Copyright (C) 2006 Stefan Metzmacher + For src/vty/* and include/osmocom/vty/* + Copyright (C) 1998 Kunihiro Ishiguro + +License: + + GNU General Public License, Version 2 or later + +The Debian packaging is: + + Copyright (C) 2010 Harald Welte + +# Please chose a license for your packaging work. If the program you package +# uses a mainstream license, using the same license is the safest choice. +# Please avoid to pick license terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. +# If you just want it to be GPL version 3, leave the following lines in. + +and is licensed under the GPL version 3, +see "/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. diff --git a/debian/docs b/debian/docs new file mode 100644 index 00000000..e69de29b diff --git a/debian/libosmocore-dbg.debhelper.log b/debian/libosmocore-dbg.debhelper.log new file mode 100644 index 00000000..2742cb47 --- /dev/null +++ b/debian/libosmocore-dbg.debhelper.log @@ -0,0 +1,6 @@ +dh_auto_configure +dh_auto_build +dh_auto_test +dh_prep +dh_installdirs +dh_auto_install diff --git a/debian/libosmocore-dbg.dirs b/debian/libosmocore-dbg.dirs new file mode 100644 index 00000000..af59b0a9 --- /dev/null +++ b/debian/libosmocore-dbg.dirs @@ -0,0 +1 @@ +usr/lib/debug/lib diff --git a/debian/libosmocore-dbg.install b/debian/libosmocore-dbg.install new file mode 100644 index 00000000..7ce02127 --- /dev/null +++ b/debian/libosmocore-dbg.install @@ -0,0 +1 @@ +usr/lib/debug/lib/* diff --git a/debian/libosmocore-dev.dirs b/debian/libosmocore-dev.dirs new file mode 100644 index 00000000..e168dc66 --- /dev/null +++ b/debian/libosmocore-dev.dirs @@ -0,0 +1,5 @@ +usr/lib +usr/include +usr/include/osmocore +usr/include/osmocom +usr/include/osmocom/vty diff --git a/debian/libosmocore-dev.install b/debian/libosmocore-dev.install new file mode 100644 index 00000000..eec0e15e --- /dev/null +++ b/debian/libosmocore-dev.install @@ -0,0 +1,5 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/lib*.la +usr/lib/pkgconfig/* diff --git a/debian/libosmocore.dirs b/debian/libosmocore.dirs new file mode 100644 index 00000000..e168dc66 --- /dev/null +++ b/debian/libosmocore.dirs @@ -0,0 +1,5 @@ +usr/lib +usr/include +usr/include/osmocore +usr/include/osmocom +usr/include/osmocom/vty diff --git a/debian/libosmocore.install b/debian/libosmocore.install new file mode 100644 index 00000000..d0dbfd18 --- /dev/null +++ b/debian/libosmocore.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* diff --git a/debian/patches/debian-changes-0.1.17-1 b/debian/patches/debian-changes-0.1.17-1 new file mode 100644 index 00000000..c0a54bd7 --- /dev/null +++ b/debian/patches/debian-changes-0.1.17-1 @@ -0,0 +1,46 @@ +Description: Upstream changes introduced in version 0.1.17-1 + This patch has been created by dpkg-source during the package build. + Here's the last changelog entry, hopefully it gives details on why + those changes were made: + . + libosmocore (0.1.17-1) unstable; urgency=low + . + * Initial release (Closes: #nnnn) + . + The person named in the Author field signed this changelog entry. +Author: Harald Welte + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: http://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +--- /dev/null ++++ libosmocore-0.1.17/.version +@@ -0,0 +1 @@ ++0.1.17 +--- /dev/null ++++ libosmocore-0.1.17/copyright +@@ -0,0 +1,14 @@ ++Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 ++Name: libosmocore ++Maintainer: Harald Welte ++Source: git://git.osmocom.org/libosmocore.git ++ ++Copyright: 2008-2010 Harald Welte ++License: GPL-2+ ++ ++Files: src/talloc.c include/osmocore/talloc.h ++Copyright: 2004 Andrew Tridgell ++License: LGPL-3+ ++ ++Files: include/osmocore/linuxlist.h ++License: GPL-2 diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 00000000..0ca407b1 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +debian-changes-0.1.17-1 diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..a81850a2 --- /dev/null +++ b/debian/rules @@ -0,0 +1,19 @@ +#!/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 + +CFLAGS = -Wall -g + +%: + dh $@ + +#override_dh_strip: +# dh_strip --dbg-package=libosmocore-dbg + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- cgit v1.2.3