[packages/yt-dlp] new
atler
atler at pld-linux.org
Thu Oct 21 23:25:57 CEST 2021
commit dea2a91ea7d27a7ceb69fe4b91ebfa1d6619bf0f
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Oct 21 23:25:24 2021 +0200
new
yt-dlp.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
---
diff --git a/yt-dlp.spec b/yt-dlp.spec
new file mode 100644
index 0000000..31b75b4
--- /dev/null
+++ b/yt-dlp.spec
@@ -0,0 +1,55 @@
+Summary: A youtube-dl fork with additional features and fixes
+Name: yt-dlp
+Version: 2021.10.10
+Release: 1
+License: Public Domain
+Group: Applications/System
+Source0: https://github.com/yt-dlp/yt-dlp/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 196314513e471fa2acfec9efd585516b
+URL: https://github.com/yt-dlp/yt-dlp
+BuildRequires: python3-modules >= 1:3.2
+BuildRequires: python3-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.720
+Requires: python3-setuptools
+Requires: python3-%{name} = %{version}-%{release}
+Suggests: ffmpeg
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+yt-dlp is a youtube-dl fork based on the now inactive youtube-dlc. The
+main focus of this project is adding new features and patches while
+also keeping up to date with the original project.
+
+%package -n python3-%{name}
+Summary: Python 3 video extraction utility for YouTube
+Group: Libraries/Python
+Requires: python3-pyxattr >= 0.5.0
+
+%description -n python3-%{name}
+Python 3 video extraction utility for YouTube.
+
+%prep
+%setup -q
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md LICENSE
+%attr(755,root,root) %{_bindir}/yt-dlp
+
+%files -n python3-%{name}
+%defattr(644,root,root,755)
+%{py3_sitescriptdir}/yt_dlp
+%{py3_sitescriptdir}/yt_dlp-*-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/yt-dlp.git/commitdiff/dea2a91ea7d27a7ceb69fe4b91ebfa1d6619bf0f
More information about the pld-cvs-commit
mailing list