mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
58 lines
1.9 KiB
RPMSpec
58 lines
1.9 KiB
RPMSpec
%global debug_package %{nil}
|
|
|
|
Name: jellyfin-web
|
|
Version: 10.8.4
|
|
Release: 1%{?dist}
|
|
Summary: The Free Software Media System web client
|
|
License: GPLv2
|
|
URL: https://jellyfin.org
|
|
# Jellyfin Server tarball created by `make -f .copr/Makefile srpm`, real URL ends with `v%%{version}.tar.gz`
|
|
Source0: jellyfin-web-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
%if 0%{?rhel} > 0 && 0%{?rhel} < 8
|
|
BuildRequires: nodejs
|
|
%else
|
|
BuildRequires: git
|
|
BuildRequires: npm
|
|
%endif
|
|
|
|
%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
|
|
|
|
%if 0%{?rhel} > 0 && 0%{?rhel} < 8
|
|
# Required for CentOS build
|
|
chown root:root -R .
|
|
%endif
|
|
|
|
|
|
%build
|
|
npm ci --no-audit --unsafe-perm
|
|
|
|
|
|
%install
|
|
%{__mkdir} -p %{buildroot}%{_libdir}/jellyfin/jellyfin-web
|
|
%{__cp} -r dist/* %{buildroot}%{_libdir}/jellyfin/jellyfin-web
|
|
|
|
|
|
%files
|
|
%defattr(644,root,root,755)
|
|
%{_libdir}/jellyfin/jellyfin-web
|
|
%license LICENSE
|
|
|
|
|
|
%changelog
|
|
* Sat Aug 13 2022 Jellyfin Packaging Team <packaging@jellyfin.org>
|
|
- New upstream version 10.8.4; release changelog at https://github.com/jellyfin/jellyfin-web/releases/tag/v10.8.4
|
|
* Mon Aug 01 2022 Jellyfin Packaging Team <packaging@jellyfin.org>
|
|
- New upstream version 10.8.3; release changelog at https://github.com/jellyfin/jellyfin-web/releases/tag/v10.8.3
|
|
* Mon Aug 01 2022 Jellyfin Packaging Team <packaging@jellyfin.org>
|
|
- New upstream version 10.8.2; release changelog at https://github.com/jellyfin/jellyfin-web/releases/tag/v10.8.2
|
|
* Sun Jun 26 2022 Jellyfin Packaging Team <packaging@jellyfin.org>
|
|
- New upstream version 10.8.1; release changelog at https://github.com/jellyfin/jellyfin-web/releases/tag/v10.8.1
|
|
* Fri Jun 10 2022 Jellyfin Packaging Team <packaging@jellyfin.org>
|
|
- New upstream version 10.8.0; release changelog at https://github.com/jellyfin/jellyfin-web/releases/tag/v10.8.0
|