jellyfin/rpm-package
Thomas Büttner 3f9b005885 Fix typo
2019-01-11 20:21:40 +01:00
..
.gitignore Add RPM package spec 2019-01-05 11:14:24 +01:00
build-fedora-rpm.sh Add rpm build script for fedora and update README 2019-01-08 19:04:52 +01:00
Dockerfile.fedora_package Add rpm build script for fedora and update README 2019-01-08 19:04:52 +01:00
jellyfin-firewalld.xml add Firewalld serivce.xml 2019-01-05 22:06:10 +01:00
jellyfin.env Add logging and config directories 2019-01-07 18:51:37 +01:00
jellyfin.override.conf Change EnvironmentFile path to /etc/sysconfig 2019-01-11 17:43:42 +01:00
jellyfin.service Add logging and config directories 2019-01-07 18:51:37 +01:00
jellyfin.spec Fix typo 2019-01-11 20:21:40 +01:00
jellyfin.sudoers Add RPM package spec 2019-01-05 11:14:24 +01:00
README.md Fix typo 2019-01-11 17:02:52 +01:00
restart.sh Add RPM package spec 2019-01-05 11:14:24 +01:00

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