[plex-media-player] Fixup md5
by Nicolas Chauvet
commit 3e0bba0383aecd362357c6a4d25314ffb740781e
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Sep 7 10:50:28 2019 +0200
Fixup md5
sources | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/sources b/sources
index c83c41b..dd0deca 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-0f3491b0833802a19aba98b9827b0d9fcc670e60a4de3ccc8b65f09224eecdf85fbc6b33d5f48391d2d70df19c1cee1542a9f77ab63c8bf1d4b4c4a9f1586a8e web-client-desktop-3.104.2-1b12c68.tar.xz
-3fecf3e52bdbda87300ed5117d07deba75d2852455980fbee58e84d2ce82bb487549736b4ce1f0b6c14c764fc16910a5041a954c94f7588d4a16b79cd2fb3ab6 plex-media-player-2.40.0.1007-5482132c.tar.gz
-7498f80bb9fa672947bca944a7ce3e183c4e5b33639c0369f9f4c216088fab48c9c0aa58c602aaa13e4668af75f9f95b5ab471d976d8d308e41f9b152b204a74 web-client-tv-4.3.0-4af7196.tar.xz
+9772838f53de4f72316252831a908a13 web-client-desktop-3.104.2-1b12c68.tar.xz
+e12e8721fcfbae94444fa7d929ef4736 plex-media-player-2.40.0.1007-5482132c.tar.gz
+6cd7319058050b236c595c08e8c54177 web-client-tv-4.3.0-4af7196.tar.xz
5 years, 3 months
[plex-media-player] Initial import for plex-media-player
by Nicolas Chauvet
commit e96b1dbdc5011f8413db89451fc6704945f6f13d
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Sep 7 10:46:09 2019 +0200
Initial import for plex-media-player
.gitignore | 3 +
buildid-141-4af71961b12c68.cmake | 3 +
plex-media-player.spec | 375 +++++++++++++++++++++++++
plexmediaplayer-standalone | 13 +
plexmediaplayer-standalone-enable | 65 +++++
plexmediaplayer.appdata.xml | 48 ++++
plexmediaplayer.desktop | 9 +
plexmediaplayer.pkla.disabled | 4 +
plexmediaplayer.pp | Bin 0 -> 953 bytes
plexmediaplayer.service | 14 +
plexmediaplayer.target | 8 +
plexmediaplayer.te | 14 +
sources | 3 +
web-client-desktop-3.104.2-1b12c68.tar.xz.sha1 | 1 +
web-client-tv-4.3.0-4af7196.tar.xz.sha1 | 1 +
15 files changed, 561 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..148d911 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,3 @@
+web-client-desktop-*.tar.xz
+plex-media-player-*.tar.gz
+web-client-tv-*.tar.xz
diff --git a/buildid-141-4af71961b12c68.cmake b/buildid-141-4af71961b12c68.cmake
new file mode 100644
index 0000000..6525679
--- /dev/null
+++ b/buildid-141-4af71961b12c68.cmake
@@ -0,0 +1,3 @@
+set(DESKTOP_VERSION 3.104.2-1b12c68)
+set(TV_VERSION 4.3.0-4af7196)
+set(TV-OLD_VERSION 3.13.3-5401c32)
diff --git a/plex-media-player.spec b/plex-media-player.spec
new file mode 100644
index 0000000..34ec883
--- /dev/null
+++ b/plex-media-player.spec
@@ -0,0 +1,375 @@
+%global plex_hash 2.40.0.1007-5482132c
+%global clients_hash 141-4af71961b12c68
+%global web_client_desktop 3.104.2-1b12c68
+%global web_client_tv 4.3.0-4af7196
+%global arti_url https://artifacts.plex.tv/web-client-pmp
+
+Name: plex-media-player
+Version: 2.40.0
+Release: 1%{?dist}
+Summary: Plex Media Player
+
+License: GPLv2+
+URL: https://plex.tv/
+Source0: https://github.com/plexinc/plex-media-player/archive/v%{plex_hash}/%{name...
+Source1: plexmediaplayer.desktop
+Source2: plexmediaplayer.appdata.xml
+Source3: plexmediaplayer.service
+Source4: plexmediaplayer.target
+Source5: plexmediaplayer.pkla.disabled
+Source6: plexmediaplayer-standalone
+Source7: plexmediaplayer.te
+Source8: plexmediaplayer.pp
+Source9: plexmediaplayer-standalone-enable
+
+Source90: %{arti_url}/%{clients_hash}/buildid.cmake#/buildid-%{clients_hash}.cmake
+Source91: %{arti_url}/%{clients_hash}/web-client-desktop-%{web_client_desktop}.tar.xz
+Source92: %{arti_url}/%{clients_hash}/web-client-desktop-%{web_client_desktop}.tar.xz.sha1
+Source93: %{arti_url}/%{clients_hash}/web-client-tv-%{web_client_tv}.tar.xz
+Source94: %{arti_url}/%{clients_hash}/web-client-tv-%{web_client_tv}.tar.xz.sha1
+
+# qtwebengine is not available there
+ExcludeArch: ppc64le
+
+BuildRequires: cmake3
+BuildRequires: ninja-build
+BuildRequires: libappstream-glib
+BuildRequires: desktop-file-utils
+
+BuildRequires: gcc
+BuildRequires: gcc-c++
+BuildRequires: libGL-devel
+BuildRequires: pkgconfig(libcec)
+BuildRequires: pkgconfig(libdrm)
+BuildRequires: pkgconfig(minizip)
+BuildRequires: pkgconfig(mpv)
+BuildRequires: pkgconfig(Qt5) >= 5.9.5
+BuildRequires: pkgconfig(Qt5Quick) >= 5.9.5
+BuildRequires: pkgconfig(Qt5WebChannel) >= 5.9.5
+BuildRequires: pkgconfig(Qt5WebEngine) >= 5.9.5
+BuildRequires: pkgconfig(Qt5X11Extras) >= 5.9.5
+BuildRequires: pkgconfig(sdl2)
+BuildRequires: pkgconfig(sm)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xrandr)
+BuildRequires: pkgconfig(zlib)
+
+# Original copr used that name - kept to ease searching
+Obsoletes: plexmediaplayer < 2.40.0
+Provides: plexmediaplayer = %{version}-%{release}
+Obsoletes: plex < %{version}-%{release}
+Provides: plex = %{version}-%{release}
+
+# For xdgscreensaver
+Requires: xdg-utils
+
+
+%description
+Plex Media Player - Client for Plex Media Server.
+
+%package session
+Summary: Plex Embedded Client
+# User creation.
+Requires(pre): shadow-utils
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description session
+This add-on to the %{name} package allows you to start the Plex Media
+Player in TV mode at boot for HTPC installations.
+
+
+%prep
+%autosetup -p1 -n %{name}-%{plex_hash}
+
+%build
+rm -Rf build
+mkdir -p build/dependencies
+install -p %{SOURCE90} build/dependencies/buildid-%{clients_hash}.cmake
+install -p %{SOURCE91} %{SOURCE92} %{SOURCE93} %{SOURCE94} build/dependencies/
+
+
+cd build
+%cmake3 \
+ -GNinja \
+ -DOpenGL_GL_PREFERENCE=GLVND \
+ -DQTROOT=%{_qt5_prefix} \
+ -DMPV_INCLUDE_DIR=%{_includedir}/mpv \
+ -DLINUX_DBUS=ON \
+ -DLINUX_X11POWER=ON \
+ ..
+
+%ninja_build
+
+
+%install
+cd build
+%ninja_install
+cd ..
+
+mkdir -p %{buildroot}%{_bindir}
+install -pm0755 build/src/plexmediaplayer %{buildroot}%{_bindir}/plexmediaplayer
+install -pm0755 build/src/pmphelper %{buildroot}%{_bindir}/pmphelper
+install -pm0755 %{SOURCE6} %{buildroot}%{_bindir}/plexmediaplayer-standalone
+
+mkdir -p %{buildroot}%{_datadir}/metainfo
+install -pm0644 %{SOURCE2} %{buildroot}%{_datadir}/metainfo/
+appstream-util validate-relax --nonet \
+ %{buildroot}%{_datadir}/metainfo/plexmediaplayer.appdata.xml
+
+mkdir -p %{buildroot}%{_datadir}/plexmediaplayer/selinux
+install -pm0644 %{SOURCE7} %{buildroot}%{_datadir}/plexmediaplayer/selinux/plexmediaplayer.te
+install -pm0644 %{SOURCE8} %{buildroot}%{_datadir}/plexmediaplayer/selinux/plexmediaplayer.pp
+
+mkdir -p %{buildroot}%{_datadir}/plexmediaplayer
+install -pm0755 %{SOURCE9} \
+ %{buildroot}%{_datadir}/plexmediaplayer/plexmediaplayer-standalone-enable
+
+mkdir -p %{buildroot}%{_prefix}/lib/systemd/system
+install -pm0644 %{SOURCE3} %{buildroot}%{_prefix}/lib/systemd/system/plexmediaplayer.service
+install -pm0644 %{SOURCE4} %{buildroot}%{_prefix}/lib/systemd/system/plexmediaplayer.target
+
+mkdir -p %{buildroot}%{_sysconfdir}/polkit-1/localauthority/50-local.d
+install -pm0644 %{SOURCE5} \
+ %{buildroot}%{_sysconfdir}/polkit-1/localauthority/50-local.d/plexmediaplayer.pkla.disabled
+
+desktop-file-install \
+ --dir=%{buildroot}%{_datadir}/applications \
+ %{SOURCE1}
+
+mkdir -p %{buildroot}%{_sharedstatedir}/plex-media-player
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
+fi
+update-mime-database %{_datadir}/mime &> /dev/null
+update-desktop-database &> /dev/null || :
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
+fi
+update-mime-database %{_datadir}/mime &> /dev/null
+update-desktop-database &> /dev/null || :
+
+%pre session
+# Rename plexmediaplayer to plex-media-player
+%{_bindir}/getent passwd plexmediaplayer >/dev/null && \
+ /sbin/usermod -m -l plex-media-player \
+ -d %{_sharedstatedir}/plex-media-player -s /sbin/nologin
+ -c "Plex Media Player (Standalone)" plex-media-player
+
+# Create "plex-media-player" if it not already exists.
+#
+# NEVER delete an user or group created by an RPM package. See:
+# https://fedoraproject.org/wiki/Packaging:UsersAndGroups#Allocation_Strate...
+%{_bindir}/getent passwd plex-media-player >/dev/null || \
+ /sbin/useradd -r -G dialout,video,lock,audio \
+ -d %{_sharedstatedir}/plex-media-player -s /sbin/nologin \
+ -c "Plex Media Player (Standalone)" plex-media-player
+
+%post session
+%systemd_post %{name}.service
+
+%preun session
+%systemd_preun %{name}.service
+
+%postun session
+%systemd_postun %{name}.service
+
+
+%files
+%{_bindir}/plexmediaplayer
+%{_bindir}/pmphelper
+%{_bindir}/plexmediaplayer-standalone
+%{_sysconfdir}/polkit-1/localauthority/50-local.d/plexmediaplayer.pkla.disabled
+%{_prefix}/lib/systemd/system/plexmediaplayer.service
+%{_prefix}/lib/systemd/system/plexmediaplayer.target
+%{_datadir}/metainfo/plexmediaplayer.appdata.xml
+%{_datadir}/applications/plexmediaplayer.desktop
+%{_datadir}/icons/hicolor/scalable/apps/plexmediaplayer.svg
+%{_datadir}/plexmediaplayer/plexmediaplayer-standalone-enable
+%{_datadir}/plexmediaplayer/selinux/plexmediaplayer.te
+%{_datadir}/plexmediaplayer/selinux/plexmediaplayer.pp
+%{_datadir}/plexmediaplayer/web-client/*
+%attr(0750,plex-media-player,plex-media-player) %{_sharedstatedir}/plex-media-player
+
+
+%changelog
+* Fri Aug 23 2019 Nicolas Chauvet <kwizart(a)gmail.com> - 2.40.0-1
+- Rework spec file
+- Bundle web-client-desktop/tv to avoid net access
+
+* Thu May 23 2019 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.34.0-1
+- Added a new base background image
+- Preview Plex's new PMP experience with many major enhancements including:
+ customizable / always accessible sidebar navigation, ability to pin and
+ reorder your favorite libraries to the sidebar, quick access to all of your
+ media through the "More" menu item, redesigned tab views that remember your
+ previous view within each library, acustomizable home screen including pinning
+ content rows from any library to home
+- Fixed missing news hubs
+- Fixed titles missing for music videos in playlist
+
+* Thu May 02 2019 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.33.1-1
+- Fixed blurry letter avatar in user menu
+- Fixed text getting cut off in related hubs
+- Fixed user avatar not appearing in playlists with shared content
+- Fixed quick links hubs not correctly positioned with line borders
+- Fixed On Right Now hub for Live TV not showing "More..." button
+- Fixed loss of focus when only server goes offline
+
+* Thu Apr 18 2019 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.32.0-1
+- Fixed user icon in settings modal displaying square instead of round initially
+
+* Tue Apr 02 2019 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.31.0-1
+- Added subtitles offset controls for external subtitle files
+- Fixed podcasts related episodes getting cut off
+- Fixed user ratings showing the wrong value on the extended info screen
+
+* Wed Mar 27 2019 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.30.1-1
+- Fixed dashboard not loading when one or more Online Media Sources is disabled
+
+* Mon Mar 25 2019 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.30.0-1
+- Desktop web-client updated to 3.83.2
+- Fixed playing media when controlled by remote player
+- Fixed positioning of poster/text in Live TV conflict items
+- Fixed regression with search shortcut
+- Fixed issue changing audio or subtitles during playback of multi-part files
+- Fixed focus order issue on photo tag page
+- Fixed missing Playlists link for Other Videos
+- Fixed an issue that prevented playing tracks on playlists with items of
+ different sources
+
+* Sat Mar 09 2019 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.29.1-1
+- Fixed an issue where search results would come from local machine’s server
+ instead of specified server
+- Fixed an issue where selecting a search result would open a blank page
+
+* Wed Mar 06 2019 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.29.0-1
+- Renamed 'More...' subtitles option to 'Search...'
+- Fixed image not loading in actions modal during playback
+- Fixed an issue where the wrong images could be displayed for items played
+ from other shared or own servers
+- Fixed an issue where focus could be lost after reordering types or changing
+ types visibility
+- Fixed loss of focus on My Webshows/Podcasts when one or more is removed
+- Fixed companion pre-play being lost after companion playback
+- Fixed an issue where focus could be lost on back navigation
+- Fixed regression that caused videos with AC3 audio tracks to direct play and
+ result in no sound
+
+* Fri Feb 22 2019 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.28.0-1
+- We've updated our tooling to provide an improved user experience
+- AAC audio streams are no longer automatically converted to AC3, EAC3, or DTS
+ during Direct Stream or Transcode when the related Settings > Audio setting is
+ enabled. Instead they will play without conversion
+- Fixed loss of focus when going to an empty web shows page
+- Fixed navigation order after switching to the admin user
+- Fixed News and Podcasts directories so they don't touch navigation bar
+- Fixed extended info poster not positioned properly
+
+* Sat Feb 16 2019 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.27.0-1
+- Desktop web-client updated to 3.83.1
+- Support translation of relative time strings
+- Adjusted library page jump bar so more characters can be shown
+- Changed user menu from dropdown to full screen modal
+- Fixed playback controls not showing the correct duration when
+ lightweight seeking
+- Fixed possible endless spinner when downloading subtitles
+- Fixed player controls sometimes not closing when playing from companion app
+
+* Wed Jan 23 2019 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.26.0-1
+- Added actions menu to Web Shows and Podcasts show preplay pages
+- Added Chapter Selection title to chapter selection menu
+- Don't show "More..." button when there is only one more item
+- Fixed possible error on user switcher screen
+- Fixed chapter selection sometimes losing focus at the end of the list
+- Fixed Live TV restarting from another position when enabling or
+ disabling Closed Captioning
+- Fixed some issues with video transcoding when it can direct stream
+
+* Fri Jan 11 2019 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.25.0-1
+- Desktop web-client updated to 3.77.4
+- Added extended artist biography on artist preplay
+- Fixed podcast/web show episodes being marked as played as soon as playback
+ is initiated
+- Fixed app settings sometimes wrongly showing an item as selected
+- Fixed media provider hubs occasionaly not loading
+- Fixed an issue where the application could show a blank screen when all
+ servers are unavailable
+
+* Tue Dec 18 2018 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.24.0-1
+- Fixed an issue where signing out or switching users could cause the app to
+ freeze
+- Fixed an issue where the app could crash when loading a type view
+- Fixed an issue where focus would be lost after removing the last item from a
+ list
+- Fixed as issue where enabling recording all episodes for certain shows could
+ return in nothing getting added to the priority list
+- Fixed an issue that could cause a blank screen to appear after playback
+- Fixed loss of focus on episode preplay in some cases
+
+* Mon Dec 03 2018 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.23.0-1
+- Desktop web-client updated to 3.77.2
+- Updated look of playlist/collection posters
+- Managed users can no longer change the Automatically Sign In setting
+- Improved image upscale quality for episode posters
+- Fixed sorting/filtering being reset when deleting item
+
+* Mon Nov 26 2018 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.22.1-1
+- Added recording progress to recording schedule
+- Subtitles search modal UI changes
+- Fixed player control state when playback starts or pauses without
+ application control
+- Fixed case where focus was lost when navigating back after changing
+ list styles
+- Fixed play queue starting playback automatically when app is reopened
+- Fixed non-functional action buttons on preplay pages in some circumstances
+- Fixed case where focus could be lost when navigating into the dashboard
+ types header
+- Fixed unavailable indicator on preplay pages when media item file
+ is unavailable
+
+* Tue Oct 30 2018 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.21.0-1
+- Improvements to subtitles search results titles
+- Added new music player UI for podcasts
+- Added Related Episodes hub underneath the Podcasts player
+- Watch Later and Recommended support has been removed. Please see:
+ plex.tv/blog/subtitles-and-sunsets-big-improvements-little-housekeeping
+- Fixed occasional loss of focus on library page when applying “unplayed” filter
+- Fixed settings failing to open in some circumstances
+- Fixed zip code not disappearing in News settings after selecting a country
+ that doesn’t have zip codes
+- Fixed selecting a play queue item occasionally not starting playback
+
+* Wed Oct 03 2018 Jonathan Leroy <jonathan(a)harrycow.fr> - 2.20.0-1
+- Desktop web-client updated to 3.71.1
+- Improved stream titles (requires PMS 1.13.8 or higher)
+- Block app key shortcuts when entering subtitles search title
+- Sped up initial loading dashboard
+- Fixed blinking thumbnails when moving between items in photo player
+- Fixed missing empty dashboard message for managed/shared users with
+ restrictions
+- Fixed background being lost when navigating away from news player
+- Fixed some edge cases around deleting media that could cause the app to become
+ unresponsive
+- Fixed Chapter Selection focus box not showing sometimes
+- Fixed occasional unexpected focused element in app settings modal after
+ closing via pointer click
+- Fixed some navigation bugs in home screen media types settings
+- Fixed settings changes not being immediately visible in the UI
+- Fixed pressing seek buttons during music playback making it impossible to
+ bring up player controls afterwards
+- Fixed subtitles search modal title button width changing when focused
+- Fixed news ads playback putting the app in a broken state
+- Fixed progress bar being focusable during ads playback
+- Fixed news tags and news feed being visible during ads playback
+- Fixed news feed being slightly cut off at the bottom
+- Fixed issue preventing companion commands
+- Fixed display issues with long stream titles on preplay pages
+
diff --git a/plexmediaplayer-standalone b/plexmediaplayer-standalone
new file mode 100644
index 0000000..624b8a1
--- /dev/null
+++ b/plexmediaplayer-standalone
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+main() {
+ /usr/bin/xinit /usr/bin/plexmediaplayer --tv --scale-factor=1.5 -- -nocursor :0 -nolisten tcp -s off
+
+ local excode=$?
+ if [[ "${excode}" == "0" ]]
+ then
+ /usr/sbin/poweroff
+ fi
+}
+
+main
diff --git a/plexmediaplayer-standalone-enable b/plexmediaplayer-standalone-enable
new file mode 100644
index 0000000..c446869
--- /dev/null
+++ b/plexmediaplayer-standalone-enable
@@ -0,0 +1,65 @@
+#!/bin/bash
+
+main() {
+ # Checking for root privileges.
+ if [[ "${EUID}" != "0" ]]
+ then
+ echo "This script must be run as root user."
+ echo "Please use the following command to run this script with the required privileges:"
+ echo ""
+ echo " sudo ${0}"
+ echo ""
+
+ exit 1
+ fi
+
+ # A little warning.
+ echo "WARNING: This script will configure your system to launch Plex Media"
+ echo "Player on startup instead of your current window manager."
+ echo ""
+ read -p "Are you sure you want to do this? [y/N] " -n 1 -r
+ echo ""
+ if ! [[ "${REPLY}" =~ ^[Yy]$ ]]
+ then
+ exit 1
+ fi
+
+ # Check if Xwrapper.config exists.
+ local x11edit=0
+ if [ ! -f /etc/X11/Xwrapper.config ]
+ then
+ echo 'allowed_users = anybody' > /etc/X11/Xwrapper.config
+ else
+ x11edit=1
+ fi
+
+ # Disable current window manager.
+ /usr/bin/rm -f /etc/systemd/system/default.target
+
+ # Set PMP as default window manager.
+ /usr/bin/ln -s /usr/lib/systemd/system/plexmediaplayer.target /etc/systemd/system/default.target
+
+ # Allow Plex Media Player to shutdown device.
+ /usr/bin/cp -f /etc/polkit-1/localauthority/50-local.d/plexmediaplayer.pkla.disabled /etc/polkit-1/localauthority/50-local.d/plexmediaplayer.pkla
+
+ # Loading SELinux policy.
+ if [[ -x /usr/sbin/semodule ]]
+ then
+ /usr/sbin/semodule -i /usr/share/plexmediaplayer/selinux/plexmediaplayer.pp
+ fi
+
+ echo "Done!"
+
+ if [[ "${x11edit}" != "0" ]]
+ then
+ echo ""
+ echo "WARNING: File /etc/X11/Xwrapper.config already exists."
+ echo "You MUST add \"allowed_users = anybody\" to it if not already present."
+ fi
+
+ echo ""
+ echo "Reboot your device to enjoy standalone Plex Media Player!"
+ echo ""
+}
+
+main
diff --git a/plexmediaplayer.appdata.xml b/plexmediaplayer.appdata.xml
new file mode 100644
index 0000000..05ccd18
--- /dev/null
+++ b/plexmediaplayer.appdata.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- © 2016 Jonathan Leroy <jonathan(a)harrycow.fr> -->
+<component type="desktop">
+ <id>plexmediaplayer.desktop</id>
+ <metadata_license>CC-BY-SA-3.0</metadata_license>
+ <project_license>GPL-2.0</project_license>
+ <name>Plex Media Player</name>
+ <name xml:lang="fr">Plex Media Player</name>
+ <summary>Official desktop client for Plex Media Server</summary>
+ <summary xml:lang="fr">Le client Plex Media Server officiel sur ordinateur</summary>
+ <description>
+ <p>The best Plex Media Server client for your computer, by Plex Inc. For the ultimate experience, install Plex Media Player on a dedicated computer for your TV. It's optimized for the big screen and supports a wide variety of formats with high-definition audio, native framerates, and more.</p>
+ <p xml:lang="fr">Le meilleur client Plex Media Server pour votre ordinateur, par Plex Inc. Pour une expérience optimale, il est conseillé d'installer Plex Media Player sur ordinateur dédié relié à votre télévision. L'interface est optimisée pour les grands écrans et supporte une large variété de formats avec audio haute-définition, framerate natif, et bien plus encore.</p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>http://i.imgur.com/0QuZ2kd.png</image>
+ <caption>Last added and recently palyed movies</caption>
+ <caption xml:lang="fr">Vidéos en cours et récemment ajoutées</caption>
+ </screenshot>
+ <screenshot>
+ <image>http://i.imgur.com/YAx4IaH.png</image>
+ <caption>Seasons list</caption>
+ <caption xml:lang="fr">Liste des saisons</caption>
+ </screenshot>
+ <screenshot>
+ <image>http://i.imgur.com/R55AYmd.png</image>
+ <caption>Episodes list</caption>
+ <caption xml:lang="fr">Liste des épisodes</caption>
+ </screenshot>
+ <screenshot>
+ <image>http://i.imgur.com/Mj5YdWg.png</image>
+ <caption>Episode details</caption>
+ <caption xml:lang="fr">Détail de l'épisode</caption>
+ </screenshot>
+ <screenshot>
+ <image>http://i.imgur.com/FooChTn.png</image>
+ <caption>Playing a movie</caption>
+ <caption xml:lang="fr">Lecture d'une vidéo</caption>
+ </screenshot>
+ </screenshots>
+ <url type="homepage">https://plex.tv</url>
+ <updatecontact>jonathan(a)harrycow.fr</updatecontact>
+ <developer_name>Plex, Inc.</developer_name>
+ <url type="bugtracker">https://forums.plex.tv/discussion/200993/plex-media-player-and-qt-5-6-rpm...</url>
+ <url type="donation">https://plex.tv/subscription/about</url>
+ <url type="help">https://forums.plex.tv/discussion/200993/plex-media-player-and-qt-5-6-rpm...</url>
+</component>
diff --git a/plexmediaplayer.desktop b/plexmediaplayer.desktop
new file mode 100644
index 0000000..82df9cb
--- /dev/null
+++ b/plexmediaplayer.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Plex Media Player
+Exec=/usr/bin/plexmediaplayer
+Icon=plexmediaplayer
+Terminal=false
+Type=Application
+Categories=AudioVideo;
+StartupNotify=true
+
diff --git a/plexmediaplayer.pkla.disabled b/plexmediaplayer.pkla.disabled
new file mode 100644
index 0000000..abbdb6a
--- /dev/null
+++ b/plexmediaplayer.pkla.disabled
@@ -0,0 +1,4 @@
+[Actions for Plex Media Player]
+Identity=unix-user:plexmediaplayer
+Action=org.freedesktop.login1.power-off
+ResultAny=yes
diff --git a/plexmediaplayer.pp b/plexmediaplayer.pp
new file mode 100644
index 0000000..8509392
Binary files /dev/null and b/plexmediaplayer.pp differ
diff --git a/plexmediaplayer.service b/plexmediaplayer.service
new file mode 100644
index 0000000..bdeab74
--- /dev/null
+++ b/plexmediaplayer.service
@@ -0,0 +1,14 @@
+[Unit]
+Description = Plex Media Player (Standalone)
+After = network-online.target remote-fs.target systemd-user-sessions.service
+
+[Service]
+User = plexmediaplayer
+Group = plexmediaplayer
+PAMName = login
+Type = simple
+ExecStart = /usr/bin/plexmediaplayer-standalone
+Restart = on-abort
+
+[Install]
+WantedBy = multi-user.target
diff --git a/plexmediaplayer.target b/plexmediaplayer.target
new file mode 100644
index 0000000..2ed73a5
--- /dev/null
+++ b/plexmediaplayer.target
@@ -0,0 +1,8 @@
+[Unit]
+Description=Graphical Interface
+Documentation=man:systemd.special(7)
+Requires=multi-user.target network-online.target remote-fs.target
+After=multi-user.target network-online.target remote-fs.target
+Conflicts=rescue.target
+Wants=plexmediaplayer.service
+AllowIsolate=yes
diff --git a/plexmediaplayer.te b/plexmediaplayer.te
new file mode 100644
index 0000000..285de03
--- /dev/null
+++ b/plexmediaplayer.te
@@ -0,0 +1,14 @@
+
+module plexmediaplayer 1.0;
+
+require {
+ type init_t;
+ type unconfined_t;
+ class process transition;
+}
+
+#============= init_t ==============
+
+#!!!! The file '/usr/bin/plexmediaplayer-standalone' is mislabeled on your system.
+#!!!! Fix with $ restorecon -R -v /usr/bin/plexmediaplayer-standalone
+allow init_t unconfined_t:process transition;
diff --git a/sources b/sources
index e69de29..c83c41b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,3 @@
+0f3491b0833802a19aba98b9827b0d9fcc670e60a4de3ccc8b65f09224eecdf85fbc6b33d5f48391d2d70df19c1cee1542a9f77ab63c8bf1d4b4c4a9f1586a8e web-client-desktop-3.104.2-1b12c68.tar.xz
+3fecf3e52bdbda87300ed5117d07deba75d2852455980fbee58e84d2ce82bb487549736b4ce1f0b6c14c764fc16910a5041a954c94f7588d4a16b79cd2fb3ab6 plex-media-player-2.40.0.1007-5482132c.tar.gz
+7498f80bb9fa672947bca944a7ce3e183c4e5b33639c0369f9f4c216088fab48c9c0aa58c602aaa13e4668af75f9f95b5ab471d976d8d308e41f9b152b204a74 web-client-tv-4.3.0-4af7196.tar.xz
diff --git a/web-client-desktop-3.104.2-1b12c68.tar.xz.sha1 b/web-client-desktop-3.104.2-1b12c68.tar.xz.sha1
new file mode 100644
index 0000000..2723e26
--- /dev/null
+++ b/web-client-desktop-3.104.2-1b12c68.tar.xz.sha1
@@ -0,0 +1 @@
+33a31fd690d0bad522eca39b37a22cac7095e1e1
\ No newline at end of file
diff --git a/web-client-tv-4.3.0-4af7196.tar.xz.sha1 b/web-client-tv-4.3.0-4af7196.tar.xz.sha1
new file mode 100644
index 0000000..e227f29
--- /dev/null
+++ b/web-client-tv-4.3.0-4af7196.tar.xz.sha1
@@ -0,0 +1 @@
+1b20bfc4f3cca5b06aff5c64e42ff601b3ee23ef
\ No newline at end of file
5 years, 3 months
[steam/el8: 2/2] Firewall rules are now included in base firewalld also on RHEL/CentOS 7
by Simone Caronni
commit 454424c38d25eb0745488b8600cd12e899060a25
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Sat Sep 7 08:45:09 2019 +0200
Firewall rules are now included in base firewalld also on RHEL/CentOS 7
steam-streaming.xml | 9 ---------
steam.spec | 17 ++++-------------
2 files changed, 4 insertions(+), 22 deletions(-)
---
diff --git a/steam.spec b/steam.spec
index 3f0ed4a..982f1f3 100644
--- a/steam.spec
+++ b/steam.spec
@@ -3,7 +3,7 @@
Name: steam
Version: 1.0.0.61
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file
License: Steam License Agreement
@@ -13,7 +13,6 @@ ExclusiveArch: i686
Source0: http://repo.steampowered.com/%{name}/pool/%{name}/s/%{name}/%{name}_%{ver...
Source1: %{name}.sh
Source2: %{name}.csh
-Source3: %{name}-streaming.xml
Source4: %{name}.appdata.xml
Source5: README.Fedora
@@ -37,7 +36,6 @@ Patch0: %{name}-3570.patch
Patch1: %{name}-3273.patch
BuildRequires: desktop-file-utils
-BuildRequires: firewalld-filesystem
BuildRequires: systemd
# Required to run the initial setup
@@ -147,11 +145,6 @@ install -m 644 -p lib/udev/rules.d/* \
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
-%if 0%{?fedora} && 0%{?fedora} < 29 || 0%{?rhel} == 7
-install -D -m 644 -p %{SOURCE3} \
- %{buildroot}%{_prefix}/lib/firewalld/services/%{name}-streaming.xml
-%endif
-
# Environment files
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
install -pm 644 %{SOURCE1} %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d
@@ -170,7 +163,6 @@ install -m 644 -p %{SOURCE7} %{buildroot}%{_prefix}/lib/systemd/user.conf.d/
%post
%if 0%{?fedora} && 0%{?fedora} < 29 || 0%{?rhel} == 7
-%firewalld_reload
%endif
%if 0%{?rhel} == 7
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@@ -203,10 +195,6 @@ fi
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
%{_udevrulesdir}/*
-%if 0%{?fedora} && 0%{?fedora} < 29 || 0%{?rhel} == 7
-%{_prefix}/lib/firewalld/services/%{name}-streaming.xml
-%endif
-
# Since F30 (systemd 240) we don't need to raise NOFILE limit
%if 0%{?fedora} && 0%{?fedora} < 30
%{_prefix}/lib/systemd/system.conf.d/
@@ -216,6 +204,9 @@ fi
%endif
%changelog
+* Sat Sep 07 2019 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.61-4
+- Firewall rules are now included in base firewalld also on RHEL/CentOS 7.
+
* Sat Aug 10 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 1.0.0.61-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5 years, 3 months