/[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 160771 - (show annotations) (download)
Tue Nov 1 03:32:36 2011 UTC (12 years, 5 months ago) by kamil
Original Path: cauldron/youtube-dl/current/SPECS/youtube-dl.spec
File size: 1570 byte(s)
- new version
- added man page from Debian package under GPLv2
- added docs from the project website

1 Name: youtube-dl
2 Version: 2011.10.19
3 Release: %mkrel 1
4 Summary: Small command-line program to download videos from YouTube
5 License: Public Domain and GPLv2
6 Group: Video
7 URL: http://rg3.github.com/youtube-dl/
8
9 Source0: https://github.com/rg3/youtube-dl/raw/%{version}/youtube-dl
10 #man page from Debian by Rogerio Brito <rbrito@users.sf.net>, licensed under GPLv2
11 Source1: youtube-dl.1.gz
12 #from the website
13 #http://rg3.github.com/youtube-dl/about.html
14 Source10: about
15 #http://rg3.github.com/youtube-dl/documentation.html
16 Source11: documentation
17
18 BuildArch: noarch
19 Requires: python >= 2.5
20
21
22 %description
23 Small command-line program to download videos from YouTube.
24
25 %prep
26 #nothing to prep
27
28 %build
29 #nothing to build
30
31 %install
32 rm -rf %{buildroot}
33
34 #python executable
35 mkdir -p %{buildroot}%{_bindir}
36 install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}
37
38 #man page by Rogerio Brito <rbrito@users.sf.net>, licensed under GPLv2 - from Debian package
39 mkdir -p %{buildroot}%{_mandir}/man1
40 install -p -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1
41
42 #license
43 mkdir -p %{buildroot}%{_datadir}/doc/%{name}
44 echo "The program is in the Public Domain." > %{buildroot}%{_datadir}/doc/%{name}/copyright
45 chmod 0644 %{buildroot}%{_datadir}/doc/%{name}/copyright
46
47 #docs
48 install -p -m 644 %{SOURCE10} %{buildroot}%{_datadir}/doc/%{name}
49 install -p -m 644 %{SOURCE11} %{buildroot}%{_datadir}/doc/%{name}
50
51 %files
52 %defattr(-,root,root)
53 %doc %{_datadir}/doc/%{name}/*
54 %{_bindir}/%{name}
55 %{_mandir}/man?/*
56
57

  ViewVC Help
Powered by ViewVC 1.1.30