File jellyfin-web.spec of Package jellyfin-web
#
# spec file for package jellyfin-web
#
# Copyright (c) 2025 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: jellyfin-web
Version: 10.11.0~rc2
Release: 0
Summary: Jellyfin web frontend
License: LGPL-2.1-or-later
URL: https://github.com/jellyfin/jellyfin-web
Source: jellyfin-web-%{version}.tar.gz
BuildRequires: nodejs
BuildRequires: nodejs-packaging
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{?nodejs_requires}
%description
Web frontend for Jellyfin media server
%prep
%setup -q -n jellyfin-web-%{version}
%build
%install
%nodejs_install
rm %{buildroot}%{nodejs_modulesdir}/jellyfin-web/LICENSE.md
rm %{buildroot}%{nodejs_modulesdir}/jellyfin-web/README.md
%files
%defattr(-,root,root)
%doc LICENSE.d README.md
%{nodejs_modulesdir}/jellyfin-web
%changelog