[pkg-d-commits] [diet-ng] 02/03: Add initial Debian packaging

Matthias Klumpp mak at moszumanska.debian.org
Tue Aug 29 18:13:36 UTC 2017


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

mak pushed a commit to branch master
in repository diet-ng.

commit 7db94d674581908e800aaa50fc7966079beb42c0
Author: Matthias Klumpp <mak at debian.org>
Date:   Tue Aug 29 19:49:04 2017 +0200

    Add initial Debian packaging
---
 debian/.gitignore           |  1 +
 debian/changelog            |  5 +++++
 debian/compat               |  1 +
 debian/control              | 39 +++++++++++++++++++++++++++++++++++++++
 debian/copyright            | 25 +++++++++++++++++++++++++
 debian/gbp.conf             |  2 ++
 debian/libdiet-dev.install  |  3 +++
 debian/libdiet0.install     |  1 +
 debian/rules                | 11 +++++++++++
 debian/source/format        |  1 +
 debian/source/local-options |  2 ++
 debian/watch                |  4 ++++
 12 files changed, 95 insertions(+)

diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 0000000..b25c15b
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1 @@
+*~
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..cc05e21
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+diet-ng (1.4.2-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #873636)
+
+ -- Matthias Klumpp <mak at debian.org>  Tue, 29 Aug 2017 19:38:45 +0200
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..9aebecb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,39 @@
+Source: diet-ng
+Section: libs
+Priority: optional
+Maintainer: Debian D Language Group <pkg-d-devel at lists.alioth.debian.org>
+Uploaders: Matthias Klumpp <mak at debian.org>
+Build-Depends: debhelper (>= 10.4),
+               ldc,
+               meson,
+               pkg-config
+Standards-Version: 4.0.0
+Homepage: https://github.com/rejectedsoftware/diet-ng
+Vcs-Git: https://anonscm.debian.org/git/pkg-d/diet-ng.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-d/diet-ng.git
+
+Package: libdiet0
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends}
+Description: Compile-time indentation based, XML structured template system
+ Diet is a generic compile-time template system based on an XML-like
+ structure. The syntax is heavily influenced by Pug (formerly "Jade")
+ and Haml and outputting dynamic HTML is the primary goal. It supports
+ pluggable transformation modules, as well as output modules, so that
+ many other uses are possible.
+
+Package: libdiet-dev
+Section: libdevel
+Architecture: any
+Depends: libdiet0 (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: Compile-time indentation based template system -- development files
+ Diet is a generic compile-time template system based on an XML-like
+ structure. The syntax is heavily influenced by Pug (formerly "Jade")
+ and Haml and outputting dynamic HTML is the primary goal. It supports
+ pluggable transformation modules, as well as output modules, so that
+ many other uses are possible.
+ .
+ This package contains development files for the D programming language.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5470018
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,25 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Diet-NG
+Upstream-Contact: Sönke Ludwig
+Source: https://github.com/rejectedsoftware/diet-ng
+
+Files: *
+Copyright: Copyright © 2012-2017 rejectedsoftware e.K.
+ Sönke Ludwig
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software
+ and associated documentation files (the "Software"), to deal in the Software without restriction,
+ including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all copies or substantial
+ portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..0eef220
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[buildpackage]
+sign-tags = True
diff --git a/debian/libdiet-dev.install b/debian/libdiet-dev.install
new file mode 100644
index 0000000..33ffe4a
--- /dev/null
+++ b/debian/libdiet-dev.install
@@ -0,0 +1,3 @@
+usr/include/d/diet/*
+usr/lib/*/libdiet.so
+usr/lib/*/pkgconfig/*
diff --git a/debian/libdiet0.install b/debian/libdiet0.install
new file mode 100644
index 0000000..5309fb8
--- /dev/null
+++ b/debian/libdiet0.install
@@ -0,0 +1 @@
+usr/lib/*/libdiet.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..cc53418
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+#export DH_VERBOSE=1
+
+export DFLAGS=-O -release -g
+
+%:
+	dh $@
+
+override_dh_missing:
+	dh_missing --fail-missing
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/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..9cdfca9
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1,2 @@
+unapply-patches
+abort-on-upstream-changes
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..0cd8ffc
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/<project>-$1\.tar\.gz/ \
+  https://github.com/rejectedsoftware/diet-ng/tags .*/v?(\d\S*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/diet-ng.git



More information about the pkg-d-commits mailing list