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