]> git.pld-linux.org Git - packages/clive.git/blob - clive.spec
cf7fa4dd28bb607c60a002235fc96ecdd3412d99
[packages/clive.git] / clive.spec
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 BuildArch:      noarch
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 clive is a command line program that extracts videos from YouTube,
16 Google Video and Dailymotion websites. It supports embedded video
17 extraction, and can be used with an external encoder (e.g. ffmpeg) to
18 re-encode the extracted videos to different video formats (e.g. avi,
19 mpeg, flv).
20
21 %prep
22 %setup -q
23
24 %build
25 python setup.py build
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29
30 install -d $RPM_BUILD_ROOT%{_mandir}/man1
31
32 python setup.py install \
33         --optimize=2 \
34         --root=$RPM_BUILD_ROOT
35
36 gzip -d man/*.gz
37 install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc AUTHORS ChangeLog README TODO
45 %attr(755,root,root) %{_bindir}/*
46 %dir %{py_sitescriptdir}/%{name}
47 %{py_sitescriptdir}/%{name}/*.py[co]
48 %{py_sitescriptdir}/*.egg-info
49 %{_mandir}/man1/clive.1*
This page took 0.054703 seconds and 3 git commands to generate.