1 %include /usr/lib/rpm/macros.perl
2 Summary: Video extraction utility for YouTube and Google Video
3 Summary(hu.UTF-8): Videó letöltő a YouTube és a Google Video oldalakról
4 Summary(pl.UTF-8): Narzędzie do wydobywania filmów z YouTube i Google Video
9 Group: Applications/System
10 Source0: http://clive.googlecode.com/files/%{name}-%{version}.tar.bz2
11 # Source0-md5: c3f4ba00e4fed798830ad1e09b9c9ace
12 URL: http://clive.sourceforge.net/
13 Patch0: %{name}-delfi.patch
14 Patch1: %{name}-reporter.patch
15 #Patch2: %{name}-spz.patch
16 BuildRequires: perl-tools-pod
17 BuildRequires: rpm-perlprov >= 4.1-13
18 BuildRequires: sed >= 4.0
19 Requires: perl-BerkeleyDB >= 0.34
20 Requires: perl-Config-Tiny >= 2.12
21 Requires: perl-HTML-TokeParser-Simple >= 2.37
22 Requires: perl-IO-Pager >= 0.05
23 Requires: perl-WWW-Curl >= 4.0.5
24 Requires: perl-XML-Simple >= 2.18
25 Requires: perl-base >= 1:5.8.0
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 clive is a video extraction tool for user-uploaded video hosts such as
31 Youtube, Google Video, Dailymotion, Guba and Metacafe. It can be
32 chained with 3rd party tools for subsequent video re-encoding and
35 %description -l hu.UTF-8
36 clive egy videó letöltő eszköz felhasználó által feltöltött videó
37 oldalakhoz, úgymint a YouTube, Google Video, Dailymotion, Guba és
38 Metacafe. Külső eszközökkel összekapcsolható, videó újrakódolásához és
41 %description -l pl.UTF-8
42 clive to działający z linii poleceń program do wydobywania filmów z
43 serwisów YouTube, Google Video i Dailymotion. Obsługuje wyciąganie
44 osadzonych filmów i może być używany wraz z zewnętrznym koderem (np.
45 ffmpegiem) do przekodowywania wyciągniętych filmów do innych formatów
50 %{__sed} -i -e '1s,#.*perl,#!%{__perl},' clive
56 pod2man clive > clive.1
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
61 install %{name} $RPM_BUILD_ROOT%{_bindir}
62 cp -a clive.1 $RPM_BUILD_ROOT%{_mandir}/man1
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
70 %attr(755,root,root) %{_bindir}/clive
71 %{_mandir}/man1/clive.1*