element-web/element-web.spec
Dominik Heidler 94248b2507 - - Version 1.11.48
##  Features
   * Correctly fill window.matrixChat even when a Wrapper module is active (https://github.com/vector-im/element-web/pull/26395). Contributed by @dhenneke.
   * Knock on a ask-to-join room if a module wants to join the room when navigating to a room (https://github.com/matrix-org/matrix-react-sdk/pull/11787). Contributed by @dhenneke.
   * Element-R:  Include crypto info in sentry (https://github.com/matrix-org/matrix-react-sdk/pull/11798). Contributed by @florianduros.
   * Element-R:  Include crypto info in rageshake (https://github.com/matrix-org/matrix-react-sdk/pull/11797). Contributed by @florianduros.
   * Element-R: Add current version of the rust-sdk and vodozemac (https://github.com/matrix-org/matrix-react-sdk/pull/11785). Contributed by @florianduros.
   * Fix unfederated invite dialog (https://github.com/matrix-org/matrix-react-sdk/pull/9618). Fixes vector-im/element-meta#1466 and #22102. Contributed by @owi92.
   * New right panel visual language (https://github.com/matrix-org/matrix-react-sdk/pull/11664).
   * OIDC: add friendly errors (https://github.com/matrix-org/matrix-react-sdk/pull/11184). Fixes #25665. Contributed by @kerryarchibald.
  ## 🐛 Bug Fixes
   * Fix rightpanel hiding scrollbar (https://github.com/matrix-org/matrix-react-sdk/pull/11831). Contributed by @kerryarchibald.
   * Fix multi-tab session lock on Firefox not being cleared (https://github.com/matrix-org/matrix-react-sdk/pull/11800). Fixes #26165. Contributed by @ManuelHu.
   * Deserialise spoilers back into slash command form (https://github.com/matrix-org/matrix-react-sdk/pull/11805). Fixes #26344.
   * Fix Incorrect message scaling for verification request (https://github.com/matrix-org/matrix-react-sdk/pull/11793). Fixes #24304. Contributed by @capGoblin.
   * Fix: Unable to restore a soft-logged-out session established via SSO (https://github.com/matrix-org/matrix-react-sdk/pull/11794). Fixes #25957. Contributed by @kerryarchibald.
   * Use configurable github issue links more consistently (https://github.com/matrix-org/matrix-react-sdk/pull/11796).
   * Fix io.element.late_event received_ts vs received_at (https://github.com/matrix-org/matrix-react-sdk/pull/11789).
   * Make invitation dialog scrollable when infos are too long (https://github.com/matrix-org/matrix-react-sdk/pull/11753). Contributed by @nurjinjafar.
   * Fix spoiler text-align (https://github.com/matrix-org/matrix-react-sdk/pull/11790). Contributed by @ajbura.
   * Fix: Right panel keeps showing chat when unmaximizing widget.  (https://github.com/matrix-org/matrix-react-sdk/pull/11697). Fixes #26265. Contributed by @manancodes.
   * Fix margin of invite to room button (https://github.com/matrix-org/matrix-react-sdk/pull/11780). Fixes #26410.
   * Update base64 import (https://github.com/matrix-org/matrix-react-sdk/pull/11784).
   * Set max size for Element logo in search warning (https://github.com/matrix-org/matrix-react-sdk/pull/11779). Fixes #26408.
   * Fix: emoji size in room header topic, remove obsolete emoji style (https://github.com/matrix-org/matrix-react-sdk/pull/11757). Fixes #26326. Contributed by @kerryarchibald.
   * Fix: Bubble layout design is broken (https://github.com/matrix-org/matrix-react-sdk/pull/11763). Fixes #25818. Contributed by @manancodes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=53
2023-11-07 18:21:44 +00:00

86 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.48
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
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
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