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