mirror of
https://abf.rosa.ru/djam/element.git
synced 2025-02-23 15:42:56 +00:00
1.11.89
This commit is contained in:
parent
867104c654
commit
9bd8a4a33b
2 changed files with 41 additions and 10 deletions
3
.abf.yml
3
.abf.yml
|
@ -1,4 +1,5 @@
|
|||
sources:
|
||||
element-desktop-1.11.80.tar.gz: 24f3140ab582f1b2aab1e202a74db44a1ae1b68f
|
||||
element-desktop-1.11.89.tar.gz: 3692e16e8a4dedcc4061f193912f1a9eae805b94
|
||||
element-v1.11.79.tar.gz: aa5a549dd8287502b09672442dacfe54c5e97ffa
|
||||
element-v1.11.80.tar.gz: 60463b921c80e37145f6b2e293f7c836cd2d9062
|
||||
element-v1.11.89.tar.gz: 756389758c0f93e5822b75cf675536275e7a2a33
|
||||
|
|
48
element.spec
48
element.spec
|
@ -11,7 +11,7 @@
|
|||
|
||||
Summary: Client for the decentralized and secure protocol Matrix
|
||||
Name: element
|
||||
Version: 1.11.80
|
||||
Version: 1.11.89
|
||||
Release: 1
|
||||
License: ASL 2.0
|
||||
Group: Networking/Instant messaging
|
||||
|
@ -20,7 +20,7 @@ Source0: https://github.com/vector-im/%{oname}/archive/v%{version}/%{oname}-%{ve
|
|||
Source1: https://github.com/vector-im/element-web/releases/download/v%{version}/%{name}-v%{version}.tar.gz
|
||||
ExclusiveArch: x86_64
|
||||
BuildRequires: yarn
|
||||
BuildRequires: nodejs-bootstrap-bin >= 18
|
||||
BuildRequires: nodejs-bootstrap-bin >= 16
|
||||
# (18.18.0)
|
||||
#BuildRequires: nodejs14
|
||||
BuildRequires: git-core
|
||||
|
@ -60,13 +60,40 @@ Element is free. Element is secure.
|
|||
%prep
|
||||
%setup -qn %{oname}-%{version}
|
||||
|
||||
sed -i '/node/s/18.0.0/16.0.0/' package.json
|
||||
#sed -i -e '/node/s/18.0.0/16.0.0/' \
|
||||
# -e '/electron/s/\^32.0.0/22/' \
|
||||
# -e '/\@playwright\/test/s/1.48.0/1.22.0/' \
|
||||
# -e '/\@stylistic\/eslint-plugin/s/\^2.9.0/1.8.0/' \
|
||||
# -e '/\@typescript-eslint\/eslint-plugin/s/\^8.0.0/\^6.0.0/' \
|
||||
# -e '/\@typescript-eslint\/parser/s/\^8.0.0/\^6.0.0/' \
|
||||
# -e '/isbinaryfile/s/\^5.0.0/\^4.0.0/' \
|
||||
# -e '/eslint/s/\^8.26.0/8.26.0/' \
|
||||
# -e '/app-builder-lib/s/25.1.8/\^22.0.0/' \
|
||||
# -e '/electron-builder/s/25.1.8/\^22.0.0/' \
|
||||
# -e '/electron-builder-squirrel-windows/s/25.1.8/\^22.0.0/' \
|
||||
# -e '/glob/s/\^11.0.0/\^9.0.0/' \
|
||||
# -e '/eslint-plugin-unicorn/s/56.0.0/50.0.0/' \
|
||||
# -e '/knip/s/5.0.0/2.0.0/' \
|
||||
# -e '/pacote/s/19.0.0/18.0.0/' \
|
||||
# -e '/rimraf/s/6.0.0/5.0.0/' \
|
||||
# package.json
|
||||
|
||||
# -e '/\@types\/node/s/18.19.55/\^16.11.26/' \
|
||||
|
||||
#sed -i -e '/isbinaryfile/s/\^5.0.0/\^4.0.0/' \
|
||||
# -e '/minimatch/s/\^10.0.0/\^9.0.0/g' \
|
||||
# yarn.lock
|
||||
|
||||
#rm -rf yarn.lock
|
||||
|
||||
%build
|
||||
export PATH=$PATH:/opt/nodejs/16.*/bin
|
||||
export PYTHONPATH=%{python38_sitelib}
|
||||
export PYTHON3=/usr/libexec/python3.8
|
||||
export PYTHON=/usr/libexec/python3.8
|
||||
export PATH=/opt/nodejs/16.*/bin:$PATH
|
||||
#export PYTHONPATH=%{python38_sitelib}
|
||||
#export PYTHON3=/usr/libexec/python3.8
|
||||
#export PYTHON=/usr/libexec/python3.8
|
||||
|
||||
/usr/libexec/python3.8 -m venv .
|
||||
. bin/activate
|
||||
|
||||
yarn config set --home enableTelemetry 0
|
||||
|
||||
|
@ -74,7 +101,9 @@ mkdir -p packages deploys
|
|||
|
||||
pushd deploys
|
||||
tar -xf %{SOURCE1}
|
||||
popd
|
||||
popd
|
||||
|
||||
#yarn generate-lock-entry
|
||||
|
||||
yarn
|
||||
#yarn clean
|
||||
|
@ -82,7 +111,8 @@ yarn run fetch --noverify --cfgdir 'element.io/release'
|
|||
|
||||
cp element.io/release/config.json config.json
|
||||
|
||||
yarn run build --dir
|
||||
#yarn run build --dir
|
||||
yarn run build:64 --dir
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_riotdir}
|
||||
|
|
Loading…
Add table
Reference in a new issue