Integrate Debian packaging changes

debian/control:
    * restructure to make it easier to incorporate further changes
    * update package descriptions
    * update project URL

debian/rules:
    * use proper hardening syntax
    * remove useless comment

debian/compat: update compatibility version

debian/*.install: fix paths

debian/copyright: add file matching Debian format

Change-Id: I50b54d7d89f7c7ed3e5a10fbf734d967090f30c7
Related: OS#1694
This commit is contained in:
Max 2016-12-21 14:52:20 +01:00
parent 899400ef72
commit 63d562c099
6 changed files with 72 additions and 22 deletions

2
debian/compat vendored
View File

@ -1 +1 @@
8
9

46
debian/control vendored
View File

@ -1,24 +1,50 @@
Source: libsmpp34
Maintainer: Holger Freyther <holger@moiji-mobile.com>
Section: libs
Priority: optional
Maintainer: Holger Freyther <holger@moiji-mobile.com>
Build-Depends: debhelper (>= 8.0.0), autotools-dev, autoconf, automake, libtool, dh-autoreconf, libdpkg-perl, git, libxml2-dev, pkg-config
Standards-Version: 3.9.3
Homepage: http://bb.osmocom.org/trac/wiki/libosmocore
Vcs-Git: git://git.osmocom.org/libosmocore.git
Build-Depends: debhelper (>= 9),
autotools-dev,
autoconf,
automake,
libtool,
dh-autoreconf,
libdpkg-perl,
git,
pkg-config,
libxml2-dev
Standards-Version: 3.9.6
Vcs-Browser: http://git.osmocom.org/gitweb?p=libosmocore.git;a=summary
Vcs-Git: git://git.osmocom.org/libosmocore.git
Homepage: https://projects.osmocom.org/projects/libsmpp34
Package: libsmpp0
Section: libs
Architecture: any
Depends: ${misc:Depends}
Description: libsmpp34 codec library
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends}
Pre-Depends: ${misc:Pre-Depends}
Description: Open PDU SMPP packaging and unpackaging tool
This library is an implementation for providing the PDU handling of the
SMPP-3.4 protocol. SMPP (Short Message Peer-to-Peer) is an open industry
standard protocol designed to provide a flexible data communication
interface for the transfer of short message data between External Short
Messaging Entities, Routing Entitites and Message Centres.
Package: libsmpp34-dev
Section: libdevel
Architecture: any
Depends: libsmpp0 (= ${binary:Version}), ${misc:Depends}
Description: Development headers libsmpp34 codec library
Multi-Arch: same
Section: libdevel
Depends: libsmpp0 (= ${binary:Version}),
${misc:Depends}
Description: Development files for libsmpp34
This library is an implementation for providing the PDU handling of the
SMPP-3.4 protocol. SMPP (Short Message Peer-to-Peer) is an open industry
standard protocol designed to provide a flexible data communication
interface for the transfer of short message data between External Short
Messaging Entities, Routing Entitites and Message Centres.
.
This package contains the development files for the library.
Package: libsmpp34-utils
Architecture: any

29
debian/copyright vendored Normal file
View File

@ -0,0 +1,29 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libsmpp34
Source: http://c-open-smpp-34.sourceforge.net/
Files: *
Copyright: 2006 Raul Tremsal <ultraismo@yahoo.com>
License: LGPL-2.1+
Files: debian/*
Copyright: 2016 Ruben Undheim <ruben.undheim@gmail.com>
License: LGPL-2.1+
License: LGPL-2.1+
This package 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 2.1 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 Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU Lesser General Public
License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1".

View File

@ -1 +1 @@
usr/lib/libsmpp34.so.*
usr/lib/*/lib*.so.*

View File

@ -1,5 +1,5 @@
usr/include/*
usr/lib/*.so
usr/lib/*.a
usr/lib/lib*.la
usr/lib/pkgconfig/*
usr/lib/*/lib*.so
usr/lib/*/*.a
usr/lib/*/lib*.la
usr/lib/*/pkgconfig/*

7
debian/rules vendored
View File

@ -1,13 +1,8 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with autoreconf --fail-missing