[plex-media-player] Remove obsolete scriplets and clean up
by Leigh Scott
commit da3271787d35a1ddf5cb59082104fda8c26276cd
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Nov 8 10:47:52 2019 +0000
Remove obsolete scriplets and clean up
plex-media-player.spec | 21 ++-------------------
1 file changed, 2 insertions(+), 19 deletions(-)
---
diff --git a/plex-media-player.spec b/plex-media-player.spec
index 09584b0..f7244ba 100644
--- a/plex-media-player.spec
+++ b/plex-media-player.spec
@@ -70,7 +70,8 @@ Provides: plexmediaplayer = %{version}-%{release}
Obsoletes: plex < %{version}-%{release}
Provides: plex = %{version}-%{release}
-Requires: qt5-qtquickcontrols >= 5.6
+# Needed for qtquick interfaces
+Requires: qt5-qtquickcontrols%{_isa} >= 5.9.5
# For xdgscreensaver
Requires: xdg-utils
@@ -150,24 +151,6 @@ desktop-file-install \
mkdir -p %{buildroot}%{_sharedstatedir}/plex-media-player
-%if 0%{?rhel} == 7
-%postgit commit -a -m 'Fix directory ownership and move standalone files to session sub-package'
-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 || :
-%endif
-
%pre session
# Rename plexmediaplayer to plex-media-player
%{_bindir}/getent passwd plexmediaplayer >/dev/null && \
4 years, 11 months
[plex-media-player] Use build requires systemd-rpm-macros for fedora
by Leigh Scott
commit dfaf055ca2b978e435c3f866cda95508fb9743c6
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Nov 8 10:46:12 2019 +0000
Use build requires systemd-rpm-macros for fedora
plex-media-player.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/plex-media-player.spec b/plex-media-player.spec
index 6b1fda9..09584b0 100644
--- a/plex-media-player.spec
+++ b/plex-media-player.spec
@@ -36,8 +36,11 @@ BuildRequires: ninja-build
BuildRequires: libappstream-glib
BuildRequires: desktop-file-utils
BuildRequires: python3
+%if 0%{?fedora}
+BuildRequires: systemd-rpm-macros
+%else
BuildRequires: systemd
-
+%endif
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: libGL-devel
@@ -148,7 +151,7 @@ desktop-file-install \
mkdir -p %{buildroot}%{_sharedstatedir}/plex-media-player
%if 0%{?rhel} == 7
-%post
+%postgit commit -a -m 'Fix directory ownership and move standalone files to session sub-package'
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
4 years, 11 months
[plex-media-player] Fix directory ownership and move standalone files to session sub-package
by Leigh Scott
commit 7079fc030cefebe77f2ff7e81355ca1962081d24
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Nov 8 10:44:54 2019 +0000
Fix directory ownership and move standalone files to session sub-package
plex-media-player.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/plex-media-player.spec b/plex-media-player.spec
index cd7254d..6b1fda9 100644
--- a/plex-media-player.spec
+++ b/plex-media-player.spec
@@ -195,18 +195,19 @@ update-desktop-database &> /dev/null || :
%license LICENSE
%{_bindir}/plexmediaplayer
%{_bindir}/pmphelper
-%{_bindir}/plexmediaplayer-standalone
%{_metainfodir}/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
+%dir %{_datadir}/plexmediaplayer/
%{_datadir}/plexmediaplayer/web-client/*
%files session
%attr(0750,plex-media-player,plex-media-player) %{_sharedstatedir}/plex-media-player
%{_sysconfdir}/polkit-1/localauthority/50-local.d/plexmediaplayer.pkla.disabled
+%{_bindir}/plexmediaplayer-standalone
+%{_datadir}/plexmediaplayer/plexmediaplayer-standalone-enable
+%{_datadir}/plexmediaplayer/selinux/plexmediaplayer.te
+%{_datadir}/plexmediaplayer/selinux/plexmediaplayer.pp
%{_unitdir}/%{name}.service
%{_unitdir}/%{name}.target
4 years, 11 months
[plex-media-player/f29] (4 commits) ...Update to 2.44.0
by Leigh Scott
Summary of changes:
ee365aa... Fix systemd service name (*)
cd597f1... Fix scriptlet (*)
a954883... Add missing requires qt5-qtquickcontrols (*)
3e24660... Update to 2.44.0 (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 12 months
[plex-media-player/f30] (4 commits) ...Update to 2.44.0
by Leigh Scott
Summary of changes:
ee365aa... Fix systemd service name (*)
cd597f1... Fix scriptlet (*)
a954883... Add missing requires qt5-qtquickcontrols (*)
3e24660... Update to 2.44.0 (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 12 months
[plex-media-player/f31] (4 commits) ...Update to 2.44.0
by Leigh Scott
Summary of changes:
ee365aa... Fix systemd service name (*)
cd597f1... Fix scriptlet (*)
a954883... Add missing requires qt5-qtquickcontrols (*)
3e24660... Update to 2.44.0 (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 12 months
[plex-media-player] Update to 2.44.0
by Leigh Scott
commit 3e24660c7e1c68c7b5861da3440fc1f9293c5b9b
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Nov 7 23:08:28 2019 +0000
Update to 2.44.0
...71961b12c68.cmake => buildid-151-ce86ded1b12c68.cmake | 4 ++--
plex-media-player.spec | 16 +++++++++++-----
sources | 6 +++---
web-client-desktop-3.104.2-1b12c68.tar.xz.sha1 | 2 +-
web-client-tv-4.11.1-ce86ded.tar.xz.sha1 | 1 +
web-client-tv-4.3.0-4af7196.tar.xz.sha1 | 1 -
6 files changed, 18 insertions(+), 12 deletions(-)
---
diff --git a/buildid-141-4af71961b12c68.cmake b/buildid-151-ce86ded1b12c68.cmake
similarity index 69%
rename from buildid-141-4af71961b12c68.cmake
rename to buildid-151-ce86ded1b12c68.cmake
index 6525679..32f2770 100644
--- a/buildid-141-4af71961b12c68.cmake
+++ b/buildid-151-ce86ded1b12c68.cmake
@@ -1,3 +1,3 @@
-set(DESKTOP_VERSION 3.104.2-1b12c68)
-set(TV_VERSION 4.3.0-4af7196)
+set(TV_VERSION 4.11.1-ce86ded)
set(TV-OLD_VERSION 3.13.3-5401c32)
+set(DESKTOP_VERSION 3.104.2-1b12c68)
diff --git a/plex-media-player.spec b/plex-media-player.spec
index e9f46fe..cd7254d 100644
--- a/plex-media-player.spec
+++ b/plex-media-player.spec
@@ -1,12 +1,12 @@
-%global plex_hash 2.40.0.1007-5482132c
-%global clients_hash 141-4af71961b12c68
+%global plex_hash 2.44.0.1018-8f77cbb9
+%global clients_hash 151-ce86ded1b12c68
%global web_client_desktop 3.104.2-1b12c68
-%global web_client_tv 4.3.0-4af7196
+%global web_client_tv 4.11.1-ce86ded
%global arti_url https://artifacts.plex.tv/web-client-pmp
Name: plex-media-player
-Version: 2.40.0
-Release: 2%{?dist}
+Version: 2.44.0
+Release: 1%{?dist}
Summary: Plex Media Player
License: GPLv2+
@@ -211,6 +211,12 @@ update-desktop-database &> /dev/null || :
%{_unitdir}/%{name}.target
%changelog
+* Thu Nov 07 2019 Leigh Scott <leigh123linux(a)gmail.com> - 2.44.0-1
+- Update to 2.44.0
+- Fix systemd service name
+- Fix scriptlet
+- Add missing requires qt5-qtquickcontrols
+
* Wed Nov 06 2019 Leigh Scott <leigh123linux(a)gmail.com> - 2.40.0-2
- Add lost session sub-package (rfbz#54430)
- Add license
diff --git a/sources b/sources
index dd0deca..c35a881 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-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
+SHA512 (plex-media-player-2.44.0.1018-8f77cbb9.tar.gz) = 46c13805c947635477454b2d156e5a24b2886e51c87be8977a4306a6fa457b48367bf6b860c475b834261679a1e23c2be67ef98c57cf78a6ebc750327647da6b
+SHA512 (web-client-desktop-3.104.2-1b12c68.tar.xz) = 6c78635b3dac85278274de100b6f286a9b27475d298175e0290d65e32d3af027ce71fe41a3a398e1f2a7704e3ef3a0c367f8843311e1addef3abdf9b38875b4c
+SHA512 (web-client-tv-4.11.1-ce86ded.tar.xz) = a86432c6be63593def152cc122f8891740cb1b99efc02e712bdeb32a6bfeb7735c05436f5772fbbb88297f7b7a94eb2b56e3d745d7644c0f4cca627de5bb07bc
diff --git a/web-client-desktop-3.104.2-1b12c68.tar.xz.sha1 b/web-client-desktop-3.104.2-1b12c68.tar.xz.sha1
index 2723e26..f88bea8 100644
--- a/web-client-desktop-3.104.2-1b12c68.tar.xz.sha1
+++ b/web-client-desktop-3.104.2-1b12c68.tar.xz.sha1
@@ -1 +1 @@
-33a31fd690d0bad522eca39b37a22cac7095e1e1
\ No newline at end of file
+10a0fab1d9d50ddeb3bd5ac4f604142fbc58c82c
\ No newline at end of file
diff --git a/web-client-tv-4.11.1-ce86ded.tar.xz.sha1 b/web-client-tv-4.11.1-ce86ded.tar.xz.sha1
new file mode 100644
index 0000000..5784df8
--- /dev/null
+++ b/web-client-tv-4.11.1-ce86ded.tar.xz.sha1
@@ -0,0 +1 @@
+d6799238ad7e3eb8ba0329fb20f8f31fc88de409
\ No newline at end of file
4 years, 12 months
[plex-media-player] Add missing requires qt5-qtquickcontrols
by Leigh Scott
commit a954883e371daeaed42000fd14cf19b71f99bf47
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Nov 7 22:16:39 2019 +0000
Add missing requires qt5-qtquickcontrols
plex-media-player.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/plex-media-player.spec b/plex-media-player.spec
index 249604c..e9f46fe 100644
--- a/plex-media-player.spec
+++ b/plex-media-player.spec
@@ -67,6 +67,8 @@ Provides: plexmediaplayer = %{version}-%{release}
Obsoletes: plex < %{version}-%{release}
Provides: plex = %{version}-%{release}
+Requires: qt5-qtquickcontrols >= 5.6
+
# For xdgscreensaver
Requires: xdg-utils
4 years, 12 months
[plex-media-player] Fix scriptlet
by Leigh Scott
commit cd597f1a12d6ba1a99924ef379069608d5586d53
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Nov 7 22:15:29 2019 +0000
Fix scriptlet
plex-media-player.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plex-media-player.spec b/plex-media-player.spec
index 1ac1dd9..249604c 100644
--- a/plex-media-player.spec
+++ b/plex-media-player.spec
@@ -167,7 +167,7 @@ update-desktop-database &> /dev/null || :
# 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
+ -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.
4 years, 12 months
[plex-media-player] Fix systemd service name
by Leigh Scott
commit ee365aa5fa5972afeb97a68e0c69c8f1c5aad4fd
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Nov 7 22:14:35 2019 +0000
Fix systemd service name
plex-media-player.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plex-media-player.spec b/plex-media-player.spec
index 8ebb2c3..1ac1dd9 100644
--- a/plex-media-player.spec
+++ b/plex-media-player.spec
@@ -132,8 +132,8 @@ install -pm0755 %{SOURCE9} \
%{buildroot}%{_datadir}/plexmediaplayer/plexmediaplayer-standalone-enable
mkdir -p %{buildroot}%{_unitdir}
-install -pm0644 %{SOURCE3} %{buildroot}%{_unitdir}/plexmediaplayer.service
-install -pm0644 %{SOURCE4} %{buildroot}%{_unitdir}/plexmediaplayer.target
+install -pm0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}.service
+install -pm0644 %{SOURCE4} %{buildroot}%{_unitdir}/%{name}.target
mkdir -p %{buildroot}%{_sysconfdir}/polkit-1/localauthority/50-local.d
install -pm0644 %{SOURCE5} \
@@ -205,8 +205,8 @@ update-desktop-database &> /dev/null || :
%files session
%attr(0750,plex-media-player,plex-media-player) %{_sharedstatedir}/plex-media-player
%{_sysconfdir}/polkit-1/localauthority/50-local.d/plexmediaplayer.pkla.disabled
-%{_unitdir}/plexmediaplayer.service
-%{_unitdir}/plexmediaplayer.target
+%{_unitdir}/%{name}.service
+%{_unitdir}/%{name}.target
%changelog
* Wed Nov 06 2019 Leigh Scott <leigh123linux(a)gmail.com> - 2.40.0-2
4 years, 12 months