forked from pool/element-web
Dominik Heidler
8b093ea80a
## ✨ Features * Allow desktop app to expose recent rooms in UI integrations ([\#16940](https://github.com/vector-im/element-web/pull/16940)). * Add API params to mute audio and/or video in Jitsi calls by default ([\#24820](https://github.com/vector-im/element-web/pull/24820)). Contributed by @dhenneke. * Style mentions as pills in rich text editor ([\#10448](https://github.com/matrix-org/matrix-react-sdk/pull/10448)). Contributed by @alunturner. * Show room create icon if "UIComponent.roomCreation" is enabled ([\#10364](https://github.com/matrix-org/matrix-react-sdk/pull/10364)). Contributed by @maheichyk. * Mentions as links rte ([\#10463](https://github.com/matrix-org/matrix-react-sdk/pull/10463)). Contributed by @alunturner. * Better error handling in jump to date ([\#10405](https://github.com/matrix-org/matrix-react-sdk/pull/10405)). Contributed by @MadLittleMods. * Show "Invite" menu option if "UIComponent.sendInvites" is enabled. ([\#10363](https://github.com/matrix-org/matrix-react-sdk/pull/10363)). Contributed by @maheichyk. * Added `UserProfilesStore`, `LruCache` and user permalink profile caching ([\#10425](https://github.com/matrix-org/matrix-react-sdk/pull/10425)). Fixes #10559. * Mentions as links rte ([\#10422](https://github.com/matrix-org/matrix-react-sdk/pull/10422)). Contributed by @alunturner. * Implement MSC3952: intentional mentions ([\#9983](https://github.com/matrix-org/matrix-react-sdk/pull/9983)). * Implement MSC3973: Search users in the user directory with the Widget API ([\#10269](https://github.com/matrix-org/matrix-react-sdk/pull/10269)). Contributed by @dhenneke. * Permalinks to message are now displayed as pills ([\#10392](https://github.com/matrix-org/matrix-react-sdk/pull/10392)). Fixes #24751 and #24706. * Show search,dial,explore in filterContainer if "UIComponent.filterContainer" is enabled ([\#10381](https://github.com/matrix-org/matrix-react-sdk/pull/10381)). Contributed by @maheichyk. * Increase space panel collapse clickable area ([\#6084](https://github.com/matrix-org/matrix-react-sdk/pull/6084)). Fixes #17379. Contributed by @jaiwanth-v. * Add fallback for replies to Polls ([\#10380](https://github.com/matrix-org/matrix-react-sdk/pull/10380)). Fixes #24197. Contributed by @kerryarchibald. * Permalinks to rooms and users are now pillified ([\#10388](https://github.com/matrix-org/matrix-react-sdk/pull/10388)). Fixes #24825. * Poll history - access poll history from room settings ([\#10356](https://github.com/matrix-org/matrix-react-sdk/pull/10356)). Contributed by @kerryarchibald. * Add API params to mute audio and/or video in Jitsi calls by default ([\#10376](https://github.com/matrix-org/matrix-react-sdk/pull/10376)). Contributed by @dhenneke. * Notifications: inline error message on notifications saving error ([\#10288](https://github.com/matrix-org/matrix-react-sdk/pull/10288)). Contributed by @kerryarchibald. * Support dynamic room predecessor in SpaceProvider ([\#10348](https://github.com/matrix-org/matrix-react-sdk/pull/10348)). Contributed by @andybalaam. * Support dynamic room predecessors for RoomProvider ([\#10346](https://github.com/matrix-org/matrix-react-sdk/pull/10346)). Contributed by @andybalaam. * Support dynamic room predecessors in OwnBeaconStore ([\#10339](https://github.com/matrix-org/matrix-react-sdk/pull/10339)). Contributed by @andybalaam. * Support dynamic room predecessors in ForwardDialog ([\#10344](https://github.com/matrix-org/matrix-react-sdk/pull/10344)). Contributed by @andybalaam. * Support dynamic room predecessors in SpaceHierarchy ([\#10341](https://github.com/matrix-org/matrix-react-sdk/pull/10341)). Contributed by @andybalaam. * Support dynamic room predecessors in AddExistingToSpaceDialog ([\#10342](https://github.com/matrix-org/matrix-react-sdk/pull/10342)). Contributed by @andybalaam. * Support dynamic room predecessors in leave-behaviour ([\#10340](https://github.com/matrix-org/matrix-react-sdk/pull/10340)). Contributed by @andybalaam. * Support dynamic room predecessors in StopGapWidgetDriver ([\#10338](https://github.com/matrix-org/matrix-react-sdk/pull/10338)). Contributed by @andybalaam. * Support dynamic room predecessors in WidgetLayoutStore ([\#10326](https://github.com/matrix-org/matrix-react-sdk/pull/10326)). Contributed by @andybalaam. OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=39
86 lines
2.9 KiB
RPMSpec
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.29
|
|
Release: 0
|
|
Summary: A glossy Matrix collaboration client - web files
|
|
Group: Productivity/Networking/Talk/Clients
|
|
License: Apache-2.0
|
|
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: yarn
|
|
BuildRequires: nodejs-packaging
|
|
BuildRequires: fdupes
|
|
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 'return;' > scripts/build-jitsi.js
|
|
|
|
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}/usr/share/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
|