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