Joshua M. Boniface b49cd1d301 Fix Release ref for Fedora 4 年之前
..
.gitignore 6028bc0f79 Port Fedora and CentOS builds and remove web build 5 年之前
Makefile 05aa28a377 Clean up redundant Makefile steps 5 年之前
README.md 6028bc0f79 Port Fedora and CentOS builds and remove web build 5 年之前
jellyfin-firewalld.xml 6028bc0f79 Port Fedora and CentOS builds and remove web build 5 年之前
jellyfin.env 8c9604afba Add Web integration option in default service conf 5 年之前
jellyfin.override.conf 6028bc0f79 Port Fedora and CentOS builds and remove web build 5 年之前
jellyfin.service 8c9604afba Add Web integration option in default service conf 5 年之前
jellyfin.spec b49cd1d301 Fix Release ref for Fedora 4 年之前
jellyfin.sudoers 6028bc0f79 Port Fedora and CentOS builds and remove web build 5 年之前
restart.sh 6028bc0f79 Port Fedora and CentOS builds and remove web build 5 年之前

README.md

Jellyfin RPM

Build Fedora Package with docker

Change into this directory cd rpm-package Run the build script ./build-fedora-rpm.sh. Resulting RPM and src.rpm will be in ../../jellyfin-*.rpm

ffmpeg

The RPM package for Fedora/CentOS requires some additional repositories as ffmpeg is not in the main repositories.

# ffmpeg from RPMfusion free
# Fedora
$ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
# CentOS 7
$ sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm

ISO mounting

To allow Jellyfin to mount/umount ISO files uncomment these two lines in /etc/sudoers.d/jellyfin-sudoers

# %jellyfin ALL=(ALL) NOPASSWD: /bin/mount
# %jellyfin ALL=(ALL) NOPASSWD: /bin/umount

Building with dotnet

Jellyfin is build with --self-contained so no dotnet required for runtime.

# dotnet required for building the RPM
# Fedora
$ sudo dnf copr enable @dotnet-sig/dotnet
# CentOS
$ sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm

TODO

  • OpenSUSE