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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1426671 - (show annotations) (download)
Thu Aug 1 09:13:36 2019 UTC (4 years, 7 months ago) by daviddavid
File size: 1008 byte(s)
- new version: 2019.07.30 (mga#25208)

1 Name: youtube-dl
2 Version: 2019.07.30
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 %make_install 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 %license LICENSE
32 %attr(0755,root,root) %{_bindir}/%{name}
33 %{_sysconfdir}/bash_completion.d/youtube-dl
34 %{_sysconfdir}/fish/completions/youtube-dl.fish
35 %{_datadir}/zsh/site-functions/_youtube-dl
36 %{_mandir}/man1/%{name}.1.*

  ViewVC Help
Powered by ViewVC 1.1.30