aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-01-17 17:22:04 +0100
committerHarald Welte <laforge@gnumonks.org>2019-01-17 17:27:25 +0100
commit29122dc229823284f2fd51d4e873e25d848192ef (patch)
tree57159d4f025d26a9181d9ea4346b883371d66bda /debian
parent6561cfa8da6ddba35294ede452c1e5771b56e806 (diff)
add debian packaging for libosmodsp
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control69
-rw-r--r--debian/copyright28
-rw-r--r--debian/libosmodsp-dev.install5
-rw-r--r--debian/libosmodsp-doc.doc-base7
-rw-r--r--debian/libosmodsp-doc.install1
-rw-r--r--debian/libosmodsp0.install1
-rwxr-xr-xdebian/rules24
-rw-r--r--debian/source/format1
10 files changed, 142 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b2e944c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libosmodsp (0.3.0) testing; urgency=low
+
+ * Initial release.
+
+ -- Harald Welte <laforge@gnumonks.org> Thu, 17 Jan 2019 17:19:00 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2172229
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,69 @@
+Source: libosmodsp
+Section: libs
+Priority: optional
+Maintainer: Harald Welte <laforge@gnumonks.org>
+Build-Depends: debhelper (>= 9),
+ autotools-dev,
+ autoconf,
+ automake,
+ libtool,
+ dh-autoreconf,
+ libdpkg-perl,
+ git,
+ doxygen,
+ pkg-config,
+ libfftw3-dev
+Standards-Version: 3.9.6
+Vcs-Browser: http://git.osmocom.org/libosmo-dsp/
+Vcs-Git: git://git.osmocom.org/libosmo-dsp.git
+Homepage: https://osmocom.org/projects/libosmo-dsp
+
+Package: libosmodsp0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Multi-Arch: same
+Description: Osmocom Software Defined Radio Digital Signal Processing Library
+ C-language library for common DSP (Digital Signal Processing) primitives
+ for SDR (Software Defined Radio). They are part of the Osmocom (Open
+ Source Mobile Communications) project.
+
+Package: libosmodsp-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends},
+ libosmodsp0 (= ${binary:Version})
+Multi-Arch: same
+Description: Development headers for Osmocom DSP Library
+ C-language library for common DSP (Digital Signal Processing) primitives
+ for SDR (Software Defined Radio). They are part of the Osmocom (Open
+ Source Mobile Communications) project.
+ .
+ This package contains the development files needed for developing with
+ the libosmodsp library.
+
+Package: libosmodsp-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+ libosmodsp0,
+ libjs-jquery
+Description: Documentation for the Osmocom DSP Library
+ C-language library for common DSP (Digital Signal Processing) primitives
+ for SDR (Software Defined Radio). They are part of the Osmocom (Open
+ Source Mobile Communications) project.
+ .
+ This package contains the documentation for the libosmodsp library.
+
+Package: libosmodsp-dbg
+Section: debug
+Architecture: any
+Priority: extra
+Depends: libosmodsp0 (= ${binary:Version}), ${misc:Depends}
+Multi-Arch: same
+Description: Debug symbols for Osmocom DSP library
+ C-language library for common DSP (Digital Signal Processing) primitives
+ for SDR (Software Defined Radio). They are part of the Osmocom (Open
+ Source Mobile Communications) project.
+ .
+ This package contains the debug symbols for the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a4fef49
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libosmodsp
+Source: git://git.osmocom.org/libosmo-dsp.git
+
+Files: *
+Copyright: 2011-2013 Sylvain Munaut <tnt@246tNt.com>
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2018 Harald Welte <laforge@gnumonks.org>
+License: GPL-2+
+
+License: GPL-2+
+ 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, version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program 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".
diff --git a/debian/libosmodsp-dev.install b/debian/libosmodsp-dev.install
new file mode 100644
index 0000000..465f933
--- /dev/null
+++ b/debian/libosmodsp-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/libosmodsp-doc.doc-base b/debian/libosmodsp-doc.doc-base
new file mode 100644
index 0000000..58b31c0
--- /dev/null
+++ b/debian/libosmodsp-doc.doc-base
@@ -0,0 +1,7 @@
+Document: libosmodsp-doc
+Title: Documentation for the libosmods library
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libosmodsp/html/index.html
+Files: /usr/share/doc/libosmodsp/html/*.html
diff --git a/debian/libosmodsp-doc.install b/debian/libosmodsp-doc.install
new file mode 100644
index 0000000..f04f649
--- /dev/null
+++ b/debian/libosmodsp-doc.install
@@ -0,0 +1 @@
+usr/share/doc/libosmodsp/*
diff --git a/debian/libosmodsp0.install b/debian/libosmodsp0.install
new file mode 100644
index 0000000..c4f1e46
--- /dev/null
+++ b/debian/libosmodsp0.install
@@ -0,0 +1 @@
+usr/lib/*/libosmodsp*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ce048f8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
+DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
+VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+#export DH_VERBOSE=1
+
+
+%:
+ dh $@ --with autoreconf --fail-missing
+
+override_dh_strip:
+ dh_strip --dbg-package=libosmodsp-dbg
+
+override_dh_install:
+ sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
+ dh_install
+
+override_dh_clean:
+ dh_clean
+ rm -f .version
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)