This repo contains the packaging files needed to create RPM packages of jellyfin-ffmpeg for Fedora.
I unfortunately don't personally have the bandwidth to implement and maintain everything the other upstream packages have for other distros (eg. arm64 support). If anyone else is interested in contributing these scripts upstream though, please feel free to do so.
The jellyfin-ffmpeg.spec
file can be built like any ordinary RPM spec. To build it inside a mock
container:
-
Make sure the RPMFusion repos are enabled. The steps enable both the
free
andnonfree
repos by default, but jellyfin-ffmpeg only requiresfree
. -
Install mock and the config files for including the rpmfusion-free repos.
sudo dnf install rpmdevtools mock mock-rpmfusion-free
-
Ensure the current user is in the
mock
group.sudo gpasswd -a "${USER}" mock
-
Download the sources.
spectool -g jellyfin-ffmpeg.spec
-
Build an SRPM from the spec file and the sources.
fedora_ver=$(source /etc/os-release && echo "${VERSION_ID}") mock \ -r fedora-${fedora_ver}-x86_64-rpmfusion_free \ --resultdir results-srpm \ --buildsrpm \ --sources . \ --spec jellyfin-ffmpeg.spec
-
Build RPMs from the SRPM.
mock \ -r fedora-${fedora_ver}-x86_64-rpmfusion_free \ --resultdir results-rpm \ --rebuild results-srpm/*.src.rpm
The license of the packaging files is the same as the software being packaged.