debian: add initial package manifest
Change-Id: I253d92b3a1820d8e33ed67e73a43c90351158337
This commit is contained in:
parent
ddfa936889
commit
a1751f7b17
|
@ -0,0 +1 @@
|
|||
9
|
|
@ -0,0 +1,63 @@
|
|||
Source: libosmo-gprs
|
||||
Maintainer: Osmocom team <openbsc@lists.osmocom.org>
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Build-Depends: debhelper (>= 9),
|
||||
dh-autoreconf,
|
||||
pkg-config,
|
||||
autoconf,
|
||||
automake,
|
||||
libtool,
|
||||
git,
|
||||
libosmocore-dev (>= 1.7.0)
|
||||
Standards-Version: 3.9.8
|
||||
Vcs-Git: git://git.osmocom.org/libosmo-gprs.git
|
||||
Vcs-Browser: http://git.osmocom.org/libosmo-gprs/
|
||||
Homepage: https://projects.osmocom.org/projects/libosmo-gprs
|
||||
|
||||
Package: libosmo-csn1-0
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: Osmocom CSN.1 codec library and message definition helpers
|
||||
This is a shared library containing the CSN.1 (Concrete Syntax Notation 1)
|
||||
codec and API for message definition. The implementation is based on the
|
||||
original code by Vincent Helfre and Jari Sassi.
|
||||
|
||||
Package: libosmo-csn1-dbg
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Multi-Arch: same
|
||||
Depends: libosmo-csn1-0 (= ${binary:Version}) ${misc:Depends},
|
||||
Description: Debug symbols for the Osmocom CSN.1 codec library
|
||||
|
||||
Package: libosmo-csn1-dev
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Section: libdevel
|
||||
Depends: libosmo-csn1-0 (= ${binary:Version}) ${misc:Depends},
|
||||
Description: Development headers and libraries for the Osmocom CSN.1 codec
|
||||
|
||||
Package: libosmo-gprs-rlcmac0
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: Osmocom RLC/MAC codec and message definitions for GPRS and EGPRS
|
||||
|
||||
Package: libosmo-gprs-rlcmac-dbg
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Multi-Arch: same
|
||||
Depends: libosmo-gprs-rlcmac0 (= ${binary:Version}) ${misc:Depends},
|
||||
Description: Debug symbols for libosmo-gprs-rlcmac
|
||||
|
||||
Package: libosmo-gprs-rlcmac-dev
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Section: libdevel
|
||||
Depends: libosmo-gprs-rlcmac0 (= ${binary:Version}) ${misc:Depends},
|
||||
Description: Development headers and libraries for libosmo-gprs-rlcmac
|
|
@ -0,0 +1,19 @@
|
|||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: libosmo-gprs
|
||||
Source: git://git.osmocom.org/libosmo-gprs
|
||||
|
||||
Files: *
|
||||
Copyright: 2022 sysmocom - s.f.m.c. GmbH <info@sysmocom.de>
|
||||
License: GPL-2.0+
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero 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 Affero General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
@ -0,0 +1 @@
|
|||
usr/lib/*/libosmo-csn1*.so.*
|
|
@ -0,0 +1,5 @@
|
|||
usr/include/osmocom/csn1
|
||||
usr/lib/*/libosmo-csn1*.a
|
||||
usr/lib/*/libosmo-csn1*.so
|
||||
usr/lib/*/libosmo-csn1*.la
|
||||
usr/lib/*/pkgconfig/libosmo-csn1.pc
|
|
@ -0,0 +1,5 @@
|
|||
usr/include/osmocom/gprs/rlcmac
|
||||
usr/lib/*/libosmo-gprs-rlcmac*.a
|
||||
usr/lib/*/libosmo-gprs-rlcmac*.so
|
||||
usr/lib/*/libosmo-gprs-rlcmac*.la
|
||||
usr/lib/*/pkgconfig/libosmo-gprs-rlcmac.pc
|
|
@ -0,0 +1 @@
|
|||
usr/lib/*/libosmo-gprs-rlcmac*.so.*
|
|
@ -0,0 +1,22 @@
|
|||
#!/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')
|
||||
|
||||
# main packaging script based on dh7 syntax
|
||||
%:
|
||||
dh $@ --with autoreconf
|
||||
|
||||
# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
|
||||
override_dh_strip:
|
||||
dh_strip -plibosmo-csn10 --dbg-package=libosmo-csn1-dbg
|
||||
dh_strip -plibosmo-gprs-rlcmac0 --dbg-package=libosmo-gprs-rlcmac-dbg
|
||||
|
||||
# Print test results in case of a failure
|
||||
override_dh_auto_test:
|
||||
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
|
||||
|
||||
# Don't create .pdf.gz files (barely saves space and they can't be opened directly by most pdf readers)
|
||||
override_dh_compress:
|
||||
dh_compress -X.pdf
|
|
@ -0,0 +1 @@
|
|||
3.0 (native)
|
Loading…
Reference in New Issue