/[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 181076 - (hide annotations) (download)
Tue Dec 13 01:21:44 2011 UTC (12 years, 4 months ago) by kamil
Original Path: cauldron/youtube-dl/current/SPECS/youtube-dl.spec
File size: 1525 byte(s)
- new version
- replace %{SOURCEXYZ} with %{_sourcedir}/file-name
- drop cleaning in %install

1 kamil 160756 Name: youtube-dl
2 kamil 181076 Version: 2011.12.08
3 kamil 160771 Release: %mkrel 1
4 kamil 160756 Summary: Small command-line program to download videos from YouTube
5 kamil 160771 License: Public Domain and GPLv2
6     Group: Video
7 kamil 160756 URL: http://rg3.github.com/youtube-dl/
8 kamil 160771
9 kamil 160756 Source0: https://github.com/rg3/youtube-dl/raw/%{version}/youtube-dl
10 kamil 160771 #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 kamil 160756 BuildArch: noarch
19 obgr_seneca 161811 Requires: python
20 kamil 160756
21     %description
22     Small command-line program to download videos from YouTube.
23    
24 kamil 181076
25 kamil 160756 %prep
26     #nothing to prep
27    
28     %build
29     #nothing to build
30    
31     %install
32 kamil 160771 #python executable
33 kamil 181076 install -D -p -m 755 %{_sourcedir}/%{name} %{buildroot}%{_bindir}/%{name}
34 kamil 160756
35 kamil 160771 #man page by Rogerio Brito <rbrito@users.sf.net>, licensed under GPLv2 - from Debian package
36 kamil 181076 install -D -p -m 644 %{_sourcedir}/%{name}.1.gz %{buildroot}%{_mandir}/man1/%{name}.1.gz
37 kamil 160771
38     #license
39     mkdir -p %{buildroot}%{_datadir}/doc/%{name}
40 kamil 174034 echo "The program is in the Public Domain." > %{buildroot}%{_datadir}/doc/%{name}/COPYRIGHT
41     chmod 0644 %{buildroot}%{_datadir}/doc/%{name}/COPYRIGHT
42 kamil 160771
43     #docs
44 kamil 181076 install -p -m 644 %{_sourcedir}/about %{buildroot}%{_datadir}/doc/%{name}
45     install -p -m 644 %{_sourcedir}/documentation %{buildroot}%{_datadir}/doc/%{name}
46 kamil 160771
47 kamil 160756 %files
48 obgr_seneca 161811 %doc %{_datadir}/doc/%{name}
49 kamil 160756 %{_bindir}/%{name}
50 kamil 160771 %{_mandir}/man?/*

  ViewVC Help
Powered by ViewVC 1.1.30