SPECS: clive.spec - update to 0.4.10 - they put automake just to b...
glen
glen at pld-linux.org
Fri Apr 25 22:40:38 CEST 2008
Author: glen Date: Fri Apr 25 20:40:38 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- update to 0.4.10
- they put automake just to build bundled newt, and we don't use it sigh
---- Files affected:
SPECS:
clive.spec (1.17 -> 1.18)
---- Diffs:
================================================================
Index: SPECS/clive.spec
diff -u SPECS/clive.spec:1.17 SPECS/clive.spec:1.18
--- SPECS/clive.spec:1.17 Sun Mar 30 21:19:27 2008
+++ SPECS/clive.spec Fri Apr 25 22:40:33 2008
@@ -2,30 +2,33 @@
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.4.6
-Release: 1
+Version: 0.4.10
+Release: 0.12
License: GPL v2+
Group: Applications/System
-Source0: http://dl.gna.org/clive/0.4/src/%{name}-%{version}.tar.gz
-# Source0-md5: c77e912d831e57af2b424811337b62ba
+Source0: http://dl.sourceforge.net/clive/%{name}-%{version}.tar.bz2
+# Source0-md5: f6aec28af6b7794e2c4c833d80c8284a
Patch0: %{name}-setup.patch
Patch1: %{name}-delfi.patch
Patch2: %{name}-spz.patch
URL: http://home.gna.org/clive/
-BuildRequires: python-devel >= 1:2.5
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: python-devel >= 1:2.4
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.219
%pyrequires_eq python-libs
-Requires: python-urlgrabber >= 2.9.9
+Requires: python >= 2.4
+Requires: python-feedparser >= 3.3
+Requires: python-snack >= 0.51
+Requires: python-urlgrabber >= 3.0.0
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-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).
+clive is a video extraction tool for user-uploaded video hosts such as Youtube,
+Google Video, Dailymotion, Guba and Metacafe. It can be chained with 3rd party
+tools for subsequent video re-encoding and playing and playing.
%description -l pl.UTF-8
clive to działający z linii poleceń program do wydobywania filmów z
@@ -36,18 +39,34 @@
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+#%patch0 -p1
+#%patch1 -p1
+#%patch2 -p1
+
+#rm -rf src/clive/{urlgrabber,feedparser,newt}
+
+%{__sed} -i -e 's,\(SUBDIRS = \)urlgrabber feedparser newt,\1,' src/clive/Makefile.am
+rm -f configure aclocal.m4
+%{__sed} -i -e 's,\(from\|import\) clive.\(newt\|urlgrabber\),\1 \2,' src/clive/*.py
+%{__sed} -i -e 's,from clive\.feedparser ,,' src/clive/*.py
+%{__sed} -i -e 's,\(import\) clive\.feedparser\.,\1 ,' src/clive/*.py
+
%build
-python setup.py build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ --host=%{_arch}-pld-linux \
+ --build=%{_arch}-pld-linux \
+ --without-newt
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%py_postclean
@@ -60,7 +79,10 @@
%attr(755,root,root) %{_bindir}/clive
%dir %{py_sitescriptdir}/%{name}
%{py_sitescriptdir}/%{name}/*.py[co]
+
+%if "%{py_ver}" > "2.4"
%{py_sitescriptdir}/clive-*.egg-info
+%endif
%{_mandir}/man1/clive.1*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -69,6 +91,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.18 2008-04-25 20:40:33 glen
+- update to 0.4.10
+- they put automake just to build bundled newt, and we don't use it sigh
+
Revision 1.17 2008-03-30 19:19:27 arekm
- up to 0.4.6
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/clive.spec?r1=1.17&r2=1.18&f=u
More information about the pld-cvs-commit
mailing list