Summary: Video extraction utility for YouTube and Google Video
+Summary(pl.UTF-8): Narzędzie do wydobywania filmów z YouTube i Google Video
Name: clive
-Version: 0.2.0
-Release: 1
+Version: 0.4.1
+Release: 3
License: GPL
Group: Applications/System
-Source0: http://dl.gna.org/clive/0.2/src/%{name}-%{version}.tar.gz
-# Source0-md5: c95efbae806eca1cce4120552bfdd1b8
+Source0: http://dl.gna.org/clive/0.4/src/%{name}-%{version}.tar.gz
+# Source0-md5: 2e24cc60997704742a988848675a7262
+Patch0: %{name}-setup.patch
+Patch1: %{name}-delfi.patch
+Patch2: %{name}-spz.patch
URL: http://home.gna.org/clive/
-BuildRequires: python-devel >= 2.5
+BuildRequires: python-devel >= 1:2.5
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+%pyrequires_eq python-libs
+Requires: python-urlgrabber >= 2.9.9
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
clive is a command line program that extracts videos from YouTube,
Google Video and Dailymotion websites. It supports embedded video
extraction, and can be used with an external encoder (e.g. ffmpeg) to
-re-encode the extracted videos to different video formats (e.g. avi,
-mpeg, flv).
+re-encode the extracted videos to different video formats (e.g. AVI,
+MPEG, flv).
+
+%description -l pl.UTF-8
+clive to działający z linii poleceń program do wydobywania filmów z
+serwisów YouTube, Google Video i Dailymotion. Obsługuje wyciąganie
+osadzonych filmów i może być używany zewnętrznym koderem (np.
+ffmpegiem) do przekodowywania wyciągniętych filmów do innych formatów
+(np. AVI, MPEG, flv).
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%{__gzip} -d man/*.gz
%build
python setup.py build
%install
rm -rf $RPM_BUILD_ROOT
-
-install -d $RPM_BUILD_ROOT%{_mandir}/man1
-
python setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
-gzip -d man/*.gz
-install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
+%py_postclean
%clean
rm -rf $RPM_BUILD_ROOT