]> git.proxmox.com Git - pve-spice-protocol.git/blob - Makefile
add changelog; bump version to 0.14.0-1~pve6
[pve-spice-protocol.git] / Makefile
1 RELEASE=4.2
2
3 PACKAGE=libspice-protocol-dev
4 PKGVERSION=0.12.14
5 PKGRELEASE=1~pve5+1
6
7 PKGDIR=spice-protocol-${PKGVERSION}
8 PKGSRC=${PKGDIR}.tar.bz2
9
10 ARCH=all
11
12 DEB=${PACKAGE}_${PKGVERSION}-${PKGRELEASE}_${ARCH}.deb
13
14
15 all: ${DEB}
16
17 .PHONY: deb
18 deb: $(DEB)
19 $(DEB): ${PKGSRC}
20 rm -rf ${PKGDIR}
21 tar xf ${PKGSRC}
22 cp -a debian ${PKGDIR}/debian
23 cd ${PKGDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
24
25 .PHONY: download
26 download:
27 rm -f ${PKGSRC}
28 wget https://www.spice-space.org/download/releases/spice-protocol-${PKGVERSION}.tar.bz2
29
30 .PHONY: upload
31 upload: ${DEB}
32 tar cf - ${DEB}|ssh repoman@repo.proxmox.com -- upload --product pve --dist stretch
33
34 distclean: clean
35
36 .PHONY: clean
37 clean:
38 rm -rf *~ debian/*~ *_${ARCH}.deb *.changes *.buildinfo *.dsc ${PKGDIR}
39
40 .PHONY: dinstall
41 dinstall: ${DEB}
42 dpkg -i ${DEB}