]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # TODO: fix patches and send upstream or abandon them | |
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.28 | |
10 | Release: 1 | |
11 | License: GPL v3+ | |
12 | Group: Applications/System | |
13 | #Source0Download: http://code.google.com/p/clive/downloads/list | |
14 | Source0: http://downloads.sourceforge.net/clive/%{name}-%{version}.tar.gz | |
15 | # Source0-md5: 85e6acbe8e6d1398993d32ea2140c560 | |
16 | URL: http://clive.sourceforge.net/ | |
17 | #Patch0: %{name}-delfi.patch | |
18 | #Patch1: %{name}-reporter.patch | |
19 | #Patch2: %{name}-spz.patch | |
20 | BuildRequires: perl-tools-pod >= 1:5.8.9 | |
21 | BuildRequires: rpm-perlprov >= 4.1-13 | |
22 | Requires: perl(URI::Escape) >= 3.29 | |
23 | Requires: perl-BerkeleyDB >= 0.34 | |
24 | Requires: perl-Class-Singleton >= 1.4 | |
25 | Requires: perl-Config-Tiny >= 2.12 | |
26 | Requires: perl-Digest-SHA >= 5.45 | |
27 | Requires: perl-Getopt-ArgvFile >= 1.11 | |
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 | |
32 | Requires: perl-base >= 1:5.8.0 | |
33 | Requires: perl-version >= 0.77 | |
34 | BuildArch: noarch | |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
36 | ||
37 | %description | |
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. | |
42 | ||
43 | %description -l hu.UTF-8 | |
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. | |
48 | ||
49 | %description -l pl.UTF-8 | |
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). | |
55 | ||
56 | %prep | |
57 | %setup -q | |
58 | #%%patch0 -p1 | |
59 | #%%patch1 -p1 | |
60 | #%%patch2 -p1 | |
61 | ||
62 | %build | |
63 | pod2man bin/clive > clive.1 | |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{perl_vendorlib}/clive} | |
68 | install bin/%{name} $RPM_BUILD_ROOT%{_bindir} | |
69 | cp -a clive.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
70 | cp -a lib/clive/* $RPM_BUILD_ROOT%{perl_vendorlib}/clive | |
71 | ||
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
77 | %doc ChangeLog NEWS README | |
78 | %attr(755,root,root) %{_bindir}/clive | |
79 | %{perl_vendorlib}/clive | |
80 | %{_mandir}/man1/clive.1* |