[pkg-d-commits] [vibe.d] 02/06: Initial packaging
Matthias Klumpp
mak at moszumanska.debian.org
Thu Dec 22 18:59:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
mak pushed a commit to branch master
in repository vibe.d.
commit 252eaeebc055087c4f49c08fc0629fe812773e20
Author: Matthias Klumpp <matthias at tenstral.net>
Date: Thu Nov 17 00:06:26 2016 +0100
Initial packaging
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 25 +++++++++++++++++++++++++
debian/copyright | 11 +++++++++++
debian/gbp.conf | 2 ++
debian/rules | 34 ++++++++++++++++++++++++++++++++++
debian/source/format | 1 +
debian/source/local-options | 2 ++
debian/watch | 4 ++++
9 files changed, 85 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..43d5e34
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+vibe.d (0.7.30-1) UNRELEASED; urgency=medium
+
+ * Initial release (Closes: #?)
+
+ -- Matthias Klumpp <mak at debian.org> Thu, 17 Nov 2016 10:05:14 +0100
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..7fe292b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: vibe.d
+Section: web
+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 (>= 9.0.0),
+ ldc,
+ meson
+Standards-Version: 3.9.8
+Homepage: http://vibed.org/
+Vcs-Git: https://anonscm.debian.org/git/pkg-d/vibe.d.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-d/vibe.d.git
+
+Package: vibe.d
+Architecture: any
+Section: metapackages
+Depends: ${misc:Depends},
+ ${shlibs:Depends}
+Description: High-performance asynchronous I/O web application toolkit
+ vibe.d is a high-performance asynchronous I/O, concurrency and web
+ application toolkit written in D. It already contains many supplemental
+ features such as database support to be able to offer a complete
+ development environment.
+ .
+ This package is a metapackage pulling in all vibe.d modules.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..68a0dbe
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,11 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: vibe.d
+Upstream-Contact: Sönke Ludwig
+Source: https://github.com/CyberShadow/DustMite
+
+Files: *
+Copyright: Copyright © 2012-2016 rejectedsoftware e.K.
+ Sönke Ludwig
+ Jan Krüger
+ Matthias Dondorff
+License: MIT
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/rules b/debian/rules
new file mode 100755
index 0000000..edd1d12
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,34 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+#export DH_VERBOSE=1
+
+VIBED_FLAGS := --prefix=/usr \
+ --buildtype=plain
+
+export DFLAGS=-O3 -g -release
+
+# Define install target dir
+INSTALLDIR = $(CURDIR)/debian/tmp
+
+%:
+ dh $@ --parallel
+
+override_dh_auto_configure:
+ mkdir build
+ (cd build && meson $(VIBED_FLAGS) ..)
+
+override_dh_auto_build:
+ ninja -Cbuild -v
+
+override_dh_auto_install:
+ DESTDIR=$(INSTALLDIR) ninja -Cbuild -v install
+
+override_dh_auto_test:
+ #ninja -Cbuild -v test # FIXME: Doesn't show any log on failure at time due to Meson bugs.
+
+override_dh_install:
+ dh_install --list-missing
+
+override_dh_clean:
+ rm -rf build/
+ dh_clean
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..fe89959
--- /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/vibe.d/tags .*/v?(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/vibe.d.git
More information about the pkg-d-commits
mailing list