element-web/element-web.spec
Dominik Heidler b8555f85f1 - Version 1.11.60
##  Features
  * Refine styles of controls to match Compound (https://github.com/matrix-org/matrix-react-sdk/pull/12299). Contributed by @robintown.
  * Hide the archived section (https://github.com/matrix-org/matrix-react-sdk/pull/12286). Contributed by @dbkr.
  * Add theme data to EC widget Url (https://github.com/matrix-org/matrix-react-sdk/pull/12279). Contributed by @toger5.
  * Update MSC2965 OIDC Discovery implementation (https://github.com/matrix-org/matrix-react-sdk/pull/12245). Contributed by @t3chguy.
  * Use green dot for activity notification in `LegacyRoomHeader` (https://github.com/matrix-org/matrix-react-sdk/pull/12270). Contributed by @florianduros.
  ## 🐛 Bug Fixes
  * Fix requests for senders to submit auto-rageshakes (https://github.com/matrix-org/matrix-react-sdk/pull/12304). Contributed by @richvdh.
  * fix automatic DM avatar with functional members (https://github.com/matrix-org/matrix-react-sdk/pull/12157). Contributed by @HarHarLinks.
  * Feeds event with relation to unknown to the widget (https://github.com/matrix-org/matrix-react-sdk/pull/12283). Contributed by @maheichyk.
  * Fix TAC opening with keyboard (https://github.com/matrix-org/matrix-react-sdk/pull/12285). Contributed by @florianduros.
  * Allow screenshot update docker to run multiple test files (https://github.com/matrix-org/matrix-react-sdk/pull/12291). Contributed by @dbkr.
  * Fix alignment of user menu avatar (https://github.com/matrix-org/matrix-react-sdk/pull/12289). Contributed by @dbkr.
  * Fix buttons of widget in a room (https://github.com/matrix-org/matrix-react-sdk/pull/12288). Contributed by @florianduros.
  * ModuleAPI: `overwrite_login` action was not stopping the existing client resulting in the action failing with rust-sdk (https://github.com/matrix-org/matrix-react-sdk/pull/12272). Contributed by @BillCarsonFr.
- Version 1.11.59
  ## 🦖 Deprecations
  * Enable custom themes to theme Compound (https://github.com/matrix-org/matrix-react-sdk/pull/12240). Contributed by @robintown.
  * Remove welcome bot `welcome_user_id` support (https://github.com/matrix-org/matrix-react-sdk/pull/12153). Contributed by @t3chguy.
  ##  Features
  * Ignore activity in TAC (https://github.com/matrix-org/matrix-react-sdk/pull/12269). Contributed by @florianduros.
  * Use browser's font size instead of hardcoded `16px` as root font size (https://github.com/matrix-org/matrix-react-sdk/pull/12246). Contributed by @florianduros.
  * Revert "Use Compound primary colors for most actions" (https://github.com/matrix-org/matrix-react-sdk/pull/12264). Contributed by @florianduros.
  * Revert "Refine menu, toast, and popover colors" (https://github.com/matrix-org/matrix-react-sdk/pull/12263). Contributed by @florianduros.
  * Fix Native OIDC for Element Desktop (https://github.com/matrix-org/matrix-react-sdk/pull/12253). Contributed by @t3chguy.
  * Improve client metadata used for OIDC dynamic registration (https://github.com/matrix-org/matrix-react-sdk/pull/12257). Contributed by @t3chguy.
  * Refine menu, toast, and popover colors (https://github.com/matrix-org/matrix-react-sdk/pull/12247). Contributed by @robintown.
  * Call the AsJson forms of import and exportRoomKeys (https://github.com/matrix-org/matrix-react-sdk/pull/12233). Contributed by @andybalaam.
  * Use Compound primary colors for most actions (https://github.com/matrix-org/matrix-react-sdk/pull/12241). Contributed by @robintown.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=66
2024-03-13 10:04:26 +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.60
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