Files
syncplay/syncplay.spec
Takashi Iwai 8936d760f8 - Update to version 1.7.4:
* Added ‘readiness override’ feature. If you can control a remove, you can
    set someone a ready or not ready through the context menu in the list of 
    who is playing what. Only works if the server is running v.1.7.4, but 
    can change status for people using older clients. Adds the 
    folderSearchWarningThreshold’ setting to the Synclay INI.
  * Allow folder search timings to be tweaked for better FTP rmount support,
    adding ‘folderSearchFirstFileTimeout’, ‘folderSearchTimeout’ and
    ‘folderSearchDoubleCheckInterval’ settings to the Synclay INI
  * Fix position not changing when playlist changed in mpv error
  * Update Turkish translation
  * Adjust QSplitter style
  * Improved handling of big media directories
  * Fix some rewind issues relating to file loads / playlist changes
  * Set mpv.net ‘auto load folder’ setting to false to fix playlist
    advancement bug

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/syncplay?expand=0&rev=11
2025-04-26 10:20:16 +00:00

117 lines
3.6 KiB
RPMSpec

#
# spec file for package syncplay
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: syncplay
Version: 1.7.4
Release: 0
Summary: Client/server to synchronize media playback on mpv/VLC on multiple computers
License: Apache-2.0
URL: https://syncplay.pl/
Source: https://github.com/Syncplay/syncplay/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
#PATCH-FIX-SUSE switch-env-to-python.patch nopeinomicon@posteo.net -- Sets interpreter to python3 as opposed to env python3
Patch0: switch-env-to-python.patch
BuildRequires: hicolor-icon-theme
BuildRequires: make
BuildRequires: python-rpm-generators
BuildRequires: update-desktop-files
BuildArch: noarch
%{?python_enable_dependency_generator}
%description
Client/server to synchronize media playback on mpv/VLC on multiple
computers.
%package common
Summary: The common files for the Syncplay client and server
%description common
The common files for the Syncplay client and server
%package client
Summary: Client to synchronize media playback on mpv/VLC on multiple computers
Requires: %{name}-common
Requires: python3-Twisted >= 16.4.0
Recommends: python3-certifi >= 2018.11.29
Recommends: python3-idna >= 0.6
Recommends: python3-pem >= 21.2.0
Recommends: python3-pyOpenSSL >= 16.0.0
Recommends: python3-service_identity
Suggests: mpv
%if 0%{?suse_version} > 1500
Recommends: python3-pyside6
%else
Recommends: python3-pyside2 >= 5.12.0
%endif
%description client
The client application for Syncplay, allows you to play media in
synchronization with other users around the world, making movie
nights even across countries possible.
%package server
Summary: Server for the Syncplay media synchronizing application
Requires: %{name}-common
Requires: python3-Twisted >= 16.4.0
Recommends: python3-certifi >= 2018.11.29
Recommends: python3-idna >= 0.6
Recommends: python3-pem >= 21.2.0
Recommends: python3-pyOpenSSL >= 16.0.0
Recommends: python3-service_identity
%description server
The server applciation for Syncplay, acts as a hub for other users
to connect to and watch videos together in synchronization.
%prep
%autosetup -p1
%build
# Nothing to build
%install
%make_install
%suse_update_desktop_file -r %{name} AudioVideo Player Network
%suse_update_desktop_file -r %{name}-server AudioVideo Network
%files common
%license LICENSE
%doc README.md
%dir %{_prefix}/lib/syncplay/
%dir %{_prefix}/lib/syncplay/syncplay/
%{_prefix}/lib/syncplay/syncplay/*
%{_datadir}/icons/hicolor/*/apps/syncplay.png
%{_datadir}/pixmaps/syncplay.png
%files client
%license LICENSE
%doc README.md
%{_bindir}/syncplay
%{_prefix}/lib/syncplay/syncplayClient.py
%{_datadir}/applications/syncplay.desktop
%{_mandir}/man1/syncplay.1%{?ext_man}
%files server
%license LICENSE
%doc README.md
%{_bindir}/syncplay-server
%{_prefix}/lib/syncplay/syncplayServer.py
%{_datadir}/applications/syncplay-server.desktop
%{_mandir}/man1/syncplay-server.1%{?ext_man}
%changelog