diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5c88183..b39dcea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ stages: - quality-assurance + - build linters: image: python:3.7 @@ -11,3 +12,15 @@ linters: # Be nice to new contributors, but please use `tox` before commit allow_failure: true + +build-deb: + image: debian:buster + stage: build + before_script: + - apt-get update && apt-get -y --no-install-recommends install build-essential debmake dh-python debhelper python3-all python3-setuptools + script: + - dpkg-buildpackage + - mkdir build && cp ../*.deb build/ + artifacts: + paths: + - build/*.deb diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..4ea9df8 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,5 @@ +ghostream for Debian + +Install ghostream web server and systemd service unit. + + -- Alexandre Iooss Wed, 14 Sep 2020 15:10:42 +0200 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5046716 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +ghostream (0.1.0) unstable; urgency=low + + * Initial release. + + -- Alexandre Iooss Wed, 14 Sep 2020 15:10:42 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3531242 --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: ghostream +Section: devel +Priority: optional +Maintainer: Les Nounous +Build-Depends: debhelper (>=11~), dh-python, python3-all, python3-setuptools +Standards-Version: 4.1.4 +Homepage: https://gitlab.crans.org/nounous/ghostream +X-Python3-Version: >= 3.6 + +Package: ghostream +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, ${python3:Depends} +Description: simple streaming server web interface + Gostream is a web interface that uses OvenMediaEngine and NGINX streaming + capabilities to build a simple and efficient streaming server. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..0fd2207 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Les Nounous +Upstream-Contact: Les Nounous +Source: https://gitlab.crans.org/nounous/ghostream + +Files: * +Copyright: 2020 Cr@ns +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 package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..e29871f --- /dev/null +++ b/debian/rules @@ -0,0 +1,5 @@ +#!/usr/bin/make -f +export DH_VERBOSE = 1 + +%: + dh $@ --with python3 --buildsystem=pybuild diff --git a/setup.py b/setup.py index d66c556..09e80e2 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name='ghostream', - version='1.0', + version='0.1.0', packages=find_packages(), include_package_data=True, install_requires=[