jellyfin/fedora
AJ Jordan b528816b2a
Add sudo to package dependencies
It's used in the restart.sh script.

For Debian, this is a Recommends because virtually everyone will need
this (default APT policy is to install recommended packages so this
works ok), but technically you can configure the server to run as root
and then you wouldn't need it.

For Fedora... frankly I got confused by their Weak Dependencies etc. so
I just made it a hard dependency.
2020-11-29 04:15:11 -05:00
..
.gitignore Port Fedora and CentOS builds and remove web build 2020-03-23 17:32:07 -04:00
jellyfin-firewalld.xml Port Fedora and CentOS builds and remove web build 2020-03-23 17:32:07 -04:00
jellyfin.env Add Web integration option in default service conf 2020-04-29 16:06:42 -04:00
jellyfin.override.conf Port Fedora and CentOS builds and remove web build 2020-03-23 17:32:07 -04:00
jellyfin.service Add Web integration option in default service conf 2020-04-29 16:06:42 -04:00
jellyfin.spec Add sudo to package dependencies 2020-11-29 04:15:11 -05:00
jellyfin.sudoers Port Fedora and CentOS builds and remove web build 2020-03-23 17:32:07 -04:00
Makefile Clean up redundant Makefile steps 2020-03-24 00:01:48 -04:00
README.md Port Fedora and CentOS builds and remove web build 2020-03-23 17:32:07 -04:00
restart.sh Don't restart with sudo(8) if it's not available 2020-11-29 04:04:38 -05: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