forked from pool/yt-dlp
+incantations for Leap
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=73
This commit is contained in:
parent
4ba09a3eca
commit
1dd25f58f9
21
yt-dlp.spec
21
yt-dlp.spec
@ -16,6 +16,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define skip_python2 1
|
||||||
|
%define skip_python36 1
|
||||||
|
%define skip_python37 1
|
||||||
|
%sle15_python_module_pythons
|
||||||
Name: yt-dlp
|
Name: yt-dlp
|
||||||
Version: 2023.10.13
|
Version: 2023.10.13
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -25,20 +29,18 @@ Group: Productivity/Networking/Web/Utilities
|
|||||||
URL: https://github.com/yt-dlp/yt-dlp
|
URL: https://github.com/yt-dlp/yt-dlp
|
||||||
Source: https://github.com/yt-dlp/yt-dlp/releases/download/%version/yt-dlp.tar.gz
|
Source: https://github.com/yt-dlp/yt-dlp/releases/download/%version/yt-dlp.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: make >= 4
|
BuildRequires: make >= 4
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: zip
|
BuildRequires: zip
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: ffmpeg
|
Requires: ffmpeg
|
||||||
%if 0%{?suse_version} > 1500
|
Requires: python-yt-dlp
|
||||||
Requires: python3 >= 3.8
|
Suggests: python-Brotli
|
||||||
%endif
|
Suggests: python-certifi
|
||||||
Requires: python3-yt-dlp
|
Suggests: python-mutagen
|
||||||
Suggests: %{python_module Brotli}
|
Suggests: python-pycryptodomex
|
||||||
Suggests: %{python_module certifi}
|
Suggests: python-websockets
|
||||||
Suggests: %{python_module mutagen}
|
|
||||||
Suggests: %{python_module pycryptodomex}
|
|
||||||
Suggests: %{python_module websockets}
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -94,6 +96,7 @@ rm -f youtube-dl yt-dlp
|
|||||||
%install
|
%install
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
%python_install
|
%python_install
|
||||||
|
%fdupes %buildroot/usr
|
||||||
rm -Rf "$b/%_datadir/doc"
|
rm -Rf "$b/%_datadir/doc"
|
||||||
|
|
||||||
%files -n yt-dlp
|
%files -n yt-dlp
|
||||||
|
Loading…
Reference in New Issue
Block a user