From 004cd4ca241bf3ac99dd703f99b5112b13b618d9 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sun, 28 May 2023 16:24:19 +0200 Subject: [PATCH] initial commit Signed-off-by: Thomas Lamprecht --- Makefile | 54 ++++++++++++++++++++++ debian/changelog | 5 ++ debian/control | 14 ++++++ debian/copyright | 81 +++++++++++++++++++++++++++++++++ debian/install | 4 ++ debian/lintian-overrides | 4 ++ debian/rules | 9 ++++ debian/source/format | 1 + debian/source/lintian-overrides | 1 + 9 files changed, 173 insertions(+) create mode 100644 Makefile create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/install create mode 100644 debian/lintian-overrides create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/lintian-overrides diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..944a248 --- /dev/null +++ b/Makefile @@ -0,0 +1,54 @@ +include /usr/share/dpkg/pkg-info.mk + +PACKAGE=libjs-sencha-touch + +BUILDDIR ?= $(PACKAGE)-$(DEB_VERSION_UPSTREAM) +ORIG_SRC_TAR=$(PACKAGE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz + +DEB=$(PACKAGE)_$(DEB_VERSION)_all.deb +DSC=$(PACKAGE)_$(DEB_VERSION).dsc + +all: deb + +$(BUILDDIR): debian src + rm -rf $@ $@.tmp + cp -a src $@.tmp + rm -rf $@.tmp/examples + rm -f $@.tmp/build.xml + cp -a debian/ $@.tmp/debian + echo "git clone git://git.proxmox.com/git/sencha-touch.git\\ngit checkout $$(git rev-parse HEAD)" > $@.tmp/debian/SOURCE + mv $@.tmp $@ + +.PHONY: deb +deb: $(DEB) +$(DEB): $(BUILDDIR) + cd $(BUILDDIR); dpkg-buildpackage -b -us -uc + lintian $@ + +$(ORIG_SRC_TAR): $(BUILDDIR) + tar czf $(ORIG_SRC_TAR) --exclude="$(BUILDDIR)/debian" $(BUILDDIR) + +.PHONY: dsc +dsc: clean + $(MAKE) $(DSC) + lintian $(DSC) + +$(DSC): $(ORIG_SRC_TAR) $(BUILDDIR) + cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d + +sbuild: $(DSC) + sbuild $(DSC) + +.PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) +upload: $(DEB) + tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST) + +.PHONY: distclean clean +distclean: clean +clean: + rm -rf $(PACKAGE)-[0-9]*/ *.deb *.changes *.buildinfo *.build *.tar.?z *.dsc + +.PHONY: dinstall +dinstall: $(DEB) + dpkg -i $(DEB) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..101f0b7 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libjs-sencha-touch (2.4.2-1) bullseye; urgency=medium + + * Split out from pve-manager's source repository + + -- Proxmox Support Team Sun, 28 May 2023 16:06:25 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..6e4fe76 --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: libjs-sencha-touch +Section: web +Priority: optional +Maintainer: Proxmox Support Team +Build-Depends: debhelper-compat (= 12), +Standards-Version: 4.6.1 +Homepage: https://www.sencha.com/ + +Package: libjs-sencha-touch +Architecture: all +Depends: ${misc:Depends}, +Description: Cross-browser JavaScript library for mobile + Sencha Touch is a cross-browser JavaScript library for building rich internet + applications for the mobile web. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a017fd9 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,81 @@ +Top-level debian/ & Makefile packaging und build-sys; + + Copyright (C) 2023 Proxmox Server Solutions GmbH + License: AGPL-3.0-or-later + +For the Sencha Touch JavaScript Framework (GPLv3 variant) the following was +copied in verbatim form the projects license.txt, for the full text of the GPL +v3 please see /usr/share/common-licenses/GPL-3 + +Sencha Touch & Sencha Touch Charts - JavaScript Libraries +Copyright (c) 2010-2015, Sencha, Inc. +All rights reserved. +licensing@sencha.com + +http://www.sencha.com/products/touch/license.php + + +Open Source License +------------------------------------------------------------------------------------------ +This version of Sencha Touch and Sencha Touch Charts is licensed under the terms of the Open +Source GPL 3.0 license. + +http://www.gnu.org/licenses/gpl.html + +There are several FLOSS exceptions available for use with this release for +open source applications that are distributed under a license other than the GPL. + +* Open Source License Exception for Applications + + http://www.sencha.com/products/floss-exception.php + +* Open Source License Exception for Development + + http://www.sencha.com/products/ux-exception.php + + +Alternate Licensing for Sencha Touch +------------------------------------------------------------------------------------------ +Commercial and OEM Licenses are available for an alternate download of Sencha Touch. +This is the appropriate option if you are creating proprietary applications and you are +not prepared to distribute and share the source code of your application under the +GPL v3 license. Please visit http://www.sencha.com/store/touch/license.php for more details. + + +Alternate Licensing for Sencha Touch Charts +------------------------------------------------------------------------------------------ +Commercial and OEM Licenses are available for an alternate download of Sencha Touch Charts. +This is the appropriate option if you are creating proprietary applications and you are +not prepared to distribute and share the source code of your application under the +GPL v3 license. + +Sencha Touch Charts is available commercially only as a part of Sencha Complete or Sencha +Complete Team. Please visit http://www.sencha.com/products/complete/license or +http://www.sencha.com/products/complete-team/license for more details. + + +Third Party Content +------------------------------------------------------------------------------------------ +The following third party software is distributed with Sencha Touch and is +provided under other licenses and/or has source available from other locations. + +Library: JSON parser +License: Public Domain +Location: http://www.JSON.org/js.html + +Library: flexible-js-formatting - date parsing and formatting +License: MIT +Location: http://code.google.com/p/flexible-js-formatting/ + +Library: Jasmine Š unit testing +License: MIT +Location: https://github.com/pivotal/jasmine + + +-- + +THIS SOFTWARE IS DISTRIBUTED "AS-IS" WITHOUT ANY WARRANTIES, CONDITIONS AND +REPRESENTATIONS WHETHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE +IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, MERCHANTABLE QUALITY, +FITNESS FOR A PARTICULAR PURPOSE, DURABILITY, NON-INFRINGEMENT, PERFORMANCE AND +THOSE ARISING BY STATUTE OR FROM CUSTOM OR USAGE OF TRADE OR COURSE OF DEALING. diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..e4d9ce8 --- /dev/null +++ b/debian/install @@ -0,0 +1,4 @@ +sencha-touch-all.js /usr/share/javascript/sencha-touch +sencha-touch-all-debug.js /usr/share/javascript/sencha-touch +resources/css/*.css /usr/share/javascript/sencha-touch/resources/css +resources/themes/images/default/* /usr/share/javascript/sencha-touch/resources/themes/images diff --git a/debian/lintian-overrides b/debian/lintian-overrides new file mode 100644 index 0000000..a0ef98f --- /dev/null +++ b/debian/lintian-overrides @@ -0,0 +1,4 @@ +libjs-sencha-touch: privacy-breach-generic [