]> git.pld-linux.org Git - packages/clive.git/blob - clive.spec
e84c88fcec8853e50be10db3e5377639f2857e3f
[packages/clive.git] / clive.spec
1 # TODO
2 # - update patches
3 # - check if it work
4 #
5 %include        /usr/lib/rpm/macros.perl
6 Summary:        Video extraction utility for YouTube and Google Video
7 Summary(hu.UTF-8):      Videó letöltő a YouTube és a Google Video oldalakról
8 Summary(pl.UTF-8):      Narzędzie do wydobywania filmów z YouTube i Google Video
9 Name:           clive
10 Version:        2.1.2
11 Release:        0.1
12 License:        GPL v2+
13 Group:          Applications/System
14 Source0:        http://clive.googlecode.com/files/%{name}-%{version}.tar.bz2
15 # Source0-md5:  ba55efeb1e0dec8726ab42719c166212
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
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 BuildRequires:  sed >= 4.0
23 Requires:       perl-BerkeleyDB >= 0.34
24 Requires:       perl-Config-Tiny >= 2.12
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 %{__sed} -i -e '1s,#.*perl,#!%{__perl},' clive
55 %patch0 -p1
56 %patch1 -p1
57 #%%patch2 -p1
58
59 %build
60 pod2man clive > clive.1
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
65 install %{name} $RPM_BUILD_ROOT%{_bindir}
66 cp -a clive.1 $RPM_BUILD_ROOT%{_mandir}/man1
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc AUTHORS CHANGES TODO
74 %attr(755,root,root) %{_bindir}/clive
75 %{_mandir}/man1/clive.1*
This page took 0.094952 seconds and 2 git commands to generate.