Skip to content

Commit

Permalink
Add Debian packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed May 20, 2021
1 parent bf5e486 commit bf76c68
Show file tree
Hide file tree
Showing 7 changed files with 107 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.builder
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
RPM_SPEC_FILES := \
rpm_spec/qubes-desktop-linux-manager.spec
DEBIAN_BUILD_DIRS := debian
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
qubes-desktop-linux-manager (4.1.7-1) unstable; urgency=low

* Initial release

-- Marek Marczykowski-Górecki <[email protected]> Thu, 20 May 2021 13:42:34 +0200
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
34 changes: 34 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Source: qubes-desktop-linux-manager
Section: admin
Priority: optional
Maintainer: Marek Marczykowski-Górecki <[email protected]>
Build-Depends:
debhelper (>= 9),
dh-python,
python3-all,
python3-gbulb,
python3-setuptools,
python3-systemd,
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-Python3-Version: >= 3.5

Package: qubes-desktop-linux-manager
Architecture: any
Depends:
python3-qui,
${misc:Depends}
Description: Qubes UI Applications
A collection of GUI application for enhancing the Qubes UX.

Package: python3-qui
Architecture: any
Depends:
python3-qubesadmin,
python3-gi,
${python3:Depends},
${misc:Depends}
Description: Qubes UI Applications
A collection of GUI application for enhancing the Qubes UX.
41 changes: 41 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: qubes-desktop-linux-manager
Source: <https://www.qubes-os.org/>

Files: *
Copyright: 2021 Marek Marczykowski-Górecki <[email protected]>
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 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".

Files: debian/*
Copyright: 2021 Marek Marczykowski-Górecki <[email protected]>
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".
24 changes: 24 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/make -f

export PYBUILD_NAME = qui

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

%:
dh $@ --with python3 --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

override_dh_auto_install:
dh_auto_install
make install DESTDIR=debian/qubes-desktop-linux-manager
mv debian/python3-qui/usr/bin/* debian/qubes-desktop-linux-manager/usr/bin/

override_dh_clean:
dh_clean -O--buildsystem=pybuild
make clean

1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)

0 comments on commit bf76c68

Please sign in to comment.