mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-02 05:40:17 +00:00
add debian package files
This commit is contained in:
parent
0bb29d3556
commit
e9b7ca9633
56
Makefile
Normal file
56
Makefile
Normal file
@ -0,0 +1,56 @@
|
||||
PACKAGE=proxmox-widget-toolkit
|
||||
PKGVER=1.0
|
||||
PKGREL=1
|
||||
|
||||
DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb
|
||||
|
||||
DESTDIR=
|
||||
|
||||
DOCDIR=${DESTDIR}/usr/share/doc/${PACKAGE}
|
||||
|
||||
WWWBASEDIR=${DESTDIR}/usr/share/javascript/${PACKAGE}
|
||||
|
||||
JSSRC= \
|
||||
Utils.js \
|
||||
data/reader/JsonObject.js \
|
||||
data/ProxmoxProxy.js \
|
||||
data/UpdateQueue.js \
|
||||
data/UpdateStore.js \
|
||||
data/DiffStore.js \
|
||||
data/ObjectStore.js \
|
||||
data/TimezoneStore.js
|
||||
|
||||
all:
|
||||
|
||||
.PHONY: deb
|
||||
deb ${DEB}:
|
||||
rm -rf build
|
||||
rsync -a * build
|
||||
cd build; dpkg-buildpackage -b -us -uc
|
||||
lintian ${DEB}
|
||||
|
||||
.PHONY: lint
|
||||
lint: ${JSSRC}
|
||||
jslint ${JSSRC}
|
||||
|
||||
proxmoxlib.js: ${JSSRC}
|
||||
cat ${JSSRC} >$@.tmp
|
||||
mv $@.tmp $@
|
||||
|
||||
install: proxmoxlib.js
|
||||
install -d -m 755 ${WWWBASEDIR}
|
||||
install -m 0644 proxmoxlib.js ${WWWBASEDIR}
|
||||
|
||||
.PHONY: upload
|
||||
upload: ${DEB}
|
||||
# fixme tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload
|
||||
|
||||
distclean: clean
|
||||
|
||||
clean:
|
||||
rm -rf ./build *.deb *.changes *.buildinfo
|
||||
find . -name '*~' -exec rm {} ';'
|
||||
|
||||
.PHONY: dinstall
|
||||
dinstall: ${DEB}
|
||||
dpkg -i ${DEB}
|
6
debian/changelog
vendored
Normal file
6
debian/changelog
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
proxmox-widget-toolkit (1.0-1) unstable; urgency=medium
|
||||
|
||||
* first try
|
||||
|
||||
-- Proxmox Support Team <support@proxmox.com> Mon, 30 Jan 2017 09:50:33 +0100
|
||||
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
9
|
13
debian/control
vendored
Normal file
13
debian/control
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
Source: proxmox-widget-toolkit
|
||||
Section: web
|
||||
Priority: optional
|
||||
Maintainer: Proxmox Support Team <support@proxmox.com>
|
||||
Build-Depends: debhelper (>= 9)
|
||||
Standards-Version: 3.9.5
|
||||
Homepage: http://www.proxmox.com
|
||||
|
||||
Package: proxmox-widget-toolkit
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}
|
||||
Description: ExtJS Helper Classes for Proxmox
|
||||
ExtJS Helper Classes to easy access to Proxmox APIs.
|
16
debian/copyright
vendored
Normal file
16
debian/copyright
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
Copyright (C) 2010-2017 Proxmox Server Solutions GmbH
|
||||
|
||||
This software is written by Proxmox Server Solutions GmbH <support@proxmox.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
9
debian/rules
vendored
Executable file
9
debian/rules
vendored
Executable 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 $@
|
||||
|
Loading…
Reference in New Issue
Block a user