jellyfin/deployment/fedora-package-x64/pkg-src
Brian J. Murrell 4018b7e2d5 COPR auto building
This adds enhancements so that Fedora/EL packages can be automatically
built in COPR when a webhook is received.  A typical webhook could be
for tagging events for example or even a "Release" webhook to only
build releases.
2019-02-15 08:21:55 -05:00
..
.gitignore Moved rpm package and edited the package slightly, to build the project correctly. 2019-01-11 23:22:50 +01:00
jellyfin-firewalld.xml Fixed csproj and xml identation. 2019-01-19 15:01:16 +01:00
jellyfin.env Merge branch 'master' into fix-env 2019-02-03 22:34:40 -05:00
jellyfin.override.conf Moved rpm package and edited the package slightly, to build the project correctly. 2019-01-11 23:22:50 +01:00
jellyfin.service Handle new option parser properly 2019-02-03 20:57:07 -05:00
jellyfin.spec COPR auto building 2019-02-15 08:21:55 -05:00
jellyfin.sudoers Allow Fedora/CentOS mounting by default 2019-02-06 09:33:14 -05:00
README.md Moved rpm package and edited the package slightly, to build the project correctly. 2019-01-11 23:22:50 +01:00
restart.sh Moved rpm package and edited the package slightly, to build the project correctly. 2019-01-11 23:22:50 +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