forked from pool/yt-dlp
Accepting request 934894 from network:utilities
Rename to new package OBS-URL: https://build.opensuse.org/request/show/934894 OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=1
This commit is contained in:
commit
33544b1478
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
2017
youtube-dl.changes
Normal file
2017
youtube-dl.changes
Normal file
File diff suppressed because it is too large
Load Diff
114
youtube-dl.spec
Normal file
114
youtube-dl.spec
Normal file
@ -0,0 +1,114 @@
|
||||
#
|
||||
# spec file for package youtube-dl
|
||||
#
|
||||
# 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.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: youtube-dl
|
||||
Version: 2021.12.01
|
||||
Release: 0
|
||||
Summary: A tool for downloading from video sites for offline watching
|
||||
License: CC-BY-SA-3.0 AND SUSE-Public-Domain
|
||||
Group: Productivity/Networking/Web/Utilities
|
||||
URL: https://github.com/yt-dlp/yt-dlp
|
||||
Source: https://github.com/yt-dlp/yt-dlp/releases/download/%version/yt-dlp.tar.gz
|
||||
BuildRequires: make >= 4
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-xml
|
||||
BuildRequires: zip
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
youtube-dl is a command-line program to retrieve videos from
|
||||
YouTube.com and other video sites for later watching.
|
||||
|
||||
youtube-dl is inactive since 2021-07-01; yt-dlp replaces it.
|
||||
|
||||
%package -n yt-dlp
|
||||
Summary: A tool for downloading from video sites for offline watching
|
||||
Group: Productivity/Networking/Web/Utilities
|
||||
Obsoletes: youtube-dl <= 2021.06.06
|
||||
Provides: youtube-dl = %version-%release
|
||||
Requires: ffmpeg
|
||||
Requires: python3
|
||||
Requires: python3-xml
|
||||
|
||||
%description -n yt-dlp
|
||||
yt-dlp is a command-line program to retrieve videos from
|
||||
YouTube.com and other video sites for later watching.
|
||||
|
||||
%package -n yt-dlp-bash-completion
|
||||
Summary: Bash completion for yt-dlp
|
||||
Group: System/Shells
|
||||
Requires: bash-completion
|
||||
Supplements: packageand(yt-dlp:bash)
|
||||
Obsoletes: youtube-dl-bash-completion <= 2021.06.06
|
||||
|
||||
%description -n yt-dlp-bash-completion
|
||||
Bash command line completion support for yt-dlp.
|
||||
|
||||
%package -n yt-dlp-fish-completion
|
||||
Summary: Fish completion for yt-dlp
|
||||
Group: System/Shells
|
||||
Requires: fish
|
||||
Supplements: packageand(yt-dlp:fish)
|
||||
Obsoletes: youtube-dl-fish-completion <= 2021.06.06
|
||||
|
||||
%description -n yt-dlp-fish-completion
|
||||
Fish command line completion support for yt-dlp.
|
||||
|
||||
%package -n yt-dlp-zsh-completion
|
||||
Summary: Zsh Completion for yt-dlp
|
||||
Group: System/Shells
|
||||
Requires: zsh
|
||||
Supplements: packageand(yt-dlp:zsh)
|
||||
|
||||
%description -n yt-dlp-zsh-completion
|
||||
ZSH command line completion support for yt-dlp.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n yt-dlp
|
||||
|
||||
%build
|
||||
rm -f youtube-dl yt-dlp
|
||||
PYTHON="%_bindir/python3" %make_build yt-dlp
|
||||
|
||||
%install
|
||||
b="%buildroot"
|
||||
install -Dvm0755 yt-dlp "$b/%_bindir/yt-dlp"
|
||||
ln -sv yt-dlp "$b/%_bindir/youtube-dl"
|
||||
install -Dvm0644 completions/bash/yt-dlp "$b/%_datadir/bash-completion/completions/yt-dlp"
|
||||
install -Dvm0644 completions/zsh/_yt-dlp "$b/%_datadir/zsh/site-functions/_yt-dlp"
|
||||
install -Dvm0644 completions/fish/yt-dlp.fish "$b/%_datadir/fish/completions/yt-dlp.fish"
|
||||
install -Dvm0644 yt-dlp.1 "$b/%_mandir/man1/yt-dlp.1"
|
||||
echo ".SO yt-dlp.1" >"$b/%_mandir/man1/youtube-dl.1"
|
||||
|
||||
%files -n yt-dlp
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%_bindir/yt-dlp
|
||||
%_bindir/youtube-dl
|
||||
%_mandir/man1/*.1*
|
||||
|
||||
%files -n yt-dlp-bash-completion
|
||||
%_datadir/bash-completion/
|
||||
|
||||
%files -n yt-dlp-fish-completion
|
||||
%_datadir/fish/
|
||||
|
||||
%files -n yt-dlp-zsh-completion
|
||||
%_datadir/zsh/
|
||||
|
||||
%changelog
|
3
yt-dlp.tar.gz
Normal file
3
yt-dlp.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bf0cc22d17ffbe59c0d0378026ff135a996b86c546ec9713d838f952dea61e0f
|
||||
size 4149693
|
Loading…
Reference in New Issue
Block a user