1
0
mirror of git://git.proxmox.com/git/extjs.git synced 2025-12-08 03:52:47 -05:00

Compare commits

...

4 Commits

Author SHA1 Message Date
Thomas Lamprecht
c21e45da93 buildsys: improve DSC target
This avoids a duplicate call to lintian on sbuild target

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-28 16:04:52 +02:00
Thomas Lamprecht
f3417b078c write current git commit to package docs on build
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-28 16:01:35 +02:00
Thomas Lamprecht
c5f36b681e debian: normalize packaging configs with wrap-and-sort -tkn
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-28 15:57:16 +02:00
Thomas Lamprecht
1d965923f4 buildsys: derive upload dist automatically
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-28 15:56:28 +02:00
3 changed files with 20 additions and 17 deletions

View File

@ -4,7 +4,6 @@ PACKAGE=libjs-extjs
BUILDDIR ?= $(PACKAGE)-$(DEB_VERSION_UPSTREAM)
ORIG_SRC_TAR=$(PACKAGE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz
GITVERSION:=$(shell git rev-parse HEAD)
DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb
DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc
@ -15,6 +14,7 @@ $(BUILDDIR): debian extjs
rm -rf $@ $@.tmp && mkdir -p $@.tmp/extjs
cp -a debian/ $@.tmp/debian
cp -a extjs/build/ $@.tmp/extjs/build
echo "git clone git://git.proxmox.com/git/extjs.git\\ngit checkout $$(git rev-parse HEAD)" > $@.tmp/debian/SOURCE
mv $@.tmp $@
.PHONY: deb
@ -27,17 +27,20 @@ $(ORIG_SRC_TAR): $(BUILDDIR)
tar czf $(ORIG_SRC_TAR) --exclude="$(BUILDDIR)/debian" $(BUILDDIR)
.PHONY: dsc
dsc: $(DSC)
dsc: clean
$(MAKE) $(DSC)
lintian $@
$(DSC): $(ORIG_SRC_TAR) $(BUILDDIR)
cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
lintian $@
sbuild: $(DSC)
sbuild $(DSC)
.PHONY: upload
upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
upload: $(DEB)
tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist bookworm
tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist $(UPLOAD_DIST)
.PHONY: distclean clean
distclean: clean

6
debian/control vendored
View File

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