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