From c0aeef25951e925f5a25e2cd3997d661c1dff10b Mon Sep 17 00:00:00 2001 From: Alexey Shabalin Date: Mon, 24 Jan 2022 03:11:19 +0300 Subject: [PATCH] 3.4-alt1 - Initial build as separate package. --- .gear/proxmox-widget-toolkit.spec | 50 +++++++++++++++++++++++++++++++ .gear/rules | 3 ++ .gear/tags/list | 1 + 3 files changed, 54 insertions(+) create mode 100644 .gear/proxmox-widget-toolkit.spec create mode 100644 .gear/rules create mode 100644 .gear/tags/list diff --git a/.gear/proxmox-widget-toolkit.spec b/.gear/proxmox-widget-toolkit.spec new file mode 100644 index 0000000..1480c93 --- /dev/null +++ b/.gear/proxmox-widget-toolkit.spec @@ -0,0 +1,50 @@ +%define _unpackaged_files_terminate_build 1 + +Name: proxmox-widget-toolkit +Summary: ExtJS Helper Classes for Proxmox +Version: 3.4 +Release: alt1 +License: AGPL-3.0+ +Group: Development/Other +Url: https://www.proxmox.com +Vcs: git://git.proxmox.com/git/proxmox-widget-toolkit.git +Source: %name-%version.tar +Patch: %name-%version.patch +BuildArch: noarch + +Requires: javascript-extjs + +%description +ExtJS Helper Classes to easy access to Proxmox APIs. + +%package dev +Summary: Development dependencies for Proxmox Projects +Group: Development/Other +Requires: %name = %EVR + +%description dev +Contains some common javascript code that are dev-dependencies, +for various Proxmox projects. + +%prep +%setup +%patch -p1 + +%build +%install +export PACKAGE=%name +%makeinstall_std -C src + +#install dev files +install -pD -m644 src/Toolkit.js %buildroot%_datadir/javascript/%name-dev/Toolkit.js +install -pD -m644 src/api-viewer/APIViewer.js %buildroot%_datadir/javascript/%name-dev/APIViewer.js + +%files +%_datadir/javascript/%name + +%files dev +%_datadir/javascript/%name-dev + +%changelog +* Mon Jan 24 2022 Alexey Shabalin 3.4-alt1 +- Initial build as separate package. diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..bb65d3f --- /dev/null +++ b/.gear/rules @@ -0,0 +1,3 @@ +spec: .gear/proxmox-widget-toolkit.spec +tar: upstream:. +diff: upstream:. . name=@name@-@version@.patch diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..13394f2 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +0b7346734634ce031c9d2c0ef960a6c04eb8391a upstream