mirror of
https://abf.rosa.ru/djam/yt-dlp.git
synced 2025-02-23 15:22:53 +00:00
Log : since we are packagers let's start building this up, add tarballed source, build youtube-dl , no longer install the bianry, first attempt
This commit is contained in:
parent
82cc3d8bdf
commit
b92d2a103a
1 changed files with 16 additions and 14 deletions
|
@ -7,31 +7,33 @@ Group: Video
|
|||
Url: http://rg3.github.com/youtube-dl/
|
||||
Source0: https://yt-dl.org/downloads/%{version}/youtube-dl-%{version}.tar.gz
|
||||
|
||||
BuildRequires: help2man
|
||||
BuildRequires: python
|
||||
|
||||
BuildRequires: pythonegg(nose)
|
||||
BuildRequires: pythonegg(setuptools)
|
||||
Requires: python
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Small command-line program to download videos from YouTube.
|
||||
|
||||
%files
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1.*
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
%prep
|
||||
#nothing
|
||||
%setup -qn %{name}
|
||||
|
||||
%build
|
||||
#nothing
|
||||
%make
|
||||
|
||||
|
||||
%install
|
||||
install -D -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/%{name}
|
||||
%makeinstall DESTDIR=%{buildroot} \
|
||||
PREFIX=%{_prefix} \
|
||||
MANDIR=%{_mandir}
|
||||
|
||||
|
||||
mkdir -p %{buildroot}%{_mandir}/man1/
|
||||
help2man %{buildroot}%{_bindir}/%{name} > %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc LICENSE README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue