]> git.pld-linux.org Git - packages/clive.git/blame - clive.spec
- cp from clive-0.4.6/setup.py
[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
8e6f4ee7
ER
4Version: 0.4.10
5Release: 0.12
653e1c1c 6License: GPL v2+
228e09f9 7Group: Applications/System
8e6f4ee7
ER
8Source0: http://dl.sourceforge.net/clive/%{name}-%{version}.tar.bz2
9# Source0-md5: f6aec28af6b7794e2c4c833d80c8284a
0c701cd2 10Patch0: %{name}-setup.patch
56de53d2 11Patch1: %{name}-delfi.patch
d58c37d0 12Patch2: %{name}-spz.patch
228e09f9 13URL: http://home.gna.org/clive/
8e6f4ee7
ER
14BuildRequires: autoconf
15BuildRequires: automake
16BuildRequires: python-devel >= 1:2.4
b5c98a45 17BuildRequires: rpm-pythonprov
0c701cd2 18BuildRequires: rpmbuild(macros) >= 1.219
b5c98a45 19%pyrequires_eq python-libs
8e6f4ee7
ER
20Requires: python >= 2.4
21Requires: python-feedparser >= 3.3
22Requires: python-snack >= 0.51
23Requires: python-urlgrabber >= 3.0.0
975ce4e0 24BuildArch: noarch
228e09f9
AM
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
8e6f4ee7
ER
28clive is a video extraction tool for user-uploaded video hosts such as Youtube,
29Google Video, Dailymotion, Guba and Metacafe. It can be chained with 3rd party
30tools for subsequent video re-encoding and playing and playing.
b5c98a45
JB
31
32%description -l pl.UTF-8
33clive to działający z linii poleceń program do wydobywania filmów z
34serwisów YouTube, Google Video i Dailymotion. Obsługuje wyciąganie
35osadzonych filmów i może być używany zewnętrznym koderem (np.
36ffmpegiem) do przekodowywania wyciągniętych filmów do innych formatów
37(np. AVI, MPEG, flv).
228e09f9
AM
38
39%prep
40%setup -q
8e6f4ee7
ER
41#%patch0 -p1
42#%patch1 -p1
43#%patch2 -p1
44
45#rm -rf src/clive/{urlgrabber,feedparser,newt}
46
47%{__sed} -i -e 's,\(SUBDIRS = \)urlgrabber feedparser newt,\1,' src/clive/Makefile.am
48rm -f configure aclocal.m4
49%{__sed} -i -e 's,\(from\|import\) clive.\(newt\|urlgrabber\),\1 \2,' src/clive/*.py
50%{__sed} -i -e 's,from clive\.feedparser ,,' src/clive/*.py
51%{__sed} -i -e 's,\(import\) clive\.feedparser\.,\1 ,' src/clive/*.py
52
228e09f9
AM
53
54%build
8e6f4ee7
ER
55%{__aclocal}
56%{__autoconf}
57%{__autoheader}
58%{__automake}
59%configure \
60 --host=%{_arch}-pld-linux \
61 --build=%{_arch}-pld-linux \
62 --without-newt
63%{__make}
228e09f9
AM
64
65%install
66rm -rf $RPM_BUILD_ROOT
8e6f4ee7
ER
67%{__make} install \
68 DESTDIR=$RPM_BUILD_ROOT
228e09f9 69
0c701cd2 70%py_postclean
228e09f9
AM
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
76%defattr(644,root,root,755)
653e1c1c
JB
77%doc AUTHORS ChangeLog README
78%attr(755,root,root) %{_bindir}/clive
228e09f9
AM
79%dir %{py_sitescriptdir}/%{name}
80%{py_sitescriptdir}/%{name}/*.py[co]
8e6f4ee7
ER
81
82%if "%{py_ver}" > "2.4"
653e1c1c 83%{py_sitescriptdir}/clive-*.egg-info
8e6f4ee7 84%endif
228e09f9 85%{_mandir}/man1/clive.1*
This page took 0.090829 seconds and 4 git commands to generate.