]> git.pld-linux.org Git - packages/yt-dlp.git/commitdiff
new auto/th/yt-dlp-2021.10.10-1
authorJan Palus <atler@pld-linux.org>
Thu, 21 Oct 2021 21:25:24 +0000 (23:25 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 21 Oct 2021 21:25:24 +0000 (23:25 +0200)
yt-dlp.spec [new file with mode: 0644]

diff --git a/yt-dlp.spec b/yt-dlp.spec
new file mode 100644 (file)
index 0000000..31b75b4
--- /dev/null
@@ -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
This page took 0.392433 seconds and 4 git commands to generate.