SPECS: clive.spec - up to 2.1.0 - python build is not supported anylonger (...

lisu lisu at pld-linux.org
Thu Dec 11 14:07:42 CET 2008


Author: lisu                         Date: Thu Dec 11 13:07:42 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.1.0
- python build is not supported anylonger (perl handles everything now)
	- patches removed
	- perl deps
- adapter
- and little typo in pl desc fixed

---- Files affected:
SPECS:
   clive.spec (1.31 -> 1.32) 

---- Diffs:

================================================================
Index: SPECS/clive.spec
diff -u SPECS/clive.spec:1.31 SPECS/clive.spec:1.32
--- SPECS/clive.spec:1.31	Sun Nov 23 15:07:34 2008
+++ SPECS/clive.spec	Thu Dec 11 14:07:36 2008
@@ -2,83 +2,52 @@
 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:	1.0.2
+Version:	2.1.0
 Release:	1
 License:	GPL v2+
 Group:		Applications/System
-Source0:	http://download.gna.org/clive/1.0.x/%{name}-%{version}.tar.bz2
-# Source0-md5:	ff617c65ba447bf2f3ef050d02a93dd3
-Source1:	%{name}-setup.py
-Patch0:		%{name}-delfi.patch
-Patch1:		%{name}-spz.patch
-Patch2:		%{name}-reporter.patch
+Source0:	http://clive.googlecode.com/files/%{name}-%{version}.tar.bz2
+# Source0-md5:	cfa070cae349b812b8dddfc0409a5196
 URL:		http://home.gna.org/clive/
-BuildRequires:	python-devel >= 1:2.4
-BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.219
-%pyrequires_eq	python-libs
-Requires:	python >= 2.4
-Requires:	python-feedparser >= 3.3
-Requires:	python-snack >= 0.51
-Requires:	python-urlgrabber >= 3.0.0
+Requires:	perl >= 1:5.8.0
+Requires:	perl-BerkeleyDB >= 0.34
+Requires:	perl-Config-Tiny >= 2.12
+Requires:	perl-HTML-TokeParser-Simple >= 2.37
+Requires:	perl-IO-Pager >= 0.05
+Requires:	perl-WWW-Curl >= 4.0.5
+Requires:	perl-XML-Simple >= 2.18
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-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.
+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
-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).
+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 wraz z
+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
-
-# switch back to python install. we don't need autofoo as we don't build newt
-cp %{SOURCE1} setup.py
-rm -f configure aclocal.m4
-
-# get rid of bundled packages
-rm -rf src/clive/{urlgrabber,feedparser,newt}
-# fix imports to use system pkgs
-%{__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,from newt \(import snack as newt\),\1,' src/clive/*.py
-%{__sed} -i -e 's,\(import\) clive\.feedparser\.,\1 ,' src/clive/*.py
-
-%build
-python setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
 
-%py_postclean
+install %{name} $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README
+%doc AUTHORS CHANGES TODO
 %attr(755,root,root) %{_bindir}/clive
-%{_mandir}/man1/clive.1*
-%dir %{py_sitescriptdir}/%{name}
-%{py_sitescriptdir}/%{name}/*.py[co]
-
-%if "%{py_ver}" > "2.4"
-%{py_sitescriptdir}/clive-*.egg-info
-%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -86,6 +55,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.32  2008/12/11 13:07:36  lisu
+- up to 2.1.0
+- python build is not supported anylonger (perl handles everything now)
+	- patches removed
+	- perl deps
+- adapter
+- and little typo in pl desc fixed
+
 Revision 1.31  2008/11/23 14:07:34  wrobell
 - ver. 1.0.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/clive.spec?r1=1.31&r2=1.32&f=u



More information about the pld-cvs-commit mailing list