[protozero] 02/02: Add initial Debian packaging.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Sat Aug 22 09:47:07 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository protozero.
commit 97b62f529f0fc4be550cd127b6f1f3f2998548f6
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat Aug 22 10:15:27 2015 +0200
Add initial Debian packaging.
---
debian/changelog | 5 +++
debian/compat | 1 +
debian/control | 57 +++++++++++++++++++++++++++++++
debian/copyright | 72 ++++++++++++++++++++++++++++++++++++++++
debian/gbp.conf | 16 +++++++++
debian/libprotozero-dev.docs | 1 +
debian/libprotozero-dev.install | 1 +
debian/libprotozero-doc.doc-base | 8 +++++
debian/libprotozero-doc.docs | 1 +
debian/libprotozero-doc.links | 1 +
debian/rules | 18 ++++++++++
debian/source/format | 1 +
debian/upstream/metadata | 6 ++++
debian/watch | 7 ++++
14 files changed, 195 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..63f507c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+protozero (1.0.0-1) unstable; urgency=medium
+
+ * Initial release (Closes: #796508)
+
+ -- Bas Couwenberg <sebastic at debian.org> Sat, 22 Aug 2015 11:41:42 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6527dd0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,57 @@
+Source: protozero
+Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
+Uploaders: Bas Couwenberg <sebastic at debian.org>
+Section: science
+Priority: optional
+Build-Depends: debhelper (>= 9),
+ doxygen,
+ graphviz,
+ libprotobuf-dev,
+ protobuf-compiler,
+ pkg-config
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-grass/protozero.git/
+Vcs-Git: git://anonscm.debian.org/pkg-grass/protozero.git
+Homepage: https://github.com/mapbox/protozero
+
+Package: libprotozero-dev
+Architecture: any
+Section: libdevel
+Depends: ${misc:Depends}
+Conficts: libosmium2-dev
+Suggests: protozero-doc
+Description: Minimalistic protocol buffer decoder and encoder in C++
+ protozero is a minimalistic protocol buffer decoder and encoder in C++.
+ .
+ Designed for high performance. Suitable for writing zero copy parsers
+ and encoders with minimal need for run-time allocation of memory.
+ .
+ Low-level: this is designed to be a building block for writing a very
+ customized decoder for a stable protobuf schema. If your protobuf schema
+ is changing frequently or lazy decoding is not critical for your
+ application then this approach offers no value: just use the decoding
+ API available via the C++ API that can be generated via the Google
+ Protobufs protoc program.
+ .
+ This package contains the protozero headers.
+
+Package: libprotozero-doc
+Architecture: all
+Section: doc
+Depends: libjs-jquery,
+ ${misc:Depends}
+Description: Minimalistic protocol buffer decoder and encoder in C++ - docs
+ protozero is a minimalistic protocol buffer decoder and encoder in C++.
+ .
+ Designed for high performance. Suitable for writing zero copy parsers
+ and encoders with minimal need for run-time allocation of memory.
+ .
+ Low-level: this is designed to be a building block for writing a very
+ customized decoder for a stable protobuf schema. If your protobuf schema
+ is changing frequently or lazy decoding is not critical for your
+ application then this approach offers no value: just use the decoding
+ API available via the C++ API that can be generated via the Google
+ Protobufs protoc program.
+ .
+ This package contains the protozero documentation.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5a2a576
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,72 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: protozero
+Upstream-Contact: MapBox (https://github.com/mapbox/protozero/issues)
+Source: https://github.com/mapbox/protozero
+
+Files: *
+Copyright: Mapbox
+License: BSD-2-Clause and Apache-2.0
+
+Files: debian/*
+Copyright: © 2015, Bas Couwenberg <sebastic at debian.org>
+License: GPL-2+
+
+License: BSD-2-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ .
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache License version 2
+ an be found in the `/usr/share/common-licenses/Apache-2.0' file.
+
+License: GPL-2+
+ 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ On Debian systems, the complete text of version 2 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..21d0417
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,16 @@
+[DEFAULT]
+
+# The default name for the upstream branch is "upstream".
+# Change it if the name is different (for instance, "master").
+upstream-branch = upstream
+
+# The default name for the Debian branch is "master".
+# Change it if the name is different (for instance, "debian/unstable").
+debian-branch = master
+
+# git-import-orig uses the following names for the upstream tags.
+# Change the value if you are not using git-import-orig
+upstream-tag = upstream/%(version)s
+
+# Always use pristine-tar.
+pristine-tar = True
diff --git a/debian/libprotozero-dev.docs b/debian/libprotozero-dev.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/libprotozero-dev.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/libprotozero-dev.install b/debian/libprotozero-dev.install
new file mode 100644
index 0000000..f4733b6
--- /dev/null
+++ b/debian/libprotozero-dev.install
@@ -0,0 +1 @@
+include/protozero usr/include
diff --git a/debian/libprotozero-doc.doc-base b/debian/libprotozero-doc.doc-base
new file mode 100644
index 0000000..94da646
--- /dev/null
+++ b/debian/libprotozero-doc.doc-base
@@ -0,0 +1,8 @@
+Document: protozero
+Title: protozero documentation
+Author: MapBox
+Section: Programming/C++
+
+Format: HTML
+Index: /usr/share/doc/libprotozero-doc/html/index.html
+Files: /usr/share/doc/libprotozero-doc/html/*.html
diff --git a/debian/libprotozero-doc.docs b/debian/libprotozero-doc.docs
new file mode 100644
index 0000000..a651601
--- /dev/null
+++ b/debian/libprotozero-doc.docs
@@ -0,0 +1 @@
+doc/html/
diff --git a/debian/libprotozero-doc.links b/debian/libprotozero-doc.links
new file mode 100644
index 0000000..52712c0
--- /dev/null
+++ b/debian/libprotozero-doc.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/libprotozero-doc/html/jquery.js
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bfdc853
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+# DH_VERBOSE := 1
+
+# Verbose make output
+export VERBOSE=1
+
+%:
+ dh $@ --parallel
+
+override_dh_auto_build-arch:
+ dh_auto_build --arch
+
+override_dh_auto_build-indep:
+ $(MAKE) doc
+ # Remove useless autogenerated doxygen files
+ $(RM) doc/html/*.md5
+
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..7cacb60
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/mapbox/protozero/issues
+Bug-Submit: https://github.com/mapbox/protozero/issues/new
+Name: protozero
+Repository: https://github.com/mapbox/protozero.git
+Repository-Browse: https://github.com/mapbox/protozero
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..68a7297
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,7 @@
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
+filenamemangle=s/(?:.*)?v(\d[\d\.]*)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/protozero-$1.$2/ \
+https://github.com/mapbox/protozero/releases \
+(?:.*/)?(?:rel|v|protozero)[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/protozero.git
More information about the Pkg-grass-devel
mailing list