]>
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 |
f437f9fb | 4 | Version: 0.4.3 |
792f0a0e | 5 | Release: 0.1 |
228e09f9 AM |
6 | License: GPL |
7 | Group: Applications/System | |
73d9f416 | 8 | Source0: http://dl.gna.org/clive/0.4/src/%{name}-%{version}.tar.gz |
f437f9fb | 9 | # Source0-md5: c5167e755d648dbf33c11bd6a4bf6f75 |
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 | |
0c701cd2 | 41 | %{__gzip} -d man/*.gz |
228e09f9 AM |
42 | |
43 | %build | |
44 | python setup.py build | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
228e09f9 | 48 | python setup.py install \ |
0c701cd2 ER |
49 | --optimize=2 \ |
50 | --root=$RPM_BUILD_ROOT | |
228e09f9 | 51 | |
0c701cd2 | 52 | %py_postclean |
228e09f9 AM |
53 | |
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %doc AUTHORS ChangeLog README TODO | |
60 | %attr(755,root,root) %{_bindir}/* | |
61 | %dir %{py_sitescriptdir}/%{name} | |
62 | %{py_sitescriptdir}/%{name}/*.py[co] | |
63 | %{py_sitescriptdir}/*.egg-info | |
64 | %{_mandir}/man1/clive.1* |