aboutsummaryrefslogtreecommitdiff
path: root/fedora/README.md
diff options
context:
space:
mode:
authorDavid <daullmer@gmail.com>2020-06-14 12:49:43 +0200
committerDavid <daullmer@gmail.com>2020-06-14 12:49:43 +0200
commit8a8bf4b6866e804c60baace62dbda9b690c5ece7 (patch)
tree047d47638ba62138e6fe30a2eb22c3231b244e72 /fedora/README.md
parentfff3c789b98aad08f8ea66da275ff82c71dd8f2b (diff)
parent0011e8df47380936742302ef40639a4626a780ed (diff)
Merge remote-tracking branch 'upstream/api-migration' into api-sessionservice
Diffstat (limited to 'fedora/README.md')
-rw-r--r--fedora/README.md43
1 files changed, 43 insertions, 0 deletions
diff --git a/fedora/README.md b/fedora/README.md
new file mode 100644
index 0000000000..7ed6f7efc6
--- /dev/null
+++ b/fedora/README.md
@@ -0,0 +1,43 @@
+# 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
+```
+
+## 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.
+
+```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 \ No newline at end of file