]>
Commit | Line | Data |
---|---|---|
228e09f9 AM |
1 | Summary: Video extraction utility for YouTube and Google Video |
2 | Name: clive | |
3 | Version: 0.2.0 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Applications/System | |
7 | Source0: http://dl.gna.org/clive/0.2/src/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: c95efbae806eca1cce4120552bfdd1b8 | |
9 | URL: http://home.gna.org/clive/ | |
10 | BuildRequires: python-devel >= 2.5 | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | clive is a command line program that extracts videos from YouTube, | |
15 | Google Video and Dailymotion websites. It supports embedded video | |
16 | extraction, and can be used with an external encoder (e.g. ffmpeg) to | |
17 | re-encode the extracted videos to different video formats (e.g. avi, | |
18 | mpeg, flv). | |
19 | ||
20 | %prep | |
21 | %setup -q | |
22 | ||
23 | %build | |
24 | python setup.py build | |
25 | ||
26 | %install | |
27 | rm -rf $RPM_BUILD_ROOT | |
28 | ||
29 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 | |
30 | ||
31 | python setup.py install \ | |
32 | --optimize=2 \ | |
33 | --root=$RPM_BUILD_ROOT | |
34 | ||
35 | gzip -d man/*.gz | |
36 | install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc AUTHORS ChangeLog README TODO | |
44 | %attr(755,root,root) %{_bindir}/* | |
45 | %dir %{py_sitescriptdir}/%{name} | |
46 | %{py_sitescriptdir}/%{name}/*.py[co] | |
47 | %{py_sitescriptdir}/*.egg-info | |
48 | %{_mandir}/man1/clive.1* |