/[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 181076 - (show 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 Name: youtube-dl
2 Version: 2011.12.08
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
20
21 %description
22 Small command-line program to download videos from YouTube.
23
24
25 %prep
26 #nothing to prep
27
28 %build
29 #nothing to build
30
31 %install
32 #python executable
33 install -D -p -m 755 %{_sourcedir}/%{name} %{buildroot}%{_bindir}/%{name}
34
35 #man page by Rogerio Brito <rbrito@users.sf.net>, licensed under GPLv2 - from Debian package
36 install -D -p -m 644 %{_sourcedir}/%{name}.1.gz %{buildroot}%{_mandir}/man1/%{name}.1.gz
37
38 #license
39 mkdir -p %{buildroot}%{_datadir}/doc/%{name}
40 echo "The program is in the Public Domain." > %{buildroot}%{_datadir}/doc/%{name}/COPYRIGHT
41 chmod 0644 %{buildroot}%{_datadir}/doc/%{name}/COPYRIGHT
42
43 #docs
44 install -p -m 644 %{_sourcedir}/about %{buildroot}%{_datadir}/doc/%{name}
45 install -p -m 644 %{_sourcedir}/documentation %{buildroot}%{_datadir}/doc/%{name}
46
47 %files
48 %doc %{_datadir}/doc/%{name}
49 %{_bindir}/%{name}
50 %{_mandir}/man?/*

  ViewVC Help
Powered by ViewVC 1.1.30