aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-08-24 15:17:13 +0200
committerHarald Welte <laforge@gnumonks.org>2010-08-24 15:17:13 +0200
commitd4bb7ab66b6f31b2dc5a54b61aa294188e7fc74f (patch)
tree2e91bfbcf68deb74e4ea8ad8ddb4445374beb23f /debian
parent43558316bc4e6ddac92dd198b07a4803c21dc77b (diff)
add debian packaging related information
Using the debian directory in this commit, it is possible to generate libosmocore and libosmocore-dev packages (dpkgs).
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control27
-rw-r--r--debian/copyright54
-rw-r--r--debian/docs0
-rw-r--r--debian/libosmocore-dbg.debhelper.log6
-rw-r--r--debian/libosmocore-dbg.dirs1
-rw-r--r--debian/libosmocore-dbg.install1
-rw-r--r--debian/libosmocore-dev.dirs5
-rw-r--r--debian/libosmocore-dev.install5
-rw-r--r--debian/libosmocore.dirs5
-rw-r--r--debian/libosmocore.install1
-rw-r--r--debian/patches/debian-changes-0.1.17-146
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules19
-rw-r--r--debian/source/format1
16 files changed, 178 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5783127
--- /dev/null
+++ b/debian/changelog
@@ -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
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..1348ec3
--- /dev/null
+++ b/debian/control
@@ -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
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c450be5
--- /dev/null
+++ b/debian/copyright
@@ -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.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/debian/docs
diff --git a/debian/libosmocore-dbg.debhelper.log b/debian/libosmocore-dbg.debhelper.log
new file mode 100644
index 0000000..2742cb4
--- /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 0000000..af59b0a
--- /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 0000000..7ce0212
--- /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 0000000..e168dc6
--- /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 0000000..eec0e15
--- /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 0000000..e168dc6
--- /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 0000000..d0dbfd1
--- /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 0000000..c0a54bd
--- /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) <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
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0ca407b
--- /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 0000000..a81850a
--- /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 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)