/[packages]/updates/5/youtube-dl/current/SPECS/youtube-dl.spec
ViewVC logotype

Contents of /updates/5/youtube-dl/current/SPECS/youtube-dl.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1184186 - (show annotations) (download)
Sat Dec 23 09:00:28 2017 UTC (6 years, 3 months ago) by daviddavid
File size: 1017 byte(s)
- new version: 2017.12.14 (mga#22233)

1 Name: youtube-dl
2 Version: 2017.12.14
3 Release: %mkrel 1
4 Summary: Small command-line program to download videos from YouTube
5 License: Public Domain
6 Group: Video/Players
7 URL: http://rg3.github.io/youtube-dl
8 Source0: https://yt-dl.org/downloads/%{version}/%{name}-%{version}.tar.gz
9 Source1: https://yt-dl.org/downloads/%{version}/%{name}-%{version}.tar.gz.sig
10 BuildArch: noarch
11 BuildRequires: zip
12 Requires: python3
13
14 %description
15 Small command-line program to download videos from YouTube.
16
17 %prep
18 %setup -q -n %{name}
19 rm youtube-dl
20
21 %build
22
23 %install
24 %makeinstall_std DESTDIR="%{buildroot}" PREFIX="%{_prefix}" MANDIR="%{_mandir}"
25
26 # force the youtube-dl binary to use python 3 environment by default
27 sed -i -e 's,#!/usr/bin/env python,#!/usr/bin/env python3,' %{buildroot}%{_bindir}/%{name}
28
29 %files
30 %doc README.txt
31 %attr(0755,root,root) %{_bindir}/%{name}
32 %{_sysconfdir}/bash_completion.d/youtube-dl
33 %{_sysconfdir}/fish/completions/youtube-dl.fish
34 %{_datadir}/zsh/site-functions/_youtube-dl
35 %{_mandir}/man1/%{name}.1.*

  ViewVC Help
Powered by ViewVC 1.1.30