diff --git a/.gear/rules b/.gear/rules index f2baf84ae..28813e360 100644 --- a/.gear/rules +++ b/.gear/rules @@ -1,3 +1,4 @@ tar: . copy: .gear/*.png copy: .gear/*.ico +copy: .gear/*.tgz diff --git a/.gear/sencha-touch.tgz b/.gear/sencha-touch.tgz new file mode 100644 index 000000000..91925e4b5 Binary files /dev/null and b/.gear/sencha-touch.tgz differ diff --git a/pve-manager.spec b/pve-manager.spec index fcb2ddff0..1c6fc4340 100644 --- a/pve-manager.spec +++ b/pve-manager.spec @@ -36,6 +36,8 @@ Source6: basealt_logo.png Source8: basealt_favicon.ico Source9: basealt_logo-128.png +Source10: sencha-touch.tgz + BuildRequires: pve-doc-generator >= 7.2.3 xmlto perl-Pod-Parser BuildRequires: pve-storage >= 7.2.12 pve-cluster >= 7.2.3 BuildRequires: pve-common >= 7.2.6 pve-guest-common >= 4.2.1 @@ -50,6 +52,8 @@ This package contains the PVE management tools %prep %setup +# sencha-touch +tar xf %SOURCE10 grep '/var/run' * -rl | while read f; do sed -i 's|/var/run|/run|' $f @@ -65,6 +69,10 @@ install -m0644 %SOURCE6 %buildroot%_datadir/%name/images/basealt_logo.png install -m0644 %SOURCE8 %buildroot%_datadir/%name/images/favicon.ico install -m0644 %SOURCE9 %buildroot%_datadir/%name/images/logo-128.png +# sencha-touch +mkdir -p %buildroot%_jsdir/ +cp -p -r sencha-touch %buildroot%_jsdir/ + # fix config backup job retention mkdir -p %buildroot%_localstatedir/%name/jobs @@ -123,6 +131,7 @@ rm -f %buildroot%_man1dir/pveupgrade.1* %attr(0770,root,www-data) %_logdir/pveproxy %_man1dir/* %_man8dir/* +%_jsdir/sencha-touch %changelog * Tue Dec 26 2023 Andrew A. Vasilyev 7.4.3-alt7