Dominik Heidler
3c01109f11
## ✨ Features * Add doc for 'force\_verification config option (https://github.com/element-hq/element-web/pull/28035). Contributed by @dbkr. * Roll back change to device isolation mode (https://github.com/element-hq/matrix-react-sdk/pull/104). Contributed by @richvdh. * Remove right panel toggling behaviour on room header buttons (https://github.com/element-hq/matrix-react-sdk/pull/100). Contributed by @t3chguy. * Improve error display for messages sent from insecure devices (https://github.com/element-hq/matrix-react-sdk/pull/93). Contributed by @richvdh. * Add labs option to exclude unverified devices (https://github.com/element-hq/matrix-react-sdk/pull/92). Contributed by @richvdh. * Improve contrast for timestamps, date separators \& spotlight trigger (https://github.com/element-hq/matrix-react-sdk/pull/91). Contributed by @t3chguy. * Open room settings on room header avatar click (https://github.com/element-hq/matrix-react-sdk/pull/88). Contributed by @t3chguy. * Use `strong` over `b` for improved a11y semantics (https://github.com/element-hq/matrix-react-sdk/pull/41). Contributed by @t3chguy. * Grant Element Call widget capabilities for "raise hand" feature (https://github.com/element-hq/matrix-react-sdk/pull/82). Contributed by @AndrewFerr. * Mobile registration optimizations and tests (https://github.com/element-hq/matrix-react-sdk/pull/62). Contributed by @langleyd. * Ignore chat effect when older than 48h (https://github.com/element-hq/matrix-react-sdk/pull/48). Contributed by @florianduros. ## 🐛 Bug Fixes * Update native OIDC callback url to be RFC8252 compliant (https://github.com/element-hq/element-web/pull/28096). Contributed by @t3chguy. * Update icons to include transparency (https://github.com/element-hq/element-web/pull/28040). Contributed by @t3chguy. * Fix default\_widget\_container\_height in sample config (https://github.com/element-hq/element-web/pull/28034). Contributed by @dbkr. * Fix untranslated keys being rendered in `/help` dialog (https://github.com/element-hq/matrix-react-sdk/pull/90). Contributed by @t3chguy. * Ensure timeline search results are visible even in video rooms (https://github.com/element-hq/matrix-react-sdk/pull/96). Contributed by @t3chguy. * Pop right panel timeline when unmaximising widget to avoid double timeline (https://github.com/element-hq/matrix-react-sdk/pull/94). Contributed by @t3chguy. * Fix accessible label on left panel spotlight trigger (https://github.com/element-hq/matrix-react-sdk/pull/87). Contributed by @t3chguy. * Crypto: fix display of device key (https://github.com/element-hq/matrix-react-sdk/pull/86). Contributed by @richvdh. OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=82
90 lines
2.9 KiB
RPMSpec
90 lines
2.9 KiB
RPMSpec
#
|
|
# spec file for package element-web
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: element-web
|
|
Version: 1.11.80
|
|
Release: 0
|
|
Summary: A glossy Matrix collaboration client - web files
|
|
License: Apache-2.0
|
|
Group: Productivity/Networking/Talk/Clients
|
|
URL: https://github.com/vector-im/element-web
|
|
Source0: https://github.com/vector-im/element-web/archive/v%{version}.tar.gz#/element-web-%{version}.tar.gz
|
|
Source1: npm-packages-offline-cache.tar.gz
|
|
Source2: jitsi_external_api.min.js
|
|
Source3: prepare.sh
|
|
Patch0: fix-webpack-oom.patch
|
|
BuildRequires: fdupes
|
|
BuildRequires: nodejs-packaging
|
|
BuildRequires: yarn
|
|
BuildRequires: rust
|
|
BuildRequires: cargo
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
A glossy Matrix collaboration client - web files
|
|
|
|
%prep
|
|
%autosetup -n element-web-%{version} -a1 -p1
|
|
|
|
%build
|
|
echo 'yarn-offline-mirror "./npm-packages-offline-cache"' > .yarnrc
|
|
ls -l ./npm-packages-offline-cache | head
|
|
|
|
# fix some strange dependency
|
|
#cp npm-packages-offline-cache/matrix-analytics-events-0.0.1.tgz \
|
|
# npm-packages-offline-cache/@matrix-analytics-events-0.0.1.tgz
|
|
#ls -l ./npm-packages-offline-cache/*matrix-analytics-events*
|
|
|
|
#sed -i -e 's| matrix-analytics-events "github:matrix-org/matrix-analytics-events.git#[^"]*"| matrix-analytics-events "^0.0.1"|' yarn.lock
|
|
#sed -i -e 's|"matrix-analytics-events@github:matrix-org/matrix-analytics-events#[^"]*"|matrix-analytics-events@^0.0.1|' yarn.lock
|
|
|
|
export SENTRYCLI_SKIP_DOWNLOAD=1
|
|
|
|
yarn install --offline --pure-lockfile
|
|
|
|
mkdir -p webapp
|
|
cp %{SOURCE2} ./webapp/jitsi_external_api.min.js
|
|
echo > scripts/build-jitsi.ts
|
|
|
|
DIST_VERSION=%{version} ./scripts/package.sh
|
|
|
|
pushd dist || exit 1
|
|
tar xf element-%{version}.tar.gz
|
|
popd
|
|
cp LICENSE dist/element-%{version}/LICENSE
|
|
|
|
%install
|
|
install -d -m 0755 %{buildroot}%{_datadir}/webapps/element
|
|
|
|
cp -av dist/element-%{version}/* "%{buildroot}%{_datadir}/webapps/element/"
|
|
|
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/webapps/element/
|
|
install -m 0644 config.sample.json "%{buildroot}%{_sysconfdir}/webapps/element/config.sample.json"
|
|
|
|
%fdupes %{buildroot}%{_datadir}/webapps/element/
|
|
|
|
%files
|
|
%license LICENSE
|
|
%dir %{_datadir}/webapps
|
|
%{_datadir}/webapps/element
|
|
%dir %{_sysconfdir}/webapps
|
|
%dir %{_sysconfdir}/webapps/element
|
|
%config %{_sysconfdir}/webapps/element/config.sample.json
|
|
|
|
%changelog
|