]> git.pld-linux.org Git - packages/clive.git/blame - clive.spec
- initial
[packages/clive.git] / clive.spec
CommitLineData
228e09f9
AM
1Summary: Video extraction utility for YouTube and Google Video
2Name: clive
3Version: 0.2.0
4Release: 1
5License: GPL
6Group: Applications/System
7Source0: http://dl.gna.org/clive/0.2/src/%{name}-%{version}.tar.gz
8# Source0-md5: c95efbae806eca1cce4120552bfdd1b8
9URL: http://home.gna.org/clive/
10BuildRequires: python-devel >= 2.5
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13%description
14clive is a command line program that extracts videos from YouTube,
15Google Video and Dailymotion websites. It supports embedded video
16extraction, and can be used with an external encoder (e.g. ffmpeg) to
17re-encode the extracted videos to different video formats (e.g. avi,
18mpeg, flv).
19
20%prep
21%setup -q
22
23%build
24python setup.py build
25
26%install
27rm -rf $RPM_BUILD_ROOT
28
29install -d $RPM_BUILD_ROOT%{_mandir}/man1
30
31python setup.py install \
32 --optimize=2 \
33 --root=$RPM_BUILD_ROOT
34
35gzip -d man/*.gz
36install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
37
38%clean
39rm -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*
This page took 0.078658 seconds and 4 git commands to generate.