[Pkg-voip-commits] [belcard] 01/01: Initial packaging

Dr. Tobias Quathamer toddy at debian.org
Thu Nov 9 19:19:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

toddy pushed a commit to branch master
in repository belcard.

commit bd890456a36143f4b1d173f670278e5a6b035f89
Author: Dr. Tobias Quathamer <toddy at debian.org>
Date:   Thu Nov 9 20:13:20 2017 +0100

    Initial packaging
---
 debian/changelog                                   |  5 ++++
 debian/compat                                      |  1 +
 debian/control                                     | 33 ++++++++++++++++++++++
 debian/copyright                                   | 28 ++++++++++++++++++
 debian/libbelcard-dev.dirs                         |  2 ++
 debian/libbelcard-dev.install                      |  5 ++++
 debian/libbelcard1.dirs                            |  1 +
 debian/libbelcard1.install                         |  1 +
 .../patches/0001-Add-missing-pkgconfig-file.patch  | 20 +++++++++++++
 debian/patches/series                              |  1 +
 debian/rules                                       | 22 +++++++++++++++
 debian/shlibs.local                                |  1 +
 debian/source/format                               |  1 +
 debian/watch                                       |  4 +++
 14 files changed, 125 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..98e068f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+belcard (1.0.2-1) unstable; urgency=medium
+
+  * Initial release (Closes: #881296)
+
+ -- Dr. Tobias Quathamer <toddy at debian.org>  Thu, 09 Nov 2017 20:13:14 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..dda8254
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: belcard
+Priority: optional
+Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
+Uploaders: Dr. Tobias Quathamer <toddy at debian.org>
+Build-Depends: debhelper (>= 10), cmake, libbctoolbox-dev, libbelr-dev
+Standards-Version: 4.1.1
+Section: libs
+Homepage: https://www.linphone.org
+Vcs-Git: https://anonscm.debian.org/git/pkg-voip/belcard.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-voip/belcard.git/
+
+Package: libbelcard-dev
+Section: libdevel
+Architecture: any
+Depends: libbelcard1 (= ${binary:Version}), ${misc:Depends}
+Description: VCard standard format manipulation library (development headers)
+ Belcard is a C++ library to manipulate VCard standard format.
+ .
+ The package is probably not useful outside the Belledonne Communications suite
+ of libraries and programs.
+ .
+ This package contains the development headers.
+
+Package: libbelcard1
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: VCard standard format manipulation library
+ Belcard is a C++ library to manipulate VCard standard format.
+ .
+ The package is probably not useful outside the Belledonne Communications suite
+ of libraries and programs.
+ .
+ This package contains the shared library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..fac704c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: belcard
+Source: https://www.linphone.org
+
+Files: *
+Copyright: 2015-2017 Belledonne Communications, Grenoble France
+License: GPL-3.0+
+
+Files: debian/*
+Copyright: 2017 Dr. Tobias Quathamer <toddy at debian.org>
+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 package 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 <https://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".
diff --git a/debian/libbelcard-dev.dirs b/debian/libbelcard-dev.dirs
new file mode 100644
index 0000000..4418816
--- /dev/null
+++ b/debian/libbelcard-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
diff --git a/debian/libbelcard-dev.install b/debian/libbelcard-dev.install
new file mode 100644
index 0000000..43f12dc
--- /dev/null
+++ b/debian/libbelcard-dev.install
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/*/lib*.a
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig/*
+usr/share/*/cmake/*
diff --git a/debian/libbelcard1.dirs b/debian/libbelcard1.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/libbelcard1.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/libbelcard1.install b/debian/libbelcard1.install
new file mode 100644
index 0000000..3ddde58
--- /dev/null
+++ b/debian/libbelcard1.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/debian/patches/0001-Add-missing-pkgconfig-file.patch b/debian/patches/0001-Add-missing-pkgconfig-file.patch
new file mode 100644
index 0000000..fd52971
--- /dev/null
+++ b/debian/patches/0001-Add-missing-pkgconfig-file.patch
@@ -0,0 +1,20 @@
+From: "Dr. Tobias Quathamer" <toddy at debian.org>
+Date: Thu, 9 Nov 2017 19:36:04 +0100
+Subject: Add missing pkgconfig file
+
+---
+ CMakeLists.txt | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 69460ee..5491ab3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -151,5 +151,7 @@ install(FILES
+ 	DESTINATION ${ConfigPackageLocation}
+ )
+ 
++configure_file(${CMAKE_CURRENT_SOURCE_DIR}/belcard.pc.in ${CMAKE_CURRENT_BINARY_DIR}/belcard.pc)
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/belcard.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+ 
+ add_subdirectory(build)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1fec187
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Add-missing-pkgconfig-file.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ef37c52
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# 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
+
+%:
+	dh $@ --buildsystem=cmake
+
+# Upstream unconditionally sets CMAKE_INSTALL_RPATH. Make it ineffective by
+# setting CMAKE_SKIP_RPATH
+override_dh_auto_configure:
+	dh_auto_configure -- -DCMAKE_SKIP_RPATH=ON
diff --git a/debian/shlibs.local b/debian/shlibs.local
new file mode 100644
index 0000000..2fce1da
--- /dev/null
+++ b/debian/shlibs.local
@@ -0,0 +1 @@
+libbelcard 1.0.2 libbelcard1 (>> 1.0.2-0), libbelcard (<< 1.0.2-99)
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e2d958e
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%belcard-$1.tar.gz%" \
+   https://github.com/BelledonneCommunications/belcard/tags \
+   (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/belcard.git



More information about the Pkg-voip-commits mailing list