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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 868964 - (hide annotations) (download)
Mon Aug 24 11:36:56 2015 UTC (8 years, 7 months ago) by daviddavid
Original Path: cauldron/youtube-dl/current/SPECS/youtube-dl.spec
File size: 1017 byte(s)
new version: 2015.08.23

1 dams 592041 Name: youtube-dl
2 daviddavid 868964 Version: 2015.08.23
3 cjw 797937 Release: %mkrel 1
4 dams 592041 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 daviddavid 853170 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 dams 592041 BuildArch: noarch
11     BuildRequires: zip
12 daviddavid 853170 Requires: python3
13 kamil 160771
14 kamil 160756 %description
15     Small command-line program to download videos from YouTube.
16    
17     %prep
18 dams 592041 %setup -q -n %{name}
19     rm youtube-dl
20 kamil 160756
21     %build
22    
23     %install
24 dams 592041 %makeinstall_std DESTDIR="%{buildroot}" PREFIX="%{_prefix}" MANDIR="%{_mandir}"
25 kamil 160756
26 daviddavid 853170 # 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 kamil 160756 %files
30 daviddavid 817634 %doc README.txt
31 cjw 797937 %attr(0755,root,root) %{_bindir}/%{name}
32 kamil 410691 %{_sysconfdir}/bash_completion.d/youtube-dl
33 cjw 797937 %{_sysconfdir}/fish/completions/youtube-dl.fish
34     %{_datadir}/zsh/site-functions/_youtube-dl
35 dams 592041 %{_mandir}/man1/%{name}.1.*

  ViewVC Help
Powered by ViewVC 1.1.30