mirror of
git://git.proxmox.com/git/spiceterm.git
synced 2025-09-04 06:55:07 +00:00
build debian packages
This commit is contained in:
27
Makefile
27
Makefile
@@ -1,3 +1,13 @@
|
|||||||
|
RELEASE=3.1
|
||||||
|
|
||||||
|
PACKAGE=spiceterm
|
||||||
|
VERSION=1.0
|
||||||
|
PACKAGERELEASE=1
|
||||||
|
|
||||||
|
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
||||||
|
GITVERSION:=$(shell cat .git/refs/heads/master)
|
||||||
|
|
||||||
|
DEB=${PACKAGE}_${VERSION}-${PACKAGERELEASE}_${ARCH}.deb
|
||||||
|
|
||||||
PROGRAMS=spiceterm
|
PROGRAMS=spiceterm
|
||||||
|
|
||||||
@@ -23,12 +33,25 @@ glyphs: genfont
|
|||||||
./genfont > glyphs.h
|
./genfont > glyphs.h
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install: spiceterm
|
||||||
mkdir -p ${DESTDIR}/usr/share/doc/${PACKAGE}
|
mkdir -p ${DESTDIR}/usr/share/doc/${PACKAGE}
|
||||||
|
install -m 0644 copyright ${DESTDIR}/usr/share/doc/${PACKAGE}
|
||||||
mkdir -p ${DESTDIR}/usr/share/man/man1
|
mkdir -p ${DESTDIR}/usr/share/man/man1
|
||||||
mkdir -p ${DESTDIR}/usr/bin
|
mkdir -p ${DESTDIR}/usr/bin
|
||||||
install -s -m 0755 spiceterm ${DESTDIR}/usr/bin
|
install -s -m 0755 spiceterm ${DESTDIR}/usr/bin
|
||||||
|
|
||||||
|
.PHONY: deb
|
||||||
|
${DEB} deb:
|
||||||
|
make clean
|
||||||
|
rsync -a . --exclude build build
|
||||||
|
echo "git clone git://git.proxmox.com/git/spiceterm.git\\ngit checkout ${GITVERSION}" > build/debian/SOURCE
|
||||||
|
cd build; dpkg-buildpackage -rfakeroot -b -us -uc
|
||||||
|
lintian ${DEB}
|
||||||
|
|
||||||
|
.PHONY: dinstall
|
||||||
|
dinstall: ${DEB}
|
||||||
|
dpkg -i ${DEB}
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test: spiceterm
|
test: spiceterm
|
||||||
./spiceterm --noauth --keymap de & remote-viewer spice://localhost?tls-port=5900
|
./spiceterm --noauth --keymap de & remote-viewer spice://localhost?tls-port=5900
|
||||||
@@ -39,4 +62,4 @@ distclean: clean
|
|||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf *~ ${PROGRAMS}
|
rm -rf *~ ${PROGRAMS} build *.deb *.changes
|
||||||
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
spiceterm (1.0-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* Initial release
|
||||||
|
|
||||||
|
-- Proxmox Support Team <support@proxmox.com> Thu, 31 Oct 2013 06:43:34 +0100
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
8
|
13
debian/control
vendored
Normal file
13
debian/control
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
Source: spiceterm
|
||||||
|
Section: admin
|
||||||
|
Priority: extra
|
||||||
|
Maintainer: Proxmox Support Team <support@proxmox.com>
|
||||||
|
Build-Depends: debhelper (>= 8.0.0)
|
||||||
|
Standards-Version: 3.9.3
|
||||||
|
|
||||||
|
Package: spiceterm
|
||||||
|
Architecture: any
|
||||||
|
Depends: pve-qemu-kvm, pve-libspice-server1, ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Description: SPICE Terminal Emulator
|
||||||
|
With spiceterm you can start commands and export its standard input and
|
||||||
|
output to any SPICE client (simulating a xterm Terminal).
|
2
debian/docs
vendored
Normal file
2
debian/docs
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
README
|
||||||
|
debian/SOURCE
|
10
debian/rules
vendored
Executable file
10
debian/rules
vendored
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
# Uncomment this to turn on verbose mode.
|
||||||
|
#export DH_VERBOSE=1
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
||||||
|
|
||||||
|
override_dh_auto_test:
|
||||||
|
# do nothing
|
Reference in New Issue
Block a user