streamlink/streamlink.spec

80 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package streamlink
#
Accepting request 873571 from home:dirkmueller:Factory - update to 2.0.0: * BREAKING: dropped support for Python 2 and Python 3.5 (#3232, #3269) * BREAKING: updated the Python version of the Windows installer to 3.8 (#3330) * Users of Windows 7 will need their system to be fully upgraded. * BREAKING: removed all deprecated CLI arguments (#3277, #3349) * BREAKING: replaced various subtitle muxing CLI arguments with --mux-subtitles (#3324) * BREAKING: sideloading faulty plugins will now raise an Exception (#3366) * BREAKING: changed trace logging timestamp format (#3273) * BREAKING/API: removed deprecated Session compat options (#3349) * BREAKING/API: removed deprecated custom Logger and LogRecord (#3273) * BREAKING/API: removed deprecated parameters from HLSStream.parse_variant_playlist (#3347) * BREAKING/API: removed plugin.api.support_plugin (#3398) * Added: new plugin for pluto.tv (#3363) * Added: support for HLS master playlist URLs to --stream-url / --json (#3300) * Added: --ffmpeg-fout for changing the output format of muxed streams (#2892) * Added: --ffmpeg-copyts and --ffmpeg-start-at-zero (#3404, #3413) * Added: --streann-url for iframe referencing (#3356) * Added: --niconico-timeshift-offset (#3425) * Fixed: duplicate stream names in DASH inputs (#3410) * Fixed: youtube live playback (#3268, #3372, #3428) * Fixed: --twitch-disable-reruns (#3375) * Fixed: various plugins issues (see detailed changelog down below) * Changed: {filename} variable in --player-args / -a to {playerinput} and made both optional (#3313) * Changed: and fixed streamlinkrc config file in the Windows installer (#3350) * Changed: MPV’s automated --title argument to --force-media-title (#3405) * Changed: HTML documentation theme to furo (#3335) * Removed: plugins for skai, kingkong, ellobo, trt/trtspor, tamago, streamme, metube, cubetv, willax OBS-URL: https://build.opensuse.org/request/show/873571 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/streamlink?expand=0&rev=15
2021-02-25 07:40:58 +01:00
# Copyright (c) 2021 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.
Accepting request 856591 from home:MasterPatricko - Update to 1.7.0: * Added: new plugins for micous.com, tv999.bg and cbsnews.com * Added: new embedded ad detection for Twitch streams (#3213) * Fixed: a few broken plugins and minor plugin issues (see changelog down below) * Fixed: arguments in config files were read too late before taking effect (#3255) * Fixed: Arte plugin returning too many streams and overriding primary ones (#3228) * Fixed: Twitch plugin error when stream metadata API response is empty (#3223) * Fixed: Zattoo login issues (#3202) * Changed: plugin request and submission guidelines (#3244) * Changed: refactored and cleaned up Twitch plugin (#3227) * Removed: platform=_ stream token request parameter from Twitch plugin (again) (#3220) * Removed: plugins for itvplayer, aljazeeraen, srgssr and dingittv - Update to 1.6.0: * Fixed: lots of broken plugins and minor plugin issues (see changelog down below) * Fixed: embedded ads on Twitch with an ads workaround, removing pre-roll and mid-stream ads (#3173) * Fixed: read timeout error when filtering out HLS segments (#3187) * Fixed: twitch plugin logging incorrect low-latency status when pre-roll ads exist (#3169) * Fixed: crunchyroll auth logic (#3150) * Added: the --hls-playlist-reload-time parameter for customizing HLS playlist reload times (#2925) * Added: python -m streamlink invocation style support (#3174) * Added: plugin for mrt.com.mk (#3097) * Changed: yupptv plugin and replaced email+pass with id+token authentication (#3116) * Removed: plugins for vaughnlive, pandatv, douyutv, cybergame, europaplus and startv OBS-URL: https://build.opensuse.org/request/show/856591 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/streamlink?expand=0&rev=13
2020-12-17 07:52:46 +01:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: streamlink
Accepting request 873571 from home:dirkmueller:Factory - update to 2.0.0: * BREAKING: dropped support for Python 2 and Python 3.5 (#3232, #3269) * BREAKING: updated the Python version of the Windows installer to 3.8 (#3330) * Users of Windows 7 will need their system to be fully upgraded. * BREAKING: removed all deprecated CLI arguments (#3277, #3349) * BREAKING: replaced various subtitle muxing CLI arguments with --mux-subtitles (#3324) * BREAKING: sideloading faulty plugins will now raise an Exception (#3366) * BREAKING: changed trace logging timestamp format (#3273) * BREAKING/API: removed deprecated Session compat options (#3349) * BREAKING/API: removed deprecated custom Logger and LogRecord (#3273) * BREAKING/API: removed deprecated parameters from HLSStream.parse_variant_playlist (#3347) * BREAKING/API: removed plugin.api.support_plugin (#3398) * Added: new plugin for pluto.tv (#3363) * Added: support for HLS master playlist URLs to --stream-url / --json (#3300) * Added: --ffmpeg-fout for changing the output format of muxed streams (#2892) * Added: --ffmpeg-copyts and --ffmpeg-start-at-zero (#3404, #3413) * Added: --streann-url for iframe referencing (#3356) * Added: --niconico-timeshift-offset (#3425) * Fixed: duplicate stream names in DASH inputs (#3410) * Fixed: youtube live playback (#3268, #3372, #3428) * Fixed: --twitch-disable-reruns (#3375) * Fixed: various plugins issues (see detailed changelog down below) * Changed: {filename} variable in --player-args / -a to {playerinput} and made both optional (#3313) * Changed: and fixed streamlinkrc config file in the Windows installer (#3350) * Changed: MPV’s automated --title argument to --force-media-title (#3405) * Changed: HTML documentation theme to furo (#3335) * Removed: plugins for skai, kingkong, ellobo, trt/trtspor, tamago, streamme, metube, cubetv, willax OBS-URL: https://build.opensuse.org/request/show/873571 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/streamlink?expand=0&rev=15
2021-02-25 07:40:58 +01:00
Version: 2.0.0
Release: 0
Summary: Program to pipe streams from services into a video player
License: BSD-2-Clause
Group: Development/Languages/Python
Accepting request 856591 from home:MasterPatricko - Update to 1.7.0: * Added: new plugins for micous.com, tv999.bg and cbsnews.com * Added: new embedded ad detection for Twitch streams (#3213) * Fixed: a few broken plugins and minor plugin issues (see changelog down below) * Fixed: arguments in config files were read too late before taking effect (#3255) * Fixed: Arte plugin returning too many streams and overriding primary ones (#3228) * Fixed: Twitch plugin error when stream metadata API response is empty (#3223) * Fixed: Zattoo login issues (#3202) * Changed: plugin request and submission guidelines (#3244) * Changed: refactored and cleaned up Twitch plugin (#3227) * Removed: platform=_ stream token request parameter from Twitch plugin (again) (#3220) * Removed: plugins for itvplayer, aljazeeraen, srgssr and dingittv - Update to 1.6.0: * Fixed: lots of broken plugins and minor plugin issues (see changelog down below) * Fixed: embedded ads on Twitch with an ads workaround, removing pre-roll and mid-stream ads (#3173) * Fixed: read timeout error when filtering out HLS segments (#3187) * Fixed: twitch plugin logging incorrect low-latency status when pre-roll ads exist (#3169) * Fixed: crunchyroll auth logic (#3150) * Added: the --hls-playlist-reload-time parameter for customizing HLS playlist reload times (#2925) * Added: python -m streamlink invocation style support (#3174) * Added: plugin for mrt.com.mk (#3097) * Changed: yupptv plugin and replaced email+pass with id+token authentication (#3116) * Removed: plugins for vaughnlive, pandatv, douyutv, cybergame, europaplus and startv OBS-URL: https://build.opensuse.org/request/show/856591 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/streamlink?expand=0&rev=13
2020-12-17 07:52:46 +01:00
URL: https://streamlink.github.io/
Source: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Accepting request 856591 from home:MasterPatricko - Update to 1.7.0: * Added: new plugins for micous.com, tv999.bg and cbsnews.com * Added: new embedded ad detection for Twitch streams (#3213) * Fixed: a few broken plugins and minor plugin issues (see changelog down below) * Fixed: arguments in config files were read too late before taking effect (#3255) * Fixed: Arte plugin returning too many streams and overriding primary ones (#3228) * Fixed: Twitch plugin error when stream metadata API response is empty (#3223) * Fixed: Zattoo login issues (#3202) * Changed: plugin request and submission guidelines (#3244) * Changed: refactored and cleaned up Twitch plugin (#3227) * Removed: platform=_ stream token request parameter from Twitch plugin (again) (#3220) * Removed: plugins for itvplayer, aljazeeraen, srgssr and dingittv - Update to 1.6.0: * Fixed: lots of broken plugins and minor plugin issues (see changelog down below) * Fixed: embedded ads on Twitch with an ads workaround, removing pre-roll and mid-stream ads (#3173) * Fixed: read timeout error when filtering out HLS segments (#3187) * Fixed: twitch plugin logging incorrect low-latency status when pre-roll ads exist (#3169) * Fixed: crunchyroll auth logic (#3150) * Added: the --hls-playlist-reload-time parameter for customizing HLS playlist reload times (#2925) * Added: python -m streamlink invocation style support (#3174) * Added: plugin for mrt.com.mk (#3097) * Changed: yupptv plugin and replaced email+pass with id+token authentication (#3116) * Removed: plugins for vaughnlive, pandatv, douyutv, cybergame, europaplus and startv OBS-URL: https://build.opensuse.org/request/show/856591 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/streamlink?expand=0&rev=13
2020-12-17 07:52:46 +01:00
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
BuildRequires: python3-devel >= 3.4
BuildRequires: python3-requests >= 1.0
Accepting request 856591 from home:MasterPatricko - Update to 1.7.0: * Added: new plugins for micous.com, tv999.bg and cbsnews.com * Added: new embedded ad detection for Twitch streams (#3213) * Fixed: a few broken plugins and minor plugin issues (see changelog down below) * Fixed: arguments in config files were read too late before taking effect (#3255) * Fixed: Arte plugin returning too many streams and overriding primary ones (#3228) * Fixed: Twitch plugin error when stream metadata API response is empty (#3223) * Fixed: Zattoo login issues (#3202) * Changed: plugin request and submission guidelines (#3244) * Changed: refactored and cleaned up Twitch plugin (#3227) * Removed: platform=_ stream token request parameter from Twitch plugin (again) (#3220) * Removed: plugins for itvplayer, aljazeeraen, srgssr and dingittv - Update to 1.6.0: * Fixed: lots of broken plugins and minor plugin issues (see changelog down below) * Fixed: embedded ads on Twitch with an ads workaround, removing pre-roll and mid-stream ads (#3173) * Fixed: read timeout error when filtering out HLS segments (#3187) * Fixed: twitch plugin logging incorrect low-latency status when pre-roll ads exist (#3169) * Fixed: crunchyroll auth logic (#3150) * Added: the --hls-playlist-reload-time parameter for customizing HLS playlist reload times (#2925) * Added: python -m streamlink invocation style support (#3174) * Added: plugin for mrt.com.mk (#3097) * Changed: yupptv plugin and replaced email+pass with id+token authentication (#3116) * Removed: plugins for vaughnlive, pandatv, douyutv, cybergame, europaplus and startv OBS-URL: https://build.opensuse.org/request/show/856591 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/streamlink?expand=0&rev=13
2020-12-17 07:52:46 +01:00
BuildRequires: python3-setuptools
Requires: python3-PySocks
Requires: python3-isodate
Requires: python3-pycountry
Requires: python3-pycryptodome
Requires: python3-requests >= 1.0
Requires: python3-websocket-client
Accepting request 856591 from home:MasterPatricko - Update to 1.7.0: * Added: new plugins for micous.com, tv999.bg and cbsnews.com * Added: new embedded ad detection for Twitch streams (#3213) * Fixed: a few broken plugins and minor plugin issues (see changelog down below) * Fixed: arguments in config files were read too late before taking effect (#3255) * Fixed: Arte plugin returning too many streams and overriding primary ones (#3228) * Fixed: Twitch plugin error when stream metadata API response is empty (#3223) * Fixed: Zattoo login issues (#3202) * Changed: plugin request and submission guidelines (#3244) * Changed: refactored and cleaned up Twitch plugin (#3227) * Removed: platform=_ stream token request parameter from Twitch plugin (again) (#3220) * Removed: plugins for itvplayer, aljazeeraen, srgssr and dingittv - Update to 1.6.0: * Fixed: lots of broken plugins and minor plugin issues (see changelog down below) * Fixed: embedded ads on Twitch with an ads workaround, removing pre-roll and mid-stream ads (#3173) * Fixed: read timeout error when filtering out HLS segments (#3187) * Fixed: twitch plugin logging incorrect low-latency status when pre-roll ads exist (#3169) * Fixed: crunchyroll auth logic (#3150) * Added: the --hls-playlist-reload-time parameter for customizing HLS playlist reload times (#2925) * Added: python -m streamlink invocation style support (#3174) * Added: plugin for mrt.com.mk (#3097) * Changed: yupptv plugin and replaced email+pass with id+token authentication (#3116) * Removed: plugins for vaughnlive, pandatv, douyutv, cybergame, europaplus and startv OBS-URL: https://build.opensuse.org/request/show/856591 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/streamlink?expand=0&rev=13
2020-12-17 07:52:46 +01:00
Recommends: vlc
Suggests: ffmpeg
Suggests: rtmpdump
BuildArch: noarch
%description
Streamlink is a CLI utility that pipes flash videos
from online streaming services to a variety of video players
such as MPV, or alternatively, a browser.
The main purpose of streamlink is to convert CPU-heavy
flash plugins to a less CPU-intensive format.
Streamlink is a fork of the livestreamer project.
%prep
%setup -q
%build
%python3_build
%install
export STREAMLINK_USE_PYCOUNTRY="true"
%python3_install \
--root=%{buildroot} \
--prefix=%{_prefix}
find %{buildroot}{%{python3_sitelib},%{python_sitelib}} -type f -name '*.py' | while read py; do
if [[ "$(head -c2 "$py"; echo)" == "#!" ]]; then
chmod a+x "$py"
else
chmod a-x "$py"
fi
done
%fdupes -s %{buildroot}
%files
%license LICENSE
%doc AUTHORS CHANGELOG.md MANIFEST.in README.md
%{_bindir}/%{name}
%{python3_sitelib}/%{name}*/
%changelog