]> git.pld-linux.org Git - packages/clive.git/blobdiff - clive.spec
- TODO
[packages/clive.git] / clive.spec
index 6cf9a0585afec758b38d9c2bc28749ebed547522..c13a3a8d2923d20ef3f024cbf91568368a8a5004 100644 (file)
@@ -1,64 +1,52 @@
+#
+# TODO: check if it work
+#
 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.3
-Release:       1
-License:       GPL
+Version:       2.1.0
+Release:       0.1
+License:       GPL v2+
 Group:         Applications/System
-Source0:       http://dl.gna.org/clive/0.4/src/%{name}-%{version}.tar.gz
-# Source0-md5: c5167e755d648dbf33c11bd6a4bf6f75
-Patch0:                %{name}-setup.patch
-Patch1:                %{name}-delfi.patch
-Patch2:                %{name}-spz.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.5
-BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.219
-%pyrequires_eq python-libs
-Requires:      python-urlgrabber >= 2.9.9
+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 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
-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
-%{__gzip} -d man/*.gz
-
-%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 TODO
-%attr(755,root,root) %{_bindir}/*
-%dir %{py_sitescriptdir}/%{name}
-%{py_sitescriptdir}/%{name}/*.py[co]
-%{py_sitescriptdir}/*.egg-info
-%{_mandir}/man1/clive.1*
+%doc AUTHORS CHANGES TODO
+%attr(755,root,root) %{_bindir}/clive
This page took 0.054408 seconds and 4 git commands to generate.