diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000000..7f8f011eb73 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000000..9e854450649 --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: python-bareos +Maintainer: Joerg Steffens +Section: python +Priority: optional +Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 7.4.3) +Standards-Version: 3.9.1 + +Package: python-bareos +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Description: Network socket connection to the Bareos backup system. + python-bareos + ============= + . + Python libraries to access Bareos + . + ## Example + . + . + ### preperation + . + ``` + export PYTHONPATH=. + python + ``` + . + ### calling bareos-director user agent commands + . + ``` + import bareos.bsock + . diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000000..9ef7b8bb956 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +# This file was automatically generated by stdeb 0.6.0+git at +# Mon, 07 Sep 2015 16:46:19 +0200 + +%: + dh $@ --with python2 --buildsystem=python_distutils diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000000..d3827e75a5c --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +1.0 diff --git a/packaging/debian.debtransform b/packaging/debian.debtransform new file mode 100644 index 00000000000..b90c561dd03 --- /dev/null +++ b/packaging/debian.debtransform @@ -0,0 +1 @@ +# this file is only required to activate debtransform from Open Build Service (OBS) diff --git a/packaging/python-bareos.changes b/packaging/python-bareos.changes index d1174c30462..b96f3eb6ce4 100644 --- a/packaging/python-bareos.changes +++ b/packaging/python-bareos.changes @@ -1,5 +1,6 @@ -------------------------------------------------------------------- -Mon Sep 7 14:26:48 UTC 2015 - joerg.steffens@dass-it.de +python-bareos (0.3.0-1) unstable; urgency=low -- initial + * initial + + -- Joerg Steffens Mon, 24 Aug 2015 11:45:40 +0200 diff --git a/packaging/python-bareos.dsc b/packaging/python-bareos.dsc new file mode 100644 index 00000000000..1137e82cbd7 --- /dev/null +++ b/packaging/python-bareos.dsc @@ -0,0 +1,10 @@ +Format: 1.0 +Source: python-bareos +Binary: python-bareos +Architecture: all +Version: 0.3-1 +Maintainer: Joerg Steffens +Standards-Version: 3.9.1 +Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 7.4.3) +DEBTRANSFORM-RELEASE: 1 +Files: diff --git a/packaging/python-bareos.spec b/packaging/python-bareos.spec index 9c18afe2c49..4f09af68e66 100644 --- a/packaging/python-bareos.spec +++ b/packaging/python-bareos.spec @@ -18,14 +18,14 @@ %global pyXcmd python%{PYVER} Name: python-%{srcname} -Version: 0.2 +Version: 0.3 Release: 1%{?dist} Summary: Python module to interact with a Bareos backup system - +Group: Productivity/Archiving/Backup License: AGPL-3.0 URL: https://github.com/joergsteffens/python-bareos/ #Source0: http://pypi.python.org/packages/source/e/%%{srcname}/%%{srcname}-%%{version}.tar.gz -Source: %{name}_%{version}.orig.tar.gz +Source: %{name}-%{version}.tar.gz BuildRequires: python-devel python-setuptools %if %noarch @@ -34,7 +34,7 @@ BuildArch: noarch %{?python_provide:%python_provide python-%{srcname}} %description -A python module to interact with a Bareos backup system. +A python module to interact with a Bareos backup system. Also some tools based on this module. %define pyX_sitelib %(%{pyXcmd} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") @@ -60,7 +60,6 @@ A python module to interact with a Bareos backup system. %defattr(-,root,root,-) %doc README.rst %{pyX_sitelib}/* -%{_bindir}/bconsole.py -%{_bindir}/bconsole-json.py +%{_bindir}/* %changelog diff --git a/setup.py b/setup.py index 79a966c3565..55a6b1a2b5a 100644 --- a/setup.py +++ b/setup.py @@ -4,11 +4,11 @@ setup( name='python-bareos', - version='0.2', + version='0.3', author='Joerg Steffens', author_email='joerg.steffens@bareos.com', packages=find_packages(), - scripts=['bin/bconsole.py', 'bin/bconsole-json.py'], + scripts=['bin/bconsole.py', 'bin/bconsole-json.py', 'bin/bareos-fuse.py'], url='https://github.com/joergsteffens/python-bareos/', # What does your project relate to? keywords='bareos',