X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=clive.spec;h=84e91e763f3b94ed96cff7000bd54dc03c6eb090;hb=d58c37d0ba6ce8b1f7d1d03f190b1f516bcea98b;hp=cf7fa4dd28bb607c60a002235fc96ecdd3412d99;hpb=975ce4e03a685830c0a4bda6c8be60db63bafd6a;p=packages%2Fclive.git diff --git a/clive.spec b/clive.spec index cf7fa4d..84e91e7 100644 --- a/clive.spec +++ b/clive.spec @@ -1,13 +1,21 @@ 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) @@ -15,26 +23,33 @@ 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