File cinny-web.spec of Package cinny-web
#
# spec file for package cinny-web
#
# Copyright (c) 2022 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: cinny-web
Version: 4.10.2
Release: 0
Summary: Yet another matrix client
License: AGPL-3.0-only
URL: https://cinny.in/
Source: https://github.com/cinnyapp/cinny/releases/download/v%{version}/cinny-v%{version}.tar.gz
Source1: https://github.com/cinnyapp/cinny/releases/download/v%{version}/cinny-v%{version}.tar.gz.asc
Source2: https://raw.githubusercontent.com/cinnyapp/cinny/dev/README.md
Source3: https://raw.githubusercontent.com/cinnyapp/cinny/dev/LICENSE
Source4: README.SUSE
Source5: cinny-web.keyring
BuildRequires: rsync
BuildArch: noarch
%description
A Matrix client focusing primarily on simple, elegant and secure interface.
The main goal is to have an instant messaging application that is easy on people
and has a modern touch.
%prep
%setup -q -n dist
%install
install -D -d -m 0755 %{buildroot}%{_datadir}/cinny-web
rsync -av $PWD/ %{buildroot}%{_datadir}/cinny-web/
cp %{S:2} %{S:3} %{S:4} .
%files
%license LICENSE
%doc README.md README.SUSE
%dir %{_datadir}/cinny-web
%config(noreplace) %{_datadir}/cinny-web/config.json
%{_datadir}/cinny-web/index.html
%{_datadir}/cinny-web/assets
%{_datadir}/cinny-web/public
%{_datadir}/cinny-web/sw.js*
%{_datadir}/cinny-web/pdf.worker.min.js
%{_datadir}/cinny-web/manifest.json
%{_datadir}/cinny-web/netlify.toml
%changelog