]> git.pld-linux.org Git - packages/clive.git/blame - clive.spec
- add setup patch
[packages/clive.git] / clive.spec
CommitLineData
228e09f9 1Summary: Video extraction utility for YouTube and Google Video
b5c98a45 2Summary(pl.UTF-8): Narzędzie do wydobywania filmów z YouTube i Google Video
228e09f9 3Name: clive
39828cd3 4Version: 0.3.1
228e09f9
AM
5Release: 1
6License: GPL
7Group: Applications/System
39828cd3
AM
8Source0: http://dl.gna.org/clive/0.3/src/%{name}-%{version}.tar.gz
9# Source0-md5: 2ba7b7ea3af64177fed7748e1736ce56
0c701cd2 10Patch0: %{name}-setup.patch
228e09f9 11URL: http://home.gna.org/clive/
b5c98a45
JB
12BuildRequires: python-devel >= 1:2.5
13BuildRequires: rpm-pythonprov
0c701cd2 14BuildRequires: rpmbuild(macros) >= 1.219
b5c98a45 15%pyrequires_eq python-libs
39828cd3 16Requires: python-urlgrabber >= 2.9.9
975ce4e0 17BuildArch: noarch
228e09f9
AM
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21clive is a command line program that extracts videos from YouTube,
22Google Video and Dailymotion websites. It supports embedded video
23extraction, and can be used with an external encoder (e.g. ffmpeg) to
b5c98a45
JB
24re-encode the extracted videos to different video formats (e.g. AVI,
25MPEG, flv).
26
27%description -l pl.UTF-8
28clive to działający z linii poleceń program do wydobywania filmów z
29serwisów YouTube, Google Video i Dailymotion. Obsługuje wyciąganie
30osadzonych filmów i może być używany zewnętrznym koderem (np.
31ffmpegiem) do przekodowywania wyciągniętych filmów do innych formatów
32(np. AVI, MPEG, flv).
228e09f9
AM
33
34%prep
35%setup -q
0c701cd2
ER
36%patch0 -p1
37%{__gzip} -d man/*.gz
228e09f9
AM
38
39%build
40python setup.py build
41
42%install
43rm -rf $RPM_BUILD_ROOT
228e09f9 44python setup.py install \
0c701cd2
ER
45 --optimize=2 \
46 --root=$RPM_BUILD_ROOT
228e09f9 47
0c701cd2 48%py_postclean
228e09f9
AM
49
50%clean
51rm -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.074824 seconds and 4 git commands to generate.