ALT: add sencha-touch to system location

This commit is contained in:
Andrew A. Vasilyev 2024-02-05 20:01:48 +03:00
parent a504c646d1
commit ecd808daf0
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,4 @@
tar: .
copy: .gear/*.png
copy: .gear/*.ico
copy: .gear/*.tgz

BIN
.gear/sencha-touch.tgz Normal file

Binary file not shown.

View File

@ -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 <andy@altlinux.org> 7.4.3-alt7