]>
Commit | Line | Data |
---|---|---|
228e09f9 | 1 | Summary: Video extraction utility for YouTube and Google Video |
b5c98a45 | 2 | Summary(pl.UTF-8): Narzędzie do wydobywania filmów z YouTube i Google Video |
228e09f9 | 3 | Name: clive |
39828cd3 | 4 | Version: 0.3.1 |
228e09f9 AM |
5 | Release: 1 |
6 | License: GPL | |
7 | Group: Applications/System | |
39828cd3 AM |
8 | Source0: http://dl.gna.org/clive/0.3/src/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 2ba7b7ea3af64177fed7748e1736ce56 | |
228e09f9 | 10 | URL: http://home.gna.org/clive/ |
b5c98a45 JB |
11 | BuildRequires: python-devel >= 1:2.5 |
12 | BuildRequires: rpm-pythonprov | |
13 | %pyrequires_eq python-libs | |
39828cd3 | 14 | Requires: python-urlgrabber >= 2.9.9 |
975ce4e0 | 15 | BuildArch: noarch |
228e09f9 AM |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | clive is a command line program that extracts videos from YouTube, | |
20 | Google Video and Dailymotion websites. It supports embedded video | |
21 | extraction, and can be used with an external encoder (e.g. ffmpeg) to | |
b5c98a45 JB |
22 | re-encode the extracted videos to different video formats (e.g. AVI, |
23 | MPEG, flv). | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | clive to działający z linii poleceń program do wydobywania filmów z | |
27 | serwisów YouTube, Google Video i Dailymotion. Obsługuje wyciąganie | |
28 | osadzonych filmów i może być używany zewnętrznym koderem (np. | |
29 | ffmpegiem) do przekodowywania wyciągniętych filmów do innych formatów | |
30 | (np. AVI, MPEG, flv). | |
228e09f9 AM |
31 | |
32 | %prep | |
33 | %setup -q | |
34 | ||
35 | %build | |
36 | python setup.py build | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
228e09f9 AM |
40 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
41 | ||
42 | python setup.py install \ | |
43 | --optimize=2 \ | |
44 | --root=$RPM_BUILD_ROOT | |
45 | ||
46 | gzip -d man/*.gz | |
47 | install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc AUTHORS ChangeLog README TODO | |
55 | %attr(755,root,root) %{_bindir}/* | |
56 | %dir %{py_sitescriptdir}/%{name} | |
57 | %{py_sitescriptdir}/%{name}/*.py[co] | |
58 | %{py_sitescriptdir}/*.egg-info | |
59 | %{_mandir}/man1/clive.1* |