28594ececa
Remove mount and unmount permissions for jellyfin group from sudoers Authored-by: Shadowghost <Ghost_of_Stone@web.de> Merged-by: Claus Vium <cvium@users.noreply.github.com> Original-merge: 9cebdfdec0ab9a7ae978b4ef1c117cb8867ab4ab
36 lines
951 B
Markdown
36 lines
951 B
Markdown
# 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.
|
|
|
|
```shell
|
|
# 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
|
|
```
|
|
|
|
## 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
|