]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # TODO: fix patches | |
3 | # | |
4 | %include /usr/lib/rpm/macros.perl | |
5 | Summary: Video extraction utility for YouTube and Google Video | |
6 | Summary(hu.UTF-8): Videó letöltő a YouTube és a Google Video oldalakról | |
7 | Summary(pl.UTF-8): Narzędzie do wydobywania filmów z YouTube i Google Video | |
8 | Name: clive | |
9 | Version: 2.2.13 | |
10 | Release: 0.1 | |
11 | License: GPL v3+ | |
12 | Group: Applications/System | |
13 | Source0: http://clive.googlecode.com/files/%{name}-%{version}.tar.bz2 | |
14 | # Source0-md5: 6ad61cce56ad1f81527079d6422cc953 | |
15 | URL: http://clive.sourceforge.net/ | |
16 | #Patch0: %{name}-delfi.patch | |
17 | #Patch1: %{name}-reporter.patch | |
18 | #Patch2: %{name}-spz.patch | |
19 | BuildRequires: perl-tools-pod | |
20 | BuildRequires: rpm-perlprov >= 4.1-13 | |
21 | Requires: perl-BerkeleyDB >= 0.34 | |
22 | Requires: perl-Class-Singleton | |
23 | Requires: perl-Config-Tiny >= 2.12 | |
24 | Requires: perl-Getopt-ArgvFile | |
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 | |
29 | Requires: perl-base >= 1:5.8.0 | |
30 | BuildArch: noarch | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
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. | |
38 | ||
39 | %description -l hu.UTF-8 | |
40 | clive egy videó letöltő eszköz felhasználó által feltöltött videó | |
41 | oldalakhoz, úgymint a YouTube, Google Video, Dailymotion, Guba és | |
42 | Metacafe. Külső eszközökkel összekapcsolható, videó újrakódolásához és | |
43 | lejátszásához. | |
44 | ||
45 | %description -l pl.UTF-8 | |
46 | clive to działający z linii poleceń program do wydobywania filmów z | |
47 | serwisów YouTube, Google Video i Dailymotion. Obsługuje wyciąganie | |
48 | osadzonych filmów i może być używany wraz z zewnętrznym koderem (np. | |
49 | ffmpegiem) do przekodowywania wyciągniętych filmów do innych formatów | |
50 | (np. AVI, MPEG, flv). | |
51 | ||
52 | %prep | |
53 | %setup -q | |
54 | #%%patch0 -p1 | |
55 | #%%patch1 -p1 | |
56 | #%%patch2 -p1 | |
57 | ||
58 | %build | |
59 | pod2man bin/clive > clive.1 | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{perl_vendorlib}/clive} | |
64 | install bin/%{name} $RPM_BUILD_ROOT%{_bindir} | |
65 | cp -a clive.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
66 | cp -r lib/clive/* $RPM_BUILD_ROOT%{perl_vendorlib}/clive | |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
73 | %doc ChangeLog NEWS README | |
74 | %attr(755,root,root) %{_bindir}/clive | |
75 | %{perl_vendorlib}/clive | |
76 | %{_mandir}/man1/clive.1* |