--- retroshare-service-unstable-0.6.9999.orig/debian/changelog
+++ retroshare-service-unstable-0.6.9999/debian/changelog
@@ -0,0 +1,5 @@
+retroshare-service-unstable (0.6.9999) stable; urgency=low
+
+    Add retroshare-service-unstable package
+
+ -- Gioacchino Mazzurco <gio@altermundi.net>  Mon, 04 Feb 2019 13:43:00 +0100
--- retroshare-service-unstable-0.6.9999.orig/debian/compat
+++ retroshare-service-unstable-0.6.9999/debian/compat
@@ -0,0 +1 @@
+7
--- retroshare-service-unstable-0.6.9999.orig/debian/control
+++ retroshare-service-unstable-0.6.9999/debian/control
@@ -0,0 +1,18 @@
+Source: retroshare-service-unstable
+Section: devel
+Priority: standard
+Maintainer: Cyril Soler <csoler@users.sourceforge.net>
+Standards-Version: 3.9.3
+Homepage: https://retroshare.cc
+
+Package: retroshare-service-unstable
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Secure communication with friends
+ RetroShare is a Free and Open Source, private and secure decentralized 
+ communication platform. It lets you to securely chat and share files with your 
+ friends and family, using a web-of-trust to authenticate peers and OpenSSL to 
+ encrypt all communication. RetroShare provides filesharing, chat, messages, 
+ forums and channels.
+ This package provide a headless RetroShare node that can be controlled only
+ using the JSON API.
--- retroshare-service-unstable-0.6.9999.orig/debian/retroshare-service-unstable.install
+++ retroshare-service-unstable-0.6.9999/debian/retroshare-service-unstable.install
@@ -0,0 +1 @@
+debian/tmp/usr/bin/retroshare-service
--- retroshare-service-unstable-0.6.9999.orig/debian/rules
+++ retroshare-service-unstable-0.6.9999/debian/rules
@@ -0,0 +1,61 @@
+#!/usr/bin/make -f
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	qmake --version
+	qmake CONFIG-=debug CONFIG+=release PREFIX=/usr LIB_DIR=/usr/lib \
+    RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=9999 \
+    RS_EXTRA_VERSION="-retroshare-service-OBS-deb" \
+	CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_nogui \
+	CONFIG+=no_retroshare_gui CONFIG+=no_tests CONFIG+=no_libresapi \
+	CONFIG+=no_libresapihttpserver CONFIG+=no_libresapilocalserver \
+	CONFIG+=retroshare_service CONFIG+=rs_jsonapi CONFIG+=rs_deep_search \
+	CONFIG+=c++11 RetroShare.pro
+	touch $@
+
+build: build-stamp
+build-stamp: configure-stamp
+	dh_testdir
+	$(MAKE) -j$(shell nproc) || $(MAKE) -j$(shell nproc) || $(MAKE)
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f configure-stamp build-stamp
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	#dh_installdirs
+	$(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_install --list-missing
+	#dh_installdocs
+	#dh_installexamples
+	#dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
