]>
Commit | Line | Data |
---|---|---|
d016d66e | 1 | # |
7e39df2a | 2 | # TODO: fix patches and send upstream or abandon them |
d016d66e | 3 | # |
bec233b2 | 4 | %include /usr/lib/rpm/macros.perl |
228e09f9 | 5 | Summary: Video extraction utility for YouTube and Google Video |
003e93d6 | 6 | Summary(hu.UTF-8): Videó letöltő a YouTube és a Google Video oldalakról |
b5c98a45 | 7 | Summary(pl.UTF-8): Narzędzie do wydobywania filmów z YouTube i Google Video |
228e09f9 | 8 | Name: clive |
7e39df2a | 9 | Version: 2.2.18 |
d016d66e | 10 | Release: 0.1 |
11 | License: GPL v3+ | |
228e09f9 | 12 | Group: Applications/System |
7e39df2a | 13 | #Source0Download: http://code.google.com/p/clive/downloads/list |
e7553d72 | 14 | Source0: http://clive.googlecode.com/files/%{name}-%{version}.tar.bz2 |
7e39df2a | 15 | # Source0-md5: b2d0c255c4c86f1ae9f49e438e9ac8f7 |
bec233b2 | 16 | URL: http://clive.sourceforge.net/ |
d016d66e | 17 | #Patch0: %{name}-delfi.patch |
18 | #Patch1: %{name}-reporter.patch | |
19 | #Patch2: %{name}-spz.patch | |
0a15947a | 20 | BuildRequires: perl-tools-pod |
bec233b2 | 21 | BuildRequires: rpm-perlprov >= 4.1-13 |
e7553d72 | 22 | Requires: perl-BerkeleyDB >= 0.34 |
d016d66e | 23 | Requires: perl-Class-Singleton |
e7553d72 | 24 | Requires: perl-Config-Tiny >= 2.12 |
d016d66e | 25 | Requires: perl-Getopt-ArgvFile |
e7553d72 | 26 | Requires: perl-HTML-TokeParser-Simple >= 2.37 |
27 | Requires: perl-IO-Pager >= 0.05 | |
28 | Requires: perl-WWW-Curl >= 4.0.5 | |
29 | Requires: perl-XML-Simple >= 2.18 | |
bec233b2 | 30 | Requires: perl-base >= 1:5.8.0 |
975ce4e0 | 31 | BuildArch: noarch |
228e09f9 AM |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
34 | %description | |
e7553d72 | 35 | clive is a video extraction tool for user-uploaded video hosts such as |
36 | Youtube, Google Video, Dailymotion, Guba and Metacafe. It can be | |
37 | chained with 3rd party tools for subsequent video re-encoding and | |
38 | playing and playing. | |
b5c98a45 | 39 | |
003e93d6 | 40 | %description -l hu.UTF-8 |
c50ec1d9 | 41 | clive egy videó letöltő eszköz felhasználó által feltöltött videó |
42 | oldalakhoz, úgymint a YouTube, Google Video, Dailymotion, Guba és | |
43 | Metacafe. Külső eszközökkel összekapcsolható, videó újrakódolásához és | |
44 | lejátszásához. | |
003e93d6 | 45 | |
b5c98a45 | 46 | %description -l pl.UTF-8 |
c50ec1d9 | 47 | clive to działający z linii poleceń program do wydobywania filmów z |
48 | serwisów YouTube, Google Video i Dailymotion. Obsługuje wyciąganie | |
49 | osadzonych filmów i może być używany wraz z zewnętrznym koderem (np. | |
50 | ffmpegiem) do przekodowywania wyciągniętych filmów do innych formatów | |
51 | (np. AVI, MPEG, flv). | |
228e09f9 AM |
52 | |
53 | %prep | |
54 | %setup -q | |
d016d66e | 55 | #%%patch0 -p1 |
56 | #%%patch1 -p1 | |
0f8b870f | 57 | #%%patch2 -p1 |
228e09f9 | 58 | |
0a15947a | 59 | %build |
d016d66e | 60 | pod2man bin/clive > clive.1 |
0a15947a | 61 | |
228e09f9 AM |
62 | %install |
63 | rm -rf $RPM_BUILD_ROOT | |
d016d66e | 64 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{perl_vendorlib}/clive} |
65 | install bin/%{name} $RPM_BUILD_ROOT%{_bindir} | |
0a15947a | 66 | cp -a clive.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
d016d66e | 67 | cp -r lib/clive/* $RPM_BUILD_ROOT%{perl_vendorlib}/clive |
228e09f9 AM |
68 | |
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
14b7d301 | 74 | %doc ChangeLog NEWS README |
653e1c1c | 75 | %attr(755,root,root) %{_bindir}/clive |
ea6e67eb | 76 | %{perl_vendorlib}/clive |
0a15947a | 77 | %{_mandir}/man1/clive.1* |