[orocos-log4cpp] 01/01: Added initial debian stuff

Leopold Palomo-Avellaneda leo at alaxarxa.net
Thu Feb 26 14:16:40 UTC 2015


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

lepalom-guest pushed a commit to branch master
in repository orocos-log4cpp.

commit 0fb1cd72002cecffd09741b78c9e05f9958fafb8
Author: Leopold Palomo-Avellaneda <leopold.palomo at upc.edu>
Date:   Thu Feb 26 15:16:31 2015 +0100

    Added initial debian stuff
---
 debian/changelog                      |  5 ++++
 debian/compat                         |  2 ++
 debian/control                        | 54 +++++++++++++++++++++++++++++++++++
 debian/copyright                      | 38 ++++++++++++++++++++++++
 debian/liborocos-log4cpp6-dev.install |  3 ++
 debian/liborocos-log4cpp6.install     |  1 +
 debian/rules                          | 26 +++++++++++++++++
 debian/source/format                  |  1 +
 debian/watch                          |  5 ++++
 9 files changed, 135 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1f58896
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+orocos-log4cpp (2.8.0~rc1-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Leopold Palomo-Avellaneda <leo at alaxarxa.net>  Thu, 26 Feb 2015 11:09:31 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..48c962f
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1,2 @@
+9
+
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c7d9a7a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,54 @@
+Source: orocos-log4cpp
+Priority: extra
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+Build-Depends: debhelper (>= 9.0.0), cmake
+Standards-Version: 3.9.6
+Section: optional
+Homepage: https://github.com/orocos-toolchain/log4cpp
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/orocos/orocos-log4cpp.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/orocos/orocos-log4cpp.git
+
+Package: liborocos-log4cpp6.0-dev
+Section: libdevel
+Architecture: any
+Depends: liborocos-log4cpp6.0 (= ${binary:Version}), ${misc:Depends}
+Conflicts: liblog4cpp5-dev
+Description: C++ library for flexible logging (development)
+ Log for C++ is a library of C++ classes for flexible logging to files,
+ syslog and other destinations. Orocos-log4cpp is maintained by Orocos 
+ developers. This version of log4cpp deviates from the official release 
+ by adding custom category factories. Orocos requires this for setting 
+ up real-time logging. 
+ .
+ This package contains the log4cpp development files.
+
+Package: liborocos-log4cpp6.0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: C++ library for flexible logging
+ Log for C++ is a library of C++ classes for flexible logging to files,
+ syslog and other destinations. Orocos-log4cpp is maintained by Orocos 
+ developers. This version of log4cpp deviates from the official release
+ by adding custom category factories. Orocos requires this for setting
+ up real-time logging.
+ .
+ This package contains the files necessary for running applications that
+ use the orocos-log4cpp library.
+
+Package: liborocos-log4cpp6.0-dbg
+Architecture: any
+Section: debug
+Depends: liborocos-log4cpp6.0-dev (= ${binary:Version}),
+         ${misc:Depends}
+Description: C++ library for flexible logging - debug files
+ Log for C++ is a library of C++ classes for flexible logging to files,
+ syslog and other destinations. Orocos-log4cpp is maintained by Orocos
+ developers. This version of log4cpp deviates from the official release
+ by adding custom category factories. Orocos requires this for setting
+ up real-time logging.
+ .
+ This package contains the debug information of the library.
+
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..020d03d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: orocos-log4cpp
+Source: <url://example.com>
+
+Files: *
+Copyright: <years> <put author's name and email here>
+           <years> <likewise for another author>
+License: <special license>
+ <Put the license of the package here indented by 1 space>
+ <This follows the format of Description: lines in control file>
+ .
+ <Including paragraphs>
+
+# If you want to use GPL v2 or later for the /debian/* files use 
+# the following clauses, or change it to suit. Delete these two lines
+Files: debian/*
+Copyright: 2015 Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+License: GPL-2+
+ This package 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 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 <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+# Please avoid to pick license terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
diff --git a/debian/liborocos-log4cpp6-dev.install b/debian/liborocos-log4cpp6-dev.install
new file mode 100644
index 0000000..90e41e5
--- /dev/null
+++ b/debian/liborocos-log4cpp6-dev.install
@@ -0,0 +1,3 @@
+usr/include/log4cpp
+usr/lib/lib*.so
+usr/lib/pkgconfig/*
diff --git a/debian/liborocos-log4cpp6.install b/debian/liborocos-log4cpp6.install
new file mode 100644
index 0000000..d0dbfd1
--- /dev/null
+++ b/debian/liborocos-log4cpp6.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..de52578
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+
+
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
+
+# Hardening.
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+
+.PHONY: override_dh_auto_configure   \
+        override_dh_strip
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DCMAKE_SKIP_RPATH=ON    \
+	-DCMAKE_BUILD_TYPE=RelWithDebInfo
+
+override_dh_strip:
+	dh_strip -a --dbg-package=liborocos-log4cpp6.0-dbg
+
+
+%:
+	dh $@ --buildsystem=cmake --parallel
+
+
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..21bc472
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+# Watch control file for uscan
+version=3
+opts="uversionmangle=s/(\d)[_.+-]?((RC|rc|pre|dev|beta|alpha)[\d.]*)$/$1~$2/" \
+https://github.com/orocos-toolchain/log4cpp/releases .*/v(\d\S*)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/orocos/orocos-log4cpp.git



More information about the debian-science-commits mailing list