Dominik Heidler
3bd11ebae2
## ✨ Features * Send and respect MSC4230 is\_animated flag (https://github.com/element-hq/element-web/pull/28513). Contributed by @t3chguy. * Display a warning when an unverified user's identity changes (https://github.com/element-hq/element-web/pull/28211). Contributed by @uhoreg. * Swap out Twitter link for Mastodon on auth footer (https://github.com/element-hq/element-web/pull/28508). Contributed by @t3chguy. * Consider `org.matrix.msc3417.call` as video room in create room dialog (https://github.com/element-hq/element-web/pull/28497). Contributed by @t3chguy. * Standardise icons using Compound Design Tokens (https://github.com/element-hq/element-web/pull/28217). Contributed by @t3chguy. * Start sending stable `m.marked_unread` events (https://github.com/element-hq/element-web/pull/28478). Contributed by @tulir. * Upgrade to compound-design-tokens v2 (https://github.com/element-hq/element-web/pull/28471). Contributed by @t3chguy. * Standardise icons using Compound Design Tokens (https://github.com/element-hq/element-web/pull/28286). Contributed by @t3chguy. * Remove reply fallbacks as per merged MSC2781 (https://github.com/element-hq/element-web/pull/28406). Contributed by @t3chguy. * Use React Suspense when rendering async modals (https://github.com/element-hq/element-web/pull/28386). Contributed by @t3chguy. ## 🐛 Bug Fixes * Add spinner when room encryption is loading in room settings (https://github.com/element-hq/element-web/pull/28535). Contributed by @florianduros. * Fix getOidcCallbackUrl for Element Desktop (https://github.com/element-hq/element-web/pull/28521). Contributed by @t3chguy. * Filter out redacted poll votes to avoid crashing the Poll widget (https://github.com/element-hq/element-web/pull/28498). Contributed by @t3chguy. * Fix force tab complete not working since switching to React 18 createRoot API (https://github.com/element-hq/element-web/pull/28505). Contributed by @t3chguy. * Fix media captions in bubble layout (https://github.com/element-hq/element-web/pull/28480). Contributed by @tulir. * Reset cross-signing before backup when resetting both (https://github.com/element-hq/element-web/pull/28402). Contributed by @uhoreg. * Listen to events so that encryption icon updates when status changes (https://github.com/element-hq/element-web/pull/28407). Contributed by @uhoreg. * Check that the file the user chose has a MIME type of `image/*` (https://github.com/element-hq/element-web/pull/28467). Contributed by @t3chguy. * Fix download button size in message action bar (https://github.com/element-hq/element-web/pull/28472). Contributed by @t3chguy. * Allow tab completing users in brackets (https://github.com/element-hq/element-web/pull/28460). Contributed by @t3chguy. * Fix React 18 strict mode breaking spotlight dialog (https://github.com/element-hq/element-web/pull/28452). Contributed by @MidhunSureshR. OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=90
90 lines
3.0 KiB
RPMSpec
90 lines
3.0 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.87
|
|
Release: 0
|
|
Summary: A glossy Matrix collaboration client - web files
|
|
License: AGPL-3.0-only or GPL-3.0-only
|
|
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 -v LICENSE* dist/element-%{version}/
|
|
|
|
%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-AGPL-3.0 LICENSE-GPL-3.0
|
|
%dir %{_datadir}/webapps
|
|
%{_datadir}/webapps/element
|
|
%dir %{_sysconfdir}/webapps
|
|
%dir %{_sysconfdir}/webapps/element
|
|
%config %{_sysconfdir}/webapps/element/config.sample.json
|
|
|
|
%changelog
|