--- glar150-1.0.0+git20171103.orig/debian/changelog
+++ glar150-1.0.0+git20171103/debian/changelog
@@ -0,0 +1,5 @@
+glar150 (1.0.0+git20171103) UNRELEASED; urgency=low
+
+  * Initial packaging.
+
+ -- glar150 Developers <zeromq-dev@lists.zeromq.org>  Wed, 31 Dec 2014 00:00:00 +0000
--- glar150-1.0.0+git20171103.orig/debian/compat
+++ glar150-1.0.0+git20171103/debian/compat
@@ -0,0 +1 @@
+10
--- glar150-1.0.0+git20171103.orig/debian/control
+++ glar150-1.0.0+git20171103/debian/control
@@ -0,0 +1,62 @@
+#
+#    glar150 - GL-AR150 demo using Zyre
+#
+#    Copyright (c) the Contributors as noted in the AUTHORS file.
+#    This file is part of the Glar150 Project.
+#
+#    This Source Code Form is subject to the terms of the Mozilla Public
+#    License, v. 2.0. If a copy of the MPL was not distributed with this
+#    file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+Source:         glar150
+Section:        net
+Priority:       optional
+Maintainer:     glar150 Developers <zeromq-dev@lists.zeromq.org>
+Standards-Version: 4.0.1.0
+Build-Depends: debhelper (>= 9),
+    pkg-config,
+    libzmq3-dev,
+    libczmq-dev,
+    libzyre-dev,
+    systemd,
+    dh-systemd,
+    asciidoc-base | asciidoc, xmlto,
+    dh-autoreconf
+
+Package: libglar0
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: glar150 shared library
+ This package contains shared library for glar150:
+ gl-ar150 demo using zyre
+
+Package: libglar-dev
+Architecture: any
+Section: libdevel
+Depends:
+    ${misc:Depends},
+    libzmq3-dev,
+    libczmq-dev,
+    libzyre-dev,
+    libglar0 (= ${binary:Version})
+Description: glar150 development tools
+ This package contains development files for glar150:
+ gl-ar150 demo using zyre
+
+Package: glar150
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends},
+Description: runnable binaries from glar150
+ Main package for glar150:
+ gl-ar150 demo using zyre
+
+Package: glar150-dbg
+Architecture: any
+Section: debug
+Priority: optional
+Depends:
+    glar150 (= ${binary:Version}),
+    ${misc:Depends}
+Description: glar150 debugging symbols
+ This package contains the debugging symbols for glar150:
+ gl-ar150 demo using zyre.
--- glar150-1.0.0+git20171103.orig/debian/copyright
+++ glar150-1.0.0+git20171103/debian/copyright
@@ -0,0 +1,12 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: glar150
+
+Files: *
+Copyright: 2015- glar150 Developers <zeromq-dev@lists.zeromq.org>
+License: glar150_license
+ Copyright (c) the Contributors as noted in the AUTHORS file.
+ This file is part of the Glar150 Project.
+ .
+ This Source Code Form is subject to the terms of the Mozilla Public
+ License, v. 2.0. If a copy of the MPL was not distributed with this
+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
--- glar150-1.0.0+git20171103.orig/debian/format
+++ glar150-1.0.0+git20171103/debian/format
@@ -0,0 +1 @@
+3.0 (quilt)
--- glar150-1.0.0+git20171103.orig/debian/glar150.install
+++ glar150-1.0.0+git20171103/debian/glar150.install
@@ -0,0 +1,4 @@
+usr/bin/glard
+etc/glar150/glard.cfg
+lib/systemd/system/glard.service
+
--- glar150-1.0.0+git20171103.orig/debian/glar150.manpages
+++ glar150-1.0.0+git20171103/debian/glar150.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/glard.1
--- glar150-1.0.0+git20171103.orig/debian/libglar-dev.install
+++ glar150-1.0.0+git20171103/debian/libglar-dev.install
@@ -0,0 +1,3 @@
+usr/include/*
+usr/lib/*/libglar.so
+usr/lib/*/pkgconfig/libglar.pc
--- glar150-1.0.0+git20171103.orig/debian/libglar-dev.manpages
+++ glar150-1.0.0+git20171103/debian/libglar-dev.manpages
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/man/man3/*
+debian/tmp/usr/share/man/man7/*
--- glar150-1.0.0+git20171103.orig/debian/libglar0.install
+++ glar150-1.0.0+git20171103/debian/libglar0.install
@@ -0,0 +1 @@
+usr/lib/*/libglar.so.*
--- glar150-1.0.0+git20171103.orig/debian/rules
+++ glar150-1.0.0+git20171103/debian/rules
@@ -0,0 +1,53 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+DRAFTS=no
+DOCS=yes
+
+# OBS build: add
+#   Macros:
+#   %_with_drafts 1
+# at the BOTTOM of the OBS prjconf
+OBS_BUILD_CFG=/.build/build.dist
+ifeq ("$(wildcard $(OBS_BUILD_CFG))","")
+BUILDCONFIG=$(shell ls -1 /usr/src/packages/SOURCES/_buildconfig* | head -n 1)
+endif
+ifneq ("$(wildcard $(OBS_BUILD_CFG))","")
+ifneq ("$(shell grep drafts $(OBS_BUILD_CFG))","")
+DRAFTS=yes
+endif
+endif
+
+# User build: DEB_BUILD_OPTIONS=drafts dpkg-buildpackage
+ifneq (,$(findstring drafts,$(DEB_BUILD_OPTIONS)))
+DRAFTS=yes
+endif
+
+ifneq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
+DOCS=no
+endif
+ifneq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+DOCS=no
+endif
+
+# Workaround for automake < 1.14 bug
+$(shell dpkg --compare-versions `dpkg-query -W -f='$${Version}\n' automake` lt 1:1.14 && mkdir -p config)
+$(shell test -f src/Makemodule-local.am || touch src/Makemodule-local.am)
+
+override_dh_strip:
+	dh_strip --dbg-package=glar150-dbg
+
+override_dh_auto_test:
+	echo "Skipped for now"
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		--with-systemd-units \
+		--with-docs=$(DOCS) \
+		--enable-drafts=$(DRAFTS)
+
+%:
+	dh $@ \
+		--with systemd \
+		--parallel \
+		--with autoreconf
