1
0
mirror of git://git.proxmox.com/git/extjs.git synced 2025-12-07 03:27:00 -05:00

add debian package files

This commit is contained in:
Dietmar Maurer 2017-01-25 17:49:29 +01:00
parent 6527f4294c
commit c3a2d08f89
5 changed files with 86 additions and 0 deletions

57
Makefile Normal file
View File

@ -0,0 +1,57 @@
PACKAGE=libjs-extjs
PKGVER=6.0.1
PKGREL=1
DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb
# EXTJSDIR=ext-6.0.1
# wget http://cdn.sencha.com/ext/gpl/ext-6.0.1-gpl.zip
# unzip ext-6.0.1-gpl.zip
EXTDATA= \
extjs/build/ext-all.js \
extjs/build/ext-all-debug.js \
extjs/build/packages/charts/classic/charts.js \
extjs/build/packages/charts/classic/charts-debug.js \
EXT_THEME= \
extjs/build/classic/theme-crisp \
extjs/build/packages/charts/classic/crisp \
DESTDIR=
WWWEXT6DIR=${DESTDIR}/usr/share/javascript/extjs
all: ${EXTDATA}
.PHONY: deb
deb ${DEB}:
rm -rf build
rsync -a * build
cp extjs/licenses/license.txt build/debian/copyright
cd build; dpkg-buildpackage -b -us -uc
lintian -X copyright-file ${DEB}
.PHONY: install
install: ${EXTDATA}
install -d ${WWWEXT6DIR}
install -m 0644 ${EXTDATA} ${WWWEXT6DIR}
cp -a extjs/build/classic/locale ${WWWEXT6DIR}
cp -a ${EXT_THEME} ${WWWEXT6DIR}
chown -R www-data:www-data ${WWWEXT6DIR}
.PHONY: upload
upload: ${DEB}
tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload
.PHONY: distclean
distclean: clean
.PHONY: clean
clean:
rm -rf ./build *.deb *.changes *.buildinfo
find . -name '*~' -exec rm {} ';'
.PHONY: dinstall
dinstall: ${DEB}
dpkg -i ${DEB}

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
libjs-extjs (6.0.1-1) unstable; urgency=low
* initial import
-- Proxmox Support Team <support@proxmox.com> Wed, 25 Jan 2017 17:41:16 +0100

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

14
debian/control vendored Normal file
View File

@ -0,0 +1,14 @@
Source: libjs-extjs
Section: web
Priority: optional
Maintainer: Proxmox Support Team <support@proxmox.com>
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.4
Homepage: https://www.sencha.com/
Package: libjs-extjs
Architecture: all
Depends: ${misc:Depends}
Description: cross-browser JavaScript library
Ext JS is a cross-browser JavaScript library for building rich internet
applications.

9
debian/rules vendored Normal file
View File

@ -0,0 +1,9 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
%:
dh $@