jellyfin/fedora
Tarulia 5912a49d1d Further cleanup of Fedora spec-file
* Replaced shell script used to start JF with a symlink, since it didn't
  do anything else.
* Sorted installs by category/path to make it easier to maintain the
  spec.
* Defined `%defattr` in file section so we don't need to set it on a
  by-file level. This also helps with the messed up default file
  permissions `dotnet publish` produces.
* Removed some duplicate attribute definitions in `%install` and
  `%files` sections. They are now all in the `%install` section because
  of `%defattr` being specified and overriding them otherwise.
2022-06-15 23:12:12 +02:00
..
.gitignore Port Fedora and CentOS builds and remove web build 2020-03-23 17:32:07 -04:00
Makefile Standardise and cleanup Fedora build 2022-06-15 23:09:26 +02:00
README.md 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-server-lowports.conf Put low port privilege into an optional subpackage 2021-11-30 01:18:27 -05:00
jellyfin.env Remove env-var after moving web-files on Fedora 2022-06-15 23:12:12 +02:00
jellyfin.override.conf Port Fedora and CentOS builds and remove web build 2020-03-23 17:32:07 -04:00
jellyfin.service Add SuccessExitStatus for exit 143 2022-03-15 20:27:38 -04:00
jellyfin.spec Further cleanup of Fedora spec-file 2022-06-15 23:12:12 +02:00
jellyfin.sudoers Use a service unit, not a scope unit, to restart 2020-12-04 16:33:24 -08:00
restart.sh Use a service unit, not a scope unit, to restart 2020-12-04 16:33:24 -08:00

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