Name: vaultwarden-web Version: 2024.5.0 Release: 1%{?dist} Summary: Web vault for vaultwarden License: GPL-3.0-only AND MIT AND BSD-3-Clause AND (MIT or GPL-3.0-only) URL: https://github.com/dani-garcia/bw_web_builds Source0: %{url}/releases/download/v%{version}/bw_web_v%{version}.tar.gz Source1: LICENSE.txt BuildArch: noarch %description %{summary}. %prep %setup -q -n web-vault %build # nothing to do %install mkdir -p %{buildroot}/%{_datadir}/%{name}/ cp -ra * %{buildroot}/%{_datadir}/%{name} install -Dp %{SOURCE1} %{buildroot}%{_datadir}/licenses/%{name}/LICENSE.txt find . -type f -name '*.LICENSE.txt' -exec install -Dt %{buildroot}%{_datadir}/%{name}/licenses/ {} \; %check # nothing to do %files %license LICENSE.txt %license *.js.LICENSE.txt %{_datadir}/%{name}/ %changelog * Tue May 21 2024 Jonathan Wright - 2024.5.0-1 - initial package build