]> git.pld-linux.org Git - packages/clive.git/blob - clive.spec
- rel down as patches not updated
[packages/clive.git] / clive.spec
1 Summary:        Video extraction utility for YouTube and Google Video
2 Summary(pl.UTF-8):      Narzędzie do wydobywania filmów z YouTube i Google Video
3 Name:           clive
4 Version:        0.4.3
5 Release:        0.1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://dl.gna.org/clive/0.4/src/%{name}-%{version}.tar.gz
9 # Source0-md5:  c5167e755d648dbf33c11bd6a4bf6f75
10 Patch0:         %{name}-setup.patch
11 Patch1:         %{name}-delfi.patch
12 Patch2:         %{name}-spz.patch
13 URL:            http://home.gna.org/clive/
14 BuildRequires:  python-devel >= 1:2.5
15 BuildRequires:  rpm-pythonprov
16 BuildRequires:  rpmbuild(macros) >= 1.219
17 %pyrequires_eq  python-libs
18 Requires:       python-urlgrabber >= 2.9.9
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 clive is a command line program that extracts videos from YouTube,
24 Google Video and Dailymotion websites. It supports embedded video
25 extraction, and can be used with an external encoder (e.g. ffmpeg) to
26 re-encode the extracted videos to different video formats (e.g. AVI,
27 MPEG, flv).
28
29 %description -l pl.UTF-8
30 clive to działający z linii poleceń program do wydobywania filmów z
31 serwisów YouTube, Google Video i Dailymotion. Obsługuje wyciąganie
32 osadzonych filmów i może być używany zewnętrznym koderem (np.
33 ffmpegiem) do przekodowywania wyciągniętych filmów do innych formatów
34 (np. AVI, MPEG, flv).
35
36 %prep
37 %setup -q
38 %patch0 -p1
39 %patch1 -p1
40 %patch2 -p1
41 %{__gzip} -d man/*.gz
42
43 %build
44 python setup.py build
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 python setup.py install \
49         --optimize=2 \
50         --root=$RPM_BUILD_ROOT
51
52 %py_postclean
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog README TODO
60 %attr(755,root,root) %{_bindir}/*
61 %dir %{py_sitescriptdir}/%{name}
62 %{py_sitescriptdir}/%{name}/*.py[co]
63 %{py_sitescriptdir}/*.egg-info
64 %{_mandir}/man1/clive.1*
This page took 0.090506 seconds and 3 git commands to generate.