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