2019-01-08 18:04:52 +00:00
|
|
|
# Jellyfin RPM
|
2019-01-05 10:14:24 +00:00
|
|
|
|
2019-01-08 18:04:52 +00:00
|
|
|
## 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`
|
2019-01-05 10:14:24 +00:00
|
|
|
|
|
|
|
## ffmpeg
|
|
|
|
|
2019-01-08 18:04:52 +00:00
|
|
|
The RPM package for Fedora/CentOS requires some additional repositories as ffmpeg is not in the main repositories.
|
2019-01-05 10:14:24 +00:00
|
|
|
|
|
|
|
```shell
|
|
|
|
# ffmpeg from RPMfusion free
|
|
|
|
# Fedora
|
|
|
|
$ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
|
2019-01-08 18:04:52 +00:00
|
|
|
# CentOS 7
|
2019-01-05 10:14:24 +00:00
|
|
|
$ sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
|
|
|
|
```
|
|
|
|
|
2019-01-05 20:30:45 +00:00
|
|
|
## ISO mounting
|
|
|
|
|
2019-01-08 18:04:52 +00:00
|
|
|
To allow Jellyfin to mount/umonut ISO files uncomment these two lines in `/etc/sudoers.d/jellyfin-sudoers`
|
2019-01-05 20:30:45 +00:00
|
|
|
```
|
|
|
|
# %jellyfin ALL=(ALL) NOPASSWD: /bin/mount
|
|
|
|
# %jellyfin ALL=(ALL) NOPASSWD: /bin/umount
|
|
|
|
```
|
2019-01-05 10:14:24 +00:00
|
|
|
|
|
|
|
## Building with dotnet
|
|
|
|
|
|
|
|
Jellyfin is build with `--self-contained` so no dotnet required for runtime.
|
|
|
|
|
|
|
|
```shell
|
|
|
|
# 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
|