|
|
c94b2a4 |
%global srcname streamlink
|
|
|
cf63225 |
%global _description %{expand:Streamlink is a command-line utility that pipes video streams from various
|
|
|
cf63225 |
services into a video player, such as VLC. The main purpose of Streamlink is to
|
|
|
cf63225 |
allow the user to avoid buggy and CPU heavy flash plugins but still be able to
|
|
|
cf63225 |
enjoy various streamed content. There is also an API available for developers
|
|
|
cf63225 |
who want access to the video stream data. This project was forked from
|
|
|
cf63225 |
Livestreamer, which is no longer maintained.}
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
Name: python-%{srcname}
|
|
|
40701e8 |
Version: 3.2.0
|
|
|
9ce9d73 |
Release: 1%{?dist}
|
|
|
c34b7c0 |
Summary: Python library for extracting streams from various websites
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
# src/streamlink/packages/requests_file.py is ASL 2.0
|
|
|
4c5c4c4 |
License: BSD and ASL 2.0
|
|
|
c94b2a4 |
URL: https://streamlink.github.io/
|
|
|
cf63225 |
Source0: https://github.com/%{srcname}/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
|
0f62c54 |
# Use pycryptodomex library instead of pycryptodome
|
|
|
9ce9d73 |
Patch0: %{name}-3.1.1-pycryptodomex.patch
|
|
|
0639fd6 |
# Use sphinx-rtd-theme to build documentation instead of furo (not available in
|
|
|
0639fd6 |
# Fedora, see also https://bugzilla.redhat.com/show_bug.cgi?id=1910798)
|
|
|
0f62c54 |
Patch1: %{name}-3.0.0-doc.patch
|
|
|
0f62c54 |
# Ensure python3 interpreter is called during build
|
|
|
0f62c54 |
Patch3: %{name}-3.0.0-python3.patch
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
BuildRequires: python3-devel
|
|
|
0639fd6 |
BuildRequires: make
|
|
|
c94b2a4 |
BuildArch: noarch
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
%description
|
|
|
cf63225 |
%{_description}
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
%package -n python3-%{srcname}
|
|
|
c34b7c0 |
Summary: %{summary}
|
|
|
c94b2a4 |
Provides: %{srcname} = %{version}-%{release}
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
%description -n python3-%{srcname}
|
|
|
cf63225 |
%{_description}
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
%package doc
|
|
|
c94b2a4 |
Summary: Documentation for %{name}
|
|
|
0639fd6 |
Requires: fontawesome-fonts
|
|
|
0639fd6 |
Requires: google-roboto-slab-fonts
|
|
|
0639fd6 |
Requires: lato-fonts
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
%description doc
|
|
|
cf63225 |
%{_description}
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
This package provides documentation for %{name}.
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
%prep
|
|
|
1ee0474 |
%autosetup -n %{srcname}-%{version} -p1
|
|
|
c94b2a4 |
|
|
|
9ce9d73 |
|
|
|
7e86670 |
%generate_buildrequires
|
|
|
99e8f77 |
%pyproject_buildrequires -r
|
|
|
7e86670 |
%pyproject_buildrequires -r dev-requirements.txt docs-requirements.txt
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
%build
|
|
|
7e86670 |
%pyproject_wheel
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
# Generate documentation
|
|
|
7e86670 |
PYTHONPATH=$PWD/src/ %make_build -C docs/ html man
|
|
|
7e86670 |
rm docs/_build/html/.buildinfo
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
%install
|
|
|
7e86670 |
%pyproject_install
|
|
|
7e86670 |
%pyproject_save_files %{srcname} %{srcname}_cli
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
# Install man page
|
|
|
7e86670 |
install -Dpm 0644 docs/_build/man/%{srcname}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{srcname}.1
|
|
|
c94b2a4 |
|
|
|
0f62c54 |
# Build and install shell completion files
|
|
|
0f62c54 |
PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitelib} ./script/build-shell-completions.sh
|
|
|
0f62c54 |
install -Dm644 completions/bash/%{srcname} $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/%{srcname}
|
|
|
0f62c54 |
install -Dm644 completions/zsh/_%{srcname} $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions/_%{srcname}
|
|
|
0f62c54 |
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
%check
|
|
|
5d2830d |
TZ=UTC %pytest
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
|
|
|
7e86670 |
%files -n python3-%{srcname} -f %{pyproject_files}
|
|
|
daf2f4d |
%doc AUTHORS CHANGELOG.md CONTRIBUTING.md KNOWN_ISSUES.md README.md
|
|
|
0f62c54 |
%license LICENSE
|
|
|
c94b2a4 |
%{_bindir}/%{srcname}
|
|
|
0f62c54 |
%dir %{_datadir}/bash-completion/
|
|
|
0f62c54 |
%dir %{_datadir}/bash-completion/completions/
|
|
|
0f62c54 |
%{_datadir}/bash-completion/completions/%{srcname}
|
|
|
0f62c54 |
%dir %{_datadir}/zsh/site-functions/
|
|
|
0f62c54 |
%{_datadir}/zsh/site-functions/_%{srcname}
|
|
|
c94b2a4 |
%{_mandir}/man1/%{srcname}.1.*
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
%files doc
|
|
|
7e86670 |
%doc docs/_build/html/
|
|
|
c94b2a4 |
%license LICENSE
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
%changelog
|
|
|
40701e8 |
* Tue Mar 08 2022 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.2.0-1
|
|
|
40701e8 |
- Update to 3.2.0
|
|
|
40701e8 |
|
|
|
9ce9d73 |
* Tue Feb 01 2022 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.1.1-1
|
|
|
9ce9d73 |
- Update to 3.1.1
|
|
|
9ce9d73 |
|
|
|
4b0d59c |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-2
|
|
|
4b0d59c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
4b0d59c |
|
|
|
0f62c54 |
* Sun Nov 21 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.0.1-1
|
|
|
0f62c54 |
- Update to 3.0.1
|
|
|
0f62c54 |
|
|
|
0f62c54 |
* Wed Nov 17 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.0.0-1
|
|
|
0f62c54 |
- Update to 3.0.0
|
|
|
0f62c54 |
|
|
|
7e86670 |
* Tue Sep 07 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.4.0-1
|
|
|
7e86670 |
- Update to 2.4.0
|
|
|
7e86670 |
|
|
|
36c3a1a |
* Mon Jul 26 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.3.0-1
|
|
|
36c3a1a |
- Update to 2.3.0
|
|
|
36c3a1a |
|
|
|
e7eb246 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
|
|
|
e7eb246 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
e7eb246 |
|
|
|
5d2830d |
* Sat Jun 19 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.2.0-1
|
|
|
5d2830d |
- Update to 2.2.0
|
|
|
5d2830d |
|
|
|
a05a731 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.1.2-2
|
|
|
a05a731 |
- Rebuilt for Python 3.10
|
|
|
a05a731 |
|
|
|
afa10ef |
* Fri Jun 04 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.1.2-1
|
|
|
afa10ef |
- Update to 2.1.2
|
|
|
afa10ef |
|
|
|
78e64dc |
* Mon Apr 12 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.1.1-1
|
|
|
78e64dc |
- Update to 2.1.1
|
|
|
78e64dc |
|
|
|
f457553 |
* Tue Mar 23 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.1.0-1
|
|
|
f457553 |
- Update to 2.1.0
|
|
|
f457553 |
|
|
|
01e63b7 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
|
|
|
01e63b7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
01e63b7 |
|
|
|
e77723e |
* Tue Jan 19 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.0.0-1
|
|
|
0639fd6 |
- Update to 2.0.0
|
|
|
0639fd6 |
|
|
|
27c7424 |
* Sun Oct 18 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.7.0-1
|
|
|
27c7424 |
- Update to 1.7.0
|
|
|
27c7424 |
|
|
|
0007fcd |
* Sun Sep 27 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.6.0-2
|
|
|
0007fcd |
- Fix dependency on pycryptodomex
|
|
|
0007fcd |
|
|
|
4377c54 |
* Thu Sep 24 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.6.0-1
|
|
|
4377c54 |
- Update to 1.6.0
|
|
|
4377c54 |
|
|
|
6570baa |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
|
|
|
6570baa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
6570baa |
|
|
|
daf2f4d |
* Tue Jul 07 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.5.0-1
|
|
|
daf2f4d |
- Update to 1.5.0
|
|
|
daf2f4d |
|
|
|
68cd7c0 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.4.1-2
|
|
|
68cd7c0 |
- Rebuilt for Python 3.9
|
|
|
68cd7c0 |
|
|
|
cf63225 |
* Mon May 11 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.4.1-1
|
|
|
cf63225 |
- Update to 1.4.1
|
|
|
cf63225 |
|
|
|
4c5c4c4 |
* Tue Jan 28 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.3.1-1
|
|
|
4c5c4c4 |
- Update to 1.3.1
|
|
|
4c5c4c4 |
|
|
|
004c06a |
* Tue Nov 26 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.3.0-1
|
|
|
004c06a |
- Update to 1.3.0
|
|
|
004c06a |
|
|
|
1b15b87 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-3
|
|
|
1b15b87 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
1b15b87 |
|
|
|
98eef53 |
* Wed Aug 21 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-2
|
|
|
98eef53 |
- Rebuilt for Python 3.8
|
|
|
98eef53 |
|
|
|
49187b8 |
* Tue Aug 20 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.2.0-1
|
|
|
49187b8 |
- Update to 1.2.0
|
|
|
49187b8 |
- Use pycryptodomex library instead of crypto
|
|
|
49187b8 |
|
|
|
947f0f6 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-3
|
|
|
947f0f6 |
- Rebuilt for Python 3.8
|
|
|
947f0f6 |
|
|
|
fbbe16d |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
|
|
|
fbbe16d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
fbbe16d |
|
|
|
00cbd09 |
* Wed Apr 03 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.1.1-1
|
|
|
00cbd09 |
- Update to 1.1.1
|
|
|
00cbd09 |
|
|
|
1ee0474 |
* Sun Mar 31 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.1.0-1
|
|
|
1ee0474 |
- Update to 1.1.0
|
|
|
1ee0474 |
|
|
|
c34b7c0 |
* Mon Feb 04 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.0.0-1
|
|
|
c34b7c0 |
- Update to 1.0.0
|
|
|
c34b7c0 |
|
|
|
e9ac135 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.2-6
|
|
|
e9ac135 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
e9ac135 |
|
|
|
5dece3c |
* Fri Jan 11 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.14.2-5
|
|
|
5dece3c |
- Enable python dependency generator
|
|
|
5dece3c |
|
|
|
4192d39 |
* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.14.2-4
|
|
|
4192d39 |
- Python2 binary package has been removed
|
|
|
4192d39 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
4192d39 |
|
|
|
b05a371 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.2-3
|
|
|
b05a371 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
b05a371 |
|
|
|
c044082 |
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.14.2-2
|
|
|
c044082 |
- Rebuilt for Python 3.7
|
|
|
c044082 |
|
|
Mohamed El Morabity |
9b7d2a7 |
* Mon Jul 02 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.14.2-1
|
|
Mohamed El Morabity |
9b7d2a7 |
- Update to 0.14.2
|
|
Mohamed El Morabity |
9b7d2a7 |
|
|
|
84f608a |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-2
|
|
|
84f608a |
- Rebuilt for Python 3.7
|
|
|
84f608a |
|
|
|
3265449 |
* Thu Jun 07 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.13.0-1
|
|
|
3265449 |
- Update to 0.13.0
|
|
|
3265449 |
|
|
|
c24237f |
* Mon May 07 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.12.1-1
|
|
|
c24237f |
- Update to 0.12.1
|
|
|
c24237f |
|
|
|
dc6d5bf |
* Mon May 07 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.12.0-1
|
|
|
dc6d5bf |
- Update to 0.12.0
|
|
|
dc6d5bf |
|
|
|
1286bf9 |
* Thu Mar 08 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.11.0-1
|
|
|
1286bf9 |
- Update to 0.11.0
|
|
|
1286bf9 |
|
|
|
4c86f8a |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-3
|
|
|
4c86f8a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
4c86f8a |
|
|
|
bde4039 |
* Tue Jan 30 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.10.0-2
|
|
|
bde4039 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
bde4039 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
bde4039 |
|
|
|
9ec4014 |
* Wed Jan 24 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.10.0-1
|
|
|
9ec4014 |
- Update to 0.10.0
|
|
|
9ec4014 |
|
|
|
778f0ae |
* Tue Nov 14 2017 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.9.0-1
|
|
|
778f0ae |
- Update to 0.9.0
|
|
|
778f0ae |
|
|
|
6f95b4d |
* Tue Oct 10 2017 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.8.1-3
|
|
|
6f95b4d |
- Fix dependecy on python-websocket-client package
|
|
|
6f95b4d |
|
|
|
42d717f |
* Tue Sep 19 2017 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.8.1-2
|
|
|
42d717f |
- Add missing dependecy on python-websocket-client package
|
|
|
42d717f |
|
|
|
429a470 |
* Tue Sep 19 2017 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.8.1-1
|
|
|
429a470 |
- Update to 0.8.1
|
|
|
429a470 |
|
|
|
9e8bd1a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
|
|
|
9e8bd1a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
9e8bd1a |
|
|
|
4d31f05 |
* Fri Jun 30 2017 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.7.0-1
|
|
|
4d31f05 |
- Update to 0.7.0
|
|
|
4d31f05 |
|
|
|
4d31f05 |
* Thu May 11 2017 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.6.0-1
|
|
|
dfc5708 |
- Update to 0.6.0
|
|
|
dfc5708 |
|
|
|
c66df99 |
* Wed Apr 05 2017 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.5.0-1
|
|
|
c66df99 |
- Update to 0.5.0
|
|
|
c66df99 |
|
|
|
4d31f05 |
* Fri Mar 10 2017 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.4.0-1
|
|
|
1eeb11c |
- Update to 0.4.0
|
|
|
1eeb11c |
|
|
|
1eeb11c |
* Wed Feb 22 2017 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.3.2-1
|
|
|
072a057 |
- Update to 0.3.2
|
|
|
072a057 |
|
|
|
1633735 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
|
|
|
1633735 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
1633735 |
|
|
|
9ec3696 |
* Thu Jan 26 2017 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.3.0-1
|
|
|
9ec3696 |
- Update to 0.3.0
|
|
|
9ec3696 |
|
|
|
c94b2a4 |
* Sat Jan 07 2017 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.2.0-3
|
|
|
c94b2a4 |
- Add license to doc subpackage
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
* Sat Jan 07 2017 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.2.0-2
|
|
|
c94b2a4 |
- Fix license tag
|
|
|
c94b2a4 |
- Move documentation to a subpackage
|
|
|
c94b2a4 |
- Enable tests
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
* Sun Dec 18 2016 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.2.0-1
|
|
|
c94b2a4 |
- Update to 0.2.0
|
|
|
c94b2a4 |
|
|
|
c94b2a4 |
* Fri Dec 16 2016 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.1.0-1
|
|
|
c94b2a4 |
- Initial RPM release
|