add debian packaging for libosmodsp

This commit is contained in:
Harald Welte 2019-01-17 17:22:04 +01:00
parent 6561cfa8da
commit 29122dc229
10 changed files with 142 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

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

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

69
debian/control vendored Normal file
View File

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

28
debian/copyright vendored Normal file
View File

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

5
debian/libosmodsp-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/*

7
debian/libosmodsp-doc.doc-base vendored Normal file
View File

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

1
debian/libosmodsp-doc.install vendored Normal file
View File

@ -0,0 +1 @@
usr/share/doc/libosmodsp/*

1
debian/libosmodsp0.install vendored Normal file
View File

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

24
debian/rules vendored Executable file
View File

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

1
debian/source/format vendored Normal file
View File

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