]>
Commit | Line | Data |
---|---|---|
6c717ff8 AM |
1 | Summary: Upload videos to Youtube from the command-line |
2 | Name: youtube-upload | |
3 | Version: 0.7.3 | |
4 | Release: 1 | |
5 | License: GPL v3 | |
6 | Group: Applications/System | |
7 | Source0: https://youtube-upload.googlecode.com/files/%{name}-%{version}.tgz | |
8 | # Source0-md5: e667962d4a41a936dc6dafdff5c594e9 | |
9 | URL: https://code.google.com/p/youtube-upload/ | |
10 | BuildRequires: python-gdata | |
11 | BuildRequires: rpm-pythonprov | |
12 | BuildRequires: rpmbuild(macros) >= 1.219 | |
13 | Requires: python-gdata | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Upload videos to Youtube from the command-line. | |
19 | ||
20 | %prep | |
21 | %setup -q | |
22 | ||
23 | %build | |
24 | %{__python} setup.py build | |
25 | ||
26 | %install | |
27 | rm -rf $RPM_BUILD_ROOT | |
28 | install -d $RPM_BUILD_ROOT%{_bindir} | |
29 | %{__python} setup.py install \ | |
30 | --skip-build \ | |
31 | --optimize=2 \ | |
32 | --root=$RPM_BUILD_ROOT | |
33 | ||
34 | %py_postclean | |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %doc CHANGELOG README | |
42 | %attr(755,root,root) %{_bindir}/youtube-upload | |
43 | %{py_sitescriptdir}/youtube_upload | |
44 | %{py_sitescriptdir}/youtube_upload-%{version}-py*.egg-info |