]> git.pld-linux.org Git - packages/clive.git/blob - clive.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/clive.git] / clive.spec
1 #
2 # TODO: fix patches and send upstream or abandon them
3 #
4 Summary:        Video extraction utility for YouTube and Google Video
5 Summary(hu.UTF-8):      Videó letöltő a YouTube és a Google Video oldalakról
6 Summary(pl.UTF-8):      Narzędzie do wydobywania filmów z YouTube i Google Video
7 Name:           clive
8 Version:        2.2.28
9 Release:        1
10 License:        GPL v3+
11 Group:          Applications/System
12 #Source0Download: http://code.google.com/p/clive/downloads/list
13 Source0:        http://downloads.sourceforge.net/clive/%{name}-%{version}.tar.gz
14 # Source0-md5:  85e6acbe8e6d1398993d32ea2140c560
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 >= 1:5.8.9
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 Requires:       perl(URI::Escape) >= 3.29
22 Requires:       perl-BerkeleyDB >= 0.34
23 Requires:       perl-Class-Singleton >= 1.4
24 Requires:       perl-Config-Tiny >= 2.12
25 Requires:       perl-Digest-SHA >= 5.45
26 Requires:       perl-Getopt-ArgvFile >= 1.11
27 Requires:       perl-HTML-TokeParser-Simple >= 2.37
28 Requires:       perl-IO-Pager >= 0.05
29 Requires:       perl-WWW-Curl >= 4.0.5
30 Requires:       perl-XML-Simple >= 2.18
31 Requires:       perl-base >= 1:5.8.0
32 Requires:       perl-version >= 0.77
33 BuildArch:      noarch
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 clive is a video extraction tool for user-uploaded video hosts such as
38 Youtube, Google Video, Dailymotion, Guba and Metacafe. It can be
39 chained with 3rd party tools for subsequent video re-encoding and
40 playing.
41
42 %description -l hu.UTF-8
43 clive egy videó letöltő eszköz felhasználó által feltöltött videó
44 oldalakhoz, úgymint a YouTube, Google Video, Dailymotion, Guba és
45 Metacafe. Külső eszközökkel összekapcsolható, videó újrakódolásához és
46 lejátszásához.
47
48 %description -l pl.UTF-8
49 clive to działający z linii poleceń program do wydobywania filmów z
50 serwisów YouTube, Google Video i Dailymotion. Obsługuje wyciąganie
51 osadzonych filmów i może być używany wraz z zewnętrznym koderem (np.
52 ffmpegiem) do przekodowywania wyciągniętych filmów do innych formatów
53 (np. AVI, MPEG, flv).
54
55 %prep
56 %setup -q
57 #%%patch0 -p1
58 #%%patch1 -p1
59 #%%patch2 -p1
60
61 %build
62 pod2man bin/clive > clive.1
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{perl_vendorlib}/clive}
67 install bin/%{name} $RPM_BUILD_ROOT%{_bindir}
68 cp -a clive.1 $RPM_BUILD_ROOT%{_mandir}/man1
69 cp -a lib/clive/* $RPM_BUILD_ROOT%{perl_vendorlib}/clive
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc ChangeLog NEWS README
77 %attr(755,root,root) %{_bindir}/clive
78 %{perl_vendorlib}/clive
79 %{_mandir}/man1/clive.1*
This page took 0.064772 seconds and 4 git commands to generate.