debian packaging
Change-Id: Idac376e92f95ab8beef506e9617227f1c7277838
This commit is contained in:
parent
9c8ee9361f
commit
d32bd186a3
|
@ -18,6 +18,13 @@ missing
|
|||
.deps
|
||||
.libs
|
||||
|
||||
debian/.debhelper
|
||||
debian/autoreconf.*
|
||||
debian/libosmo-e1d*
|
||||
debian/osmo-e1d
|
||||
debian/*.log
|
||||
debian/tmp
|
||||
|
||||
*.la
|
||||
*.lo
|
||||
*.o
|
||||
|
|
|
@ -8,6 +8,7 @@ SUBDIRS = \
|
|||
|
||||
EXTRA_DIST = \
|
||||
.version \
|
||||
debian \
|
||||
doc \
|
||||
git-version-gen \
|
||||
$(NULL)
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
osmo-e1d (0.0.1) unstable; urgency=medium
|
||||
|
||||
[ Harald Welte ]
|
||||
* initial debian package
|
||||
|
||||
-- Harald Welte <laforge@osmocom.org> Tue, 30 Jun 2020 18:24:51 +0100
|
|
@ -0,0 +1 @@
|
|||
9
|
|
@ -0,0 +1,43 @@
|
|||
Source: osmo-e1d
|
||||
Section: net
|
||||
Priority: extra
|
||||
Maintainer: Harald Welte <laforge@osmocom.org>
|
||||
Build-Depends: debhelper (>=9),
|
||||
dh-autoreconf,
|
||||
autotools-dev,
|
||||
autoconf,
|
||||
automake,
|
||||
libtool,
|
||||
pkg-config,
|
||||
python3-minimal,
|
||||
libosmocore-dev (>= 1.3.0),
|
||||
libosmo-abis-dev (>= 0.6.0),
|
||||
osmo-gsm-manuals-dev
|
||||
Standards-Version: 3.9.8
|
||||
Vcs-Git: git://git.osmocom.org/osmo-e1d.git
|
||||
Vcs-Browser: https://git.osmocom.org/osmo-e1d/
|
||||
Homepage: https://projects.osmocom.org/projects/osmo-e1d
|
||||
|
||||
Package: osmo-e1d
|
||||
Architecture: any
|
||||
Multi-Arch: foreign
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: osmo-e1d: Osmocom's E1 interface daemon
|
||||
|
||||
Package: libosmo-e1d0
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Description: Client library for talking to the Osmocom E1 interface daemon osmo-e1d.
|
||||
|
||||
Package: libosmo-e1d-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends},
|
||||
libosmo-e1d0 (= ${binary:Version}),
|
||||
libosmocore-dev,
|
||||
libosmo-abis-dev
|
||||
Description: Development headers for the osmo-e1d library.
|
|
@ -0,0 +1,36 @@
|
|||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: osmo-e1d
|
||||
Source: git://git.osmocom.org/osmo-e1d
|
||||
|
||||
Files: *
|
||||
Copyright: 2019 Sylvain Munaut
|
||||
License: GPL-2.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 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 Affero 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/>.
|
||||
|
||||
Files: src/proto*.c
|
||||
include/osmocom/e1d/proto*.h
|
||||
Copyright: 2019 Sylvain Munaut
|
||||
License: LGPL-3.0+
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser 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 Lesser General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
@ -0,0 +1,5 @@
|
|||
usr/include/osmocom/e1d
|
||||
usr/lib/*/libosmo-e1d*.a
|
||||
usr/lib/*/libosmo-e1d*.so
|
||||
usr/lib/*/libosmo-e1d*.la
|
||||
usr/lib/*/pkgconfig/libosmo-e1d.pc
|
|
@ -0,0 +1 @@
|
|||
usr/lib/*/libosmo-e1d*.so.*
|
|
@ -0,0 +1,2 @@
|
|||
/etc/osmocom/osmo-e1d.cfg
|
||||
usr/bin/osmo-e1d
|
|
@ -0,0 +1,58 @@
|
|||
#!/usr/bin/make -f
|
||||
# You must remove unused comment lines for the released package.
|
||||
# See debhelper(7) (uncomment to enable)
|
||||
# This is an autogenerated template for debian/rules.
|
||||
#
|
||||
# Output every command that modifies files on the build system.
|
||||
#export DH_VERBOSE = 1
|
||||
#
|
||||
# Copy some variable definitions from pkg-info.mk and vendor.mk
|
||||
# under /usr/share/dpkg/ to here if they are useful.
|
||||
#
|
||||
# See FEATURE AREAS/ENVIRONMENT in dpkg-buildflags(1)
|
||||
# Apply all hardening options
|
||||
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
# Package maintainers to append CFLAGS
|
||||
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
||||
# Package maintainers to append LDFLAGS
|
||||
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||
#
|
||||
# With debhelper version 9 or newer, the dh command exports
|
||||
# all buildflags. So there is no need to include the
|
||||
# /usr/share/dpkg/buildflags.mk file here if compat is 9 or newer.
|
||||
#
|
||||
# These are rarely used code. (START)
|
||||
#
|
||||
# The following include for *.mk magically sets miscellaneous
|
||||
# variables while honoring existing values of pertinent
|
||||
# environment variables:
|
||||
#
|
||||
# Architecture-related variables such as DEB_TARGET_MULTIARCH:
|
||||
#include /usr/share/dpkg/architecture.mk
|
||||
# Vendor-related variables such as DEB_VENDOR:
|
||||
#include /usr/share/dpkg/vendor.mk
|
||||
# Package-related variables such as DEB_DISTRIBUTION
|
||||
#include /usr/share/dpkg/pkg-info.mk
|
||||
#
|
||||
# You may alternatively set them susing a simple script such as:
|
||||
# DEB_VENDOR ?= $(shell dpkg-vendor --query Vendor)
|
||||
#
|
||||
# These are rarely used code. (END)
|
||||
#
|
||||
|
||||
# main packaging script based on dh7 syntax
|
||||
%:
|
||||
dh $@ --with autoreconf
|
||||
|
||||
# debmake generated override targets
|
||||
CONFIGURE_FLAGS += --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- $(CONFIGURE_FLAGS)
|
||||
#
|
||||
# Do not install libtool archive, python .pyc .pyo
|
||||
#override_dh_install:
|
||||
# dh_install --list-missing -X.la -X.pyc -X.pyo
|
||||
|
||||
# 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