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