element-web/element-web.spec
Dominik Heidler f9b9fd0923 - Version 1.11.70
##  Features
  
  * Add SSO redirect option for login page (https://github.com/element-hq/element-web/pull/27576). Contributed by @bartvdbraak.
  * Use stable endpoints for MSC3916 (https://github.com/element-hq/element-web/pull/27558). Contributed by @turt2live.
  * Switch to Rust crypto stack for all logins (https://github.com/matrix-org/matrix-react-sdk/pull/12630). Contributed by @richvdh.
  * Hide voip buttons in group rooms in environments with widgets disabled (https://github.com/matrix-org/matrix-react-sdk/pull/12664). Contributed by @t3chguy.
  * Minor tweaks to UserSettings dialog (https://github.com/matrix-org/matrix-react-sdk/pull/12651). Contributed by @florianduros.
  * Hide voice call button when redundant (https://github.com/matrix-org/matrix-react-sdk/pull/12639). Contributed by @t3chguy.
  * Improve accessibility of the room summary card (https://github.com/matrix-org/matrix-react-sdk/pull/12586). Contributed by @t3chguy.
  * Show tooltips on narrow tabbed views (https://github.com/matrix-org/matrix-react-sdk/pull/12624). Contributed by @dbkr.
  * Update gfm.css to github-markdown-css (https://github.com/matrix-org/matrix-react-sdk/pull/12613). Contributed by @t3chguy.
  * Cache e2eStatus to avoid concerning unencrypted flicker when changing rooms (https://github.com/matrix-org/matrix-react-sdk/pull/12606). Contributed by @t3chguy.
  * Tweak copy for user verification toast (https://github.com/matrix-org/matrix-react-sdk/pull/12605). Contributed by @t3chguy.
  * Support s tags for strikethrough for Matrix v1.10 (https://github.com/matrix-org/matrix-react-sdk/pull/12604). Contributed by @t3chguy.
  
  ## 🐛 Bug Fixes
  
  * Fix "Unable to restore session" error (https://github.com/matrix-org/matrix-js-sdk/pull/4299).
  * Fix error when sending encrypted messages in large rooms (https://github.com/matrix-org/matrix-js-sdk/pull/4297).
  * Remove redundant copy in deactive uia modal (https://github.com/matrix-org/matrix-react-sdk/pull/12668). Contributed by @t3chguy.
  * Fix high contrast theme in settings (https://github.com/matrix-org/matrix-react-sdk/pull/12649). Contributed by @florianduros.
  * Fix background on live location sharing footer (https://github.com/matrix-org/matrix-react-sdk/pull/12629). Contributed by @t3chguy.
  * Remove outdated iframe sandbox attribute (https://github.com/matrix-org/matrix-react-sdk/pull/12633). Contributed by @t3chguy.
  * Remove stray setState which caused encryption state shields to flicker (https://github.com/matrix-org/matrix-react-sdk/pull/12632). Contributed by @t3chguy.
  * Fix stray background colour on markdown body (https://github.com/matrix-org/matrix-react-sdk/pull/12628). Contributed by @t3chguy.
  * Fix widgets not being cleaned up correctly. (https://github.com/matrix-org/matrix-react-sdk/pull/12616). Contributed by @toger5.
  * Add in-progress view to display name EditInPlace (https://github.com/matrix-org/matrix-react-sdk/pull/12609). Contributed by @dbkr.
  * Fix config override of other settings levels (https://github.com/matrix-org/matrix-react-sdk/pull/12593). Contributed by @langleyd.
  * Don't show 'saved' on display name save error (https://github.com/matrix-org/matrix-react-sdk/pull/12600). Contributed by @dbkr.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=73
2024-07-12 11:02:38 +00:00

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.70
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