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