]> git.pld-linux.org Git - packages/clive.git/blob - clive.spec
- release 2 (1 for ac)
[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.5
5 Release:        2
6 License:        GPL v2+
7 Group:          Applications/System
8 Source0:        http://dl.gna.org/clive/0.4/src/%{name}-%{version}.tar.gz
9 # Source0-md5:  d0780d82589975f6226e8974cf737d37
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
42 %build
43 python setup.py build
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 python setup.py install \
48         --optimize=2 \
49         --root=$RPM_BUILD_ROOT
50
51 %py_postclean
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc AUTHORS ChangeLog README
59 %attr(755,root,root) %{_bindir}/clive
60 %dir %{py_sitescriptdir}/%{name}
61 %{py_sitescriptdir}/%{name}/*.py[co]
62 %{py_sitescriptdir}/clive-*.egg-info
63 %{_mandir}/man1/clive.1*
This page took 0.076079 seconds and 3 git commands to generate.