2020-03-23 21:01:03 -07:00
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
Name: jellyfin-web
|
2020-12-04 19:58:48 -07:00
|
|
|
Version: 10.8.0
|
2021-03-22 21:35:15 -07:00
|
|
|
Release: 1%{?dist}
|
2020-03-23 21:01:03 -07:00
|
|
|
Summary: The Free Software Media System web client
|
|
|
|
License: GPLv3
|
2020-04-19 04:29:30 -07:00
|
|
|
URL: https://jellyfin.org
|
2021-03-10 07:37:44 -07:00
|
|
|
# Jellyfin Server tarball created by `make -f .copr/Makefile srpm`, real URL ends with `v%%{version}.tar.gz`
|
2020-03-23 21:01:03 -07:00
|
|
|
Source0: jellyfin-web-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2021-12-14 07:43:48 -07:00
|
|
|
%if 0%{?rhel} > 0 && 0%{?rhel} < 8
|
2021-12-14 07:05:32 -07:00
|
|
|
BuildRequires: nodejs
|
|
|
|
%else
|
2021-12-12 18:28:28 -07:00
|
|
|
BuildRequires: git
|
|
|
|
BuildRequires: npm
|
2021-12-14 07:05:32 -07:00
|
|
|
%endif
|
2020-03-23 21:01:03 -07:00
|
|
|
|
|
|
|
# Disable Automatic Dependency Processing
|
|
|
|
AutoReqProv: no
|
|
|
|
|
|
|
|
%description
|
|
|
|
Jellyfin is a free software media system that puts you in control of managing and streaming your media.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n jellyfin-web-%{version} -b 0
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2021-04-08 14:09:52 -07:00
|
|
|
npm ci --no-audit --unsafe-perm
|
2020-03-23 21:01:03 -07:00
|
|
|
%{__mkdir} -p %{buildroot}%{_datadir}
|
|
|
|
mv dist %{buildroot}%{_datadir}/jellyfin-web
|
|
|
|
%{__install} -D -m 0644 LICENSE %{buildroot}%{_datadir}/licenses/jellyfin/LICENSE
|
|
|
|
|
|
|
|
%files
|
2021-03-10 07:37:44 -07:00
|
|
|
%defattr(644,root,root,755)
|
|
|
|
%{_datadir}/jellyfin-web
|
2020-03-23 21:01:03 -07:00
|
|
|
%{_datadir}/licenses/jellyfin/LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2020-12-04 19:58:48 -07:00
|
|
|
* Fri Dec 04 2020 Jellyfin Packaging Team <packaging@jellyfin.org>
|
|
|
|
- Forthcoming stable release
|
2020-07-27 16:13:33 -07:00
|
|
|
* Mon Jul 27 2020 Jellyfin Packaging Team <packaging@jellyfin.org>
|
|
|
|
- Forthcoming stable release
|
2020-03-23 21:01:03 -07:00
|
|
|
* Mon Mar 23 2020 Jellyfin Packaging Team <packaging@jellyfin.org>
|
|
|
|
- Forthcoming stable release
|