]> git.pld-linux.org Git - packages/clive.git/blob - clive.spec
- up to 2.1.3
[packages/clive.git] / clive.spec
1 # TODO
2 # - check if it work
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.1.3
10 Release:        0.1
11 License:        GPL v2+
12 Group:          Applications/System
13 Source0:        http://clive.googlecode.com/files/%{name}-%{version}.tar.bz2
14 # Source0-md5:  3e1cbaa365f0c0e09839dbcb85ab8415
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 BuildRequires:  sed >= 4.0
22 Requires:       perl-BerkeleyDB >= 0.34
23 Requires:       perl-Config-Tiny >= 2.12
24 Requires:       perl-HTML-TokeParser-Simple >= 2.37
25 Requires:       perl-IO-Pager >= 0.05
26 Requires:       perl-WWW-Curl >= 4.0.5
27 Requires:       perl-XML-Simple >= 2.18
28 Requires:       perl-base >= 1:5.8.0
29 BuildArch:      noarch
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 clive is a video extraction tool for user-uploaded video hosts such as
34 Youtube, Google Video, Dailymotion, Guba and Metacafe. It can be
35 chained with 3rd party tools for subsequent video re-encoding and
36 playing and playing.
37
38 %description -l hu.UTF-8
39 clive egy videó letöltő eszköz felhasználó által feltöltött videó
40 oldalakhoz, úgymint a YouTube, Google Video, Dailymotion, Guba és
41 Metacafe. Külső eszközökkel összekapcsolható, videó újrakódolásához és
42 lejátszásához.
43
44 %description -l pl.UTF-8
45 clive to działający z linii poleceń program do wydobywania filmów z
46 serwisów YouTube, Google Video i Dailymotion. Obsługuje wyciąganie
47 osadzonych filmów i może być używany wraz z zewnętrznym koderem (np.
48 ffmpegiem) do przekodowywania wyciągniętych filmów do innych formatów
49 (np. AVI, MPEG, flv).
50
51 %prep
52 %setup -q
53 %{__sed} -i -e '1s,#.*perl,#!%{__perl},' clive
54 %patch0 -p1
55 %patch1 -p1
56 #%%patch2 -p1
57
58 %build
59 pod2man clive > clive.1
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
64 install %{name} $RPM_BUILD_ROOT%{_bindir}
65 cp -a clive.1 $RPM_BUILD_ROOT%{_mandir}/man1
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc AUTHORS CHANGES TODO
73 %attr(755,root,root) %{_bindir}/clive
74 %{_mandir}/man1/clive.1*
This page took 0.027549 seconds and 3 git commands to generate.