add debian packaging related information

Using the debian directory in this commit, it is possible to generate
libosmocore and libosmocore-dev packages (dpkgs).
This commit is contained in:
Harald Welte 2010-08-24 15:17:13 +02:00
parent 43558316bc
commit d4bb7ab66b
16 changed files with 178 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
libosmocore (0.1.17-1) unstable; urgency=low
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- Harald Welte <laforge@gnumonks.org> Tue, 24 Aug 2010 10:55:04 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
7

27
debian/control vendored Normal file
View File

@ -0,0 +1,27 @@
Source: libosmocore
Section: libs
Priority: optional
Maintainer: Harald Welte <laforge@gnumonks.org>
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

54
debian/copyright vendored Normal file
View File

@ -0,0 +1,54 @@
This work was packaged for Debian by:
Harald Welte <laforge@gnumonks.org> on Tue, 24 Aug 2010 10:55:04 +0200
It was downloaded from:
git://git.osmocom.org/libosmocore.git
Upstream Author(s):
Harald Welte <laforge@gnumonks.org>
Holger Hans Peter Freyther <zecke@selfish.org>
Sylvain Munaut <tnt@246tNt.com>
Daniel Willmann <daniel@totalueberwachung.de>
Golde <nico@ngolde.de>
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 <laforge@gnumonks.org>
Copyright (C) 2008-2010 Holger Hans Peter Freyther <zecke@selfish.org>
Copyright (C) 2009-2010 Sylvain Munaut <tnt@246tNt.com>
Copyright (C) 2009-2010 On-Waves
Copyright (C) 2008 Daniel Willmann <daniel@totalueberwachung.de>
Copyright (C) 2010 Nico Golde <nico@ngolde.de>
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 <laforge@gnumonks.org>
# 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.

0
debian/docs vendored Normal file
View File

6
debian/libosmocore-dbg.debhelper.log vendored Normal file
View File

@ -0,0 +1,6 @@
dh_auto_configure
dh_auto_build
dh_auto_test
dh_prep
dh_installdirs
dh_auto_install

1
debian/libosmocore-dbg.dirs vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/debug/lib

1
debian/libosmocore-dbg.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/debug/lib/*

5
debian/libosmocore-dev.dirs vendored Normal file
View File

@ -0,0 +1,5 @@
usr/lib
usr/include
usr/include/osmocore
usr/include/osmocom
usr/include/osmocom/vty

5
debian/libosmocore-dev.install vendored Normal file
View File

@ -0,0 +1,5 @@
usr/include/*
usr/lib/lib*.a
usr/lib/lib*.so
usr/lib/lib*.la
usr/lib/pkgconfig/*

5
debian/libosmocore.dirs vendored Normal file
View File

@ -0,0 +1,5 @@
usr/lib
usr/include
usr/include/osmocore
usr/include/osmocom
usr/include/osmocom/vty

1
debian/libosmocore.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/lib*.so.*

46
debian/patches/debian-changes-0.1.17-1 vendored Normal file
View File

@ -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) <nnnn is the bug number of your ITP>
.
The person named in the Author field signed this changelog entry.
Author: Harald Welte <laforge@gnumonks.org>
---
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: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>
--- /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 <laforge@gnumonks.org>
+Source: git://git.osmocom.org/libosmocore.git
+
+Copyright: 2008-2010 Harald Welte <laforge@gnumonks.org>
+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

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
debian-changes-0.1.17-1

19
debian/rules vendored Executable file
View File

@ -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

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)