debian: initial packaging
This commit is contained in:
parent
38abd81ea8
commit
d7671e4856
10
.travis.yml
10
.travis.yml
@ -22,7 +22,15 @@ after_success:
|
|||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- env: DIST_DOM0=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
|
- env: DIST_DOM0=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
|
||||||
python: '2.7'
|
python: '3.5'
|
||||||
|
- env: DISTS_VM=fc24 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
|
||||||
|
python: '3.5'
|
||||||
|
- env: DISTS_VM=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
|
||||||
|
python: '3.5'
|
||||||
|
- env: DISTS_VM=jessie USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
|
||||||
|
python: '3.4'
|
||||||
|
- env: DISTS_VM=stretch USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
|
||||||
|
python: '3.5'
|
||||||
- stage: deploy
|
- stage: deploy
|
||||||
python: '3.5'
|
python: '3.5'
|
||||||
env: DIST_DOM0=fc25 TESTS_ONLY=
|
env: DIST_DOM0=fc25 TESTS_ONLY=
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
|
|
||||||
RPM_SPEC_FILES := rpm_spec/qubes-core-admin-client.spec
|
RPM_SPEC_FILES := rpm_spec/qubes-core-admin-client.spec
|
||||||
|
DEBIAN_BUILD_DIRS := debian
|
||||||
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
qubes-core-admin-client (4.0.0-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* Initial release
|
||||||
|
|
||||||
|
-- Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> Sat, 20 May 2017 00:13:54 +0200
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
9
|
46
debian/control
vendored
Normal file
46
debian/control
vendored
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
Source: qubes-core-admin-client
|
||||||
|
Section: admin
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
|
||||||
|
Build-Depends:
|
||||||
|
debhelper (>= 9),
|
||||||
|
dh-python,
|
||||||
|
python-all,
|
||||||
|
python-setuptools,
|
||||||
|
python3-all,
|
||||||
|
python3-setuptools,
|
||||||
|
python3-sphinx,
|
||||||
|
python3-docutils,
|
||||||
|
python3-dbus,
|
||||||
|
Standards-Version: 3.9.5
|
||||||
|
Homepage: https://www.qubes-os.org/
|
||||||
|
#Vcs-Git: git://github.com/QubesOS/qubes-core-admin-client.git
|
||||||
|
#Vcs-Browser: https://github.com/QubesOS/qubes-core-admin-client
|
||||||
|
X-Python-Version: >= 2.7
|
||||||
|
X-Python3-Version: >= 3.4
|
||||||
|
|
||||||
|
Package: qubes-core-admin-client
|
||||||
|
Architecture: any
|
||||||
|
Depends:
|
||||||
|
python3-qubesadmin,
|
||||||
|
${python:Depends},
|
||||||
|
${python3:Depends},
|
||||||
|
${misc:Depends}
|
||||||
|
Description: Qubes administrative tools
|
||||||
|
Tools to manage Qubes system using Admin API
|
||||||
|
|
||||||
|
Package: python-qubesadmin
|
||||||
|
Architecture: any
|
||||||
|
Depends:
|
||||||
|
${python:Depends},
|
||||||
|
Provides:
|
||||||
|
${python:Provides},
|
||||||
|
Description: Python 2 bindings for Qubes Admin API
|
||||||
|
Python 2 client side module for Qubes Admin API
|
||||||
|
|
||||||
|
Package: python3-qubesadmin
|
||||||
|
Architecture: any
|
||||||
|
Depends:
|
||||||
|
${python3:Depends},
|
||||||
|
Description: Python 3 bindings for Qubes Admin API
|
||||||
|
Python 3 client side module for Qubes Admin API
|
41
debian/copyright
vendored
Normal file
41
debian/copyright
vendored
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: qubes-desktop-linux-common
|
||||||
|
Source: <https://www.qubes-os.org/>
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: 2017 Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
|
||||||
|
License: LGPL-2.1+
|
||||||
|
This package is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation; either version 2.1 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
.
|
||||||
|
This package 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 program. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of the GNU Lesser General
|
||||||
|
Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1".
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: 2017 Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
|
||||||
|
License: GPL-2+
|
||||||
|
This package 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 package 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 program. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of the GNU General
|
||||||
|
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
|
48
debian/rules
vendored
Executable file
48
debian/rules
vendored
Executable file
@ -0,0 +1,48 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
# See debhelper(7) (uncomment to enable)
|
||||||
|
# output every command that modifies files on the build system.
|
||||||
|
#export DH_VERBOSE = 1
|
||||||
|
export PYBUILD_NAME = qubesadmin
|
||||||
|
|
||||||
|
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
|
||||||
|
DPKG_EXPORT_BUILDFLAGS = 1
|
||||||
|
include /usr/share/dpkg/default.mk
|
||||||
|
|
||||||
|
# see FEATURE AREAS in dpkg-buildflags(1)
|
||||||
|
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
|
|
||||||
|
# see ENVIRONMENT in dpkg-buildflags(1)
|
||||||
|
# package maintainers to append CFLAGS
|
||||||
|
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
||||||
|
# package maintainers to append LDFLAGS
|
||||||
|
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||||
|
|
||||||
|
|
||||||
|
# main packaging script based on dh7 syntax
|
||||||
|
%:
|
||||||
|
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
|
||||||
|
|
||||||
|
override_dh_auto_build: export http_proxy=127.0.0.1:9
|
||||||
|
override_dh_auto_build: export https_proxy=127.0.0.1:9
|
||||||
|
override_dh_auto_build:
|
||||||
|
dh_auto_build
|
||||||
|
PYTHONPATH=. sphinx-build -N -bhtml doc build/html
|
||||||
|
PYTHONPATH=. sphinx-build -N -bman doc build/man
|
||||||
|
|
||||||
|
override_dh_auto_install:
|
||||||
|
dh_auto_install
|
||||||
|
mkdir -p debian/qubes-core-admin-client/usr/bin
|
||||||
|
mv debian/python3-qubesadmin/usr/bin/* debian/qubes-core-admin-client/usr/bin/
|
||||||
|
install -d debian/qubes-core-admin-client/usr/share/man/man1
|
||||||
|
install -m 0644 build/man/* \
|
||||||
|
debian/qubes-core-admin-client/usr/share/man/man1/
|
||||||
|
|
||||||
|
# debmake generated override targets
|
||||||
|
# This is example for Cmake (See http://bugs.debian.org/641051 )
|
||||||
|
#override_dh_auto_configure:
|
||||||
|
# dh_auto_configure -- \
|
||||||
|
# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
3.0 (quilt)
|
Loading…
Reference in New Issue
Block a user