mirror of
https://abf.rosa.ru/djam/yt-dlp.git
synced 2025-02-24 07:42: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
|
Summary: Small command-line program to download videos from YouTube
|
||||||
Name: youtube-dl
|
Name: youtube-dl
|
||||||
Version: 2014.04.01.3
|
Version: 2014.04.13
|
||||||
Release: 1
|
Release: 1
|
||||||
License: Public Domain and GPLv2
|
License: Public Domain and GPLv2+
|
||||||
Group: Video
|
Group: Video
|
||||||
Url: http://rg3.github.com/youtube-dl/
|
Url: http://rg3.github.com/youtube-dl/
|
||||||
Source0: https://yt-dl.org/downloads/%{version}/youtube-dl
|
Source0: https://yt-dl.org/downloads/%{version}/youtube-dl
|
||||||
|
BuildRequires: help2man
|
||||||
#man page from Debian by Rogerio Brito <rbrito@users.sf.net>, licensed under GPLv2
|
BuildRequires: python
|
||||||
Source1: %{name}.1.gz
|
|
||||||
BuildArch: noarch
|
|
||||||
Requires: python
|
Requires: python
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Small command-line program to download videos from YouTube.
|
Small command-line program to download videos from YouTube.
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_mandir}/man1/%{name}.1.*
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
#nothing
|
#nothing
|
||||||
|
|
||||||
|
@ -24,9 +29,6 @@ Small command-line program to download videos from YouTube.
|
||||||
%install
|
%install
|
||||||
install -D -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/%{name}
|
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
|
mkdir -p %{buildroot}%{_mandir}/man1/
|
||||||
install -D -p -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1.gz
|
help2man %{buildroot}%{_bindir}/%{name} > %{buildroot}%{_mandir}/man1/%{name}.1
|
||||||
|
|
||||||
%files
|
|
||||||
%{_bindir}/%{name}
|
|
||||||
%{_mandir}/man1/%{name}.1.*
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue