yt-dlp/youtube-dl.spec

38 lines
800 B
RPMSpec
Raw Normal View History

2013-07-04 22:48:15 +11:00
Summary: Small command-line program to download videos from YouTube
Name: youtube-dl
Version: 2014.05.05
2012-09-30 17:12:17 +02:00
Release: 1
License: Public Domain and GPLv2+
Group: Video
2013-07-04 22:48:15 +11:00
Url: http://rg3.github.com/youtube-dl/
Source0: https://yt-dl.org/downloads/%{version}/youtube-dl-%{version}.tar.gz
BuildRequires: help2man
BuildRequires: python
Requires: python
BuildArch: noarch
%description
Small command-line program to download videos from YouTube.
%files
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.*
#----------------------------------------------------------------------------
%prep
#nothing
%build
#nothing
%install
2013-07-04 22:48:15 +11:00
install -D -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/%{name}
mkdir -p %{buildroot}%{_mandir}/man1/
help2man %{buildroot}%{_bindir}/%{name} > %{buildroot}%{_mandir}/man1/%{name}.1