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