debian: initial

Related: OS#6409
Change-Id: I8e9d42fc332c5d426b9074c6bc58bc6efe037fea
This commit is contained in:
Oliver Smith 2024-03-18 13:10:27 +01:00
parent 8dad1ad9cf
commit a9209308a8
9 changed files with 84 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
gapk (1.1) unstable; urgency=medium
* Initial debian packaging
-- Oliver Smith <osmith@sysmocom.de> Mon, 18 Mar 2024 13:15:22 +0100

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
10

37
debian/control vendored Normal file
View File

@ -0,0 +1,37 @@
Source: gapk
Section: net
Priority: optional
Maintainer: Osmocom team <openbsc@lists.osmocom.org>
Build-Depends: debhelper (>= 10),
dh-autoreconf,
autotools-dev,
autoconf,
automake,
libtool,
pkg-config,
libasound2-dev,
libgsm1-dev,
libosmocore-dev (>= 0.3.2)
Standards-Version: 4.1.4
Vcs-Browser: https://gitea.osmocom.org/osmocom/gapk
Vcs-Git: https://gerrit.osmocom.org/gapk
Homepage: https://osmocom.org/projects/gapk/wiki/Gapk
Package: gapk
Architecture: any
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: GSM Audio Pocket Knife converts between GSM related codecs
Package: libosmogapk0
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: GSM Audio Pocket Knife converts between GSM related codecs
Package: libosmogapk-dev
Section: libdevel
Architecture: any
Depends: libosmogapk0 (= ${binary:Version}), ${misc:Depends}
Description: GSM Audio Pocket Knife converts between GSM related codecs

23
debian/copyright vendored Normal file
View File

@ -0,0 +1,23 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: gapk
Source: https://gitea.osmocom.org/osmocom/gapk
Files: *
License: GPL-3.0+
License: GPL-3.0+
This program 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, either version 3 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 3 can be found in `/usr/share/common-licenses/GPL-3'.

1
debian/gapk.install vendored Normal file
View File

@ -0,0 +1 @@
usr/bin/*

3
debian/libosmogapk-dev.install vendored Normal file
View File

@ -0,0 +1,3 @@
usr/include/*
usr/lib/*/pkgconfig/libosmogapk.pc
usr/lib/*/*.so

1
debian/libosmogapk0.install vendored Normal file
View File

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

12
debian/rules vendored Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/make -f
%:
dh $@ --with autoreconf
override_dh_auto_configure:
touch libgsmhr/.downloaded # Don't fetch 3GPP sources
dh_auto_configure
# Print test results in case of a failure
override_dh_auto_test:
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)

1
debian/source/format vendored Normal file
View File

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