mirror of
https://abf.rosa.ru/djam/yt-dlp.git
synced 2025-02-23 15:22:53 +00:00
New version 2014.04.13, generate man page instead of using pre-generated old one
This commit is contained in:
parent
4b7501e57c
commit
ca447cc793
1 changed files with 13 additions and 11 deletions
|
@ -1,20 +1,25 @@
|
|||
Summary: Small command-line program to download videos from YouTube
|
||||
Name: youtube-dl
|
||||
Version: 2014.04.01.3
|
||||
Version: 2014.04.13
|
||||
Release: 1
|
||||
License: Public Domain and GPLv2
|
||||
License: Public Domain and GPLv2+
|
||||
Group: Video
|
||||
Url: http://rg3.github.com/youtube-dl/
|
||||
Source0: https://yt-dl.org/downloads/%{version}/youtube-dl
|
||||
|
||||
#man page from Debian by Rogerio Brito <rbrito@users.sf.net>, licensed under GPLv2
|
||||
Source1: %{name}.1.gz
|
||||
BuildArch: noarch
|
||||
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
|
||||
|
||||
|
@ -24,9 +29,6 @@ Small command-line program to download videos from YouTube.
|
|||
%install
|
||||
install -D -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
#man page by Rogerio Brito <rbrito@users.sf.net>, licensed under GPLv2 - from a Debian package
|
||||
install -D -p -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1.gz
|
||||
mkdir -p %{buildroot}%{_mandir}/man1/
|
||||
help2man %{buildroot}%{_bindir}/%{name} > %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
|
||||
%files
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1.*
|
||||
|
|
Loading…
Add table
Reference in a new issue