]> git.proxmox.com Git - pve-libspice-server.git/blobdiff - Makefile
add gitignore
[pve-libspice-server.git] / Makefile
index 2c2aba60569059b1d61d88d552b9f005a9e00cff..9b262fcb43fb6075f029f810e79bdeadeff78556 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 RELEASE=4.0
 
 PACKAGE=pve-libspice-server1
-PKGVERSION=0.12.8
+PKGVERSION=0.14.1
 PKGRELEASE=1
 
 PKGDIR=spice-${PKGVERSION}
@@ -14,9 +14,6 @@ DEB=pve-libspice-server1_${PKGVERSION}-${PKGRELEASE}_${ARCH}.deb
 DEB_DBG=pve-libspice-server-dev_${PKGVERSION}-${PKGRELEASE}_${ARCH}.deb
 DEBS=$(DEB) $(DEB_DBG)
 
-CELTDIR=celt-0.5.1.3
-CELTSRC=${CELTDIR}.tar.gz
-
 all: ${DEBS}
        echo ${DEBS}
 
@@ -27,30 +24,26 @@ $(DEB): ${PKGSRC}
        echo ${DEBS}
        rm -rf ${PKGDIR}
        tar xf ${PKGSRC}
-       # compile CELT first
-       tar xf ${CELTSRC} -C ${PKGDIR}
-       cd ${PKGDIR}; ln -s ${CELTDIR}/libcelt celt051
-       cd ${PKGDIR}/${CELTDIR}; ./configure --prefix=/usr; make
        # now compile spice server
        cp -a debian ${PKGDIR}/debian
        echo "git clone git://git.proxmox.com/git/pve-libspice-server.git\\ngit checkout ${GITVERSION}" > ${PKGDIR}/debian/SOURCE
-       cd ${PKGDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
+       cd ${PKGDIR}; dpkg-buildpackage -b -us -uc
 
 
 .PHONY: download
 download:
        rm -f ${PKGSRC} 
-       wget http://spice-space.org/download/releases/spice-${PKGVERSION}.tar.bz2
+       wget http://spice-space.org/download/releases/spice-server/spice-${PKGVERSION}.tar.bz2
 
 .PHONY: upload
 upload: ${DEBS}
-       tar cf - ${DEBS}|ssh repoman@repo.proxmox.com upload
+       tar cf - ${DEBS}|ssh repoman@repo.proxmox.com -- upload --product pve --dist stretch --arch ${ARCH}
 
 distclean: clean
 
 .PHONY: clean
 clean:
-       rm -rf *~ debian/*~ *_${ARCH}.deb *.changes *.dsc ${PKGDIR}
+       rm -rf *~ debian/*~ *_${ARCH}.deb *.changes *.dsc *.buildinfo ${PKGDIR}
 
 .PHONY: dinstall
 dinstall: ${DEBS}