]> git.pld-linux.org Git - packages/youtube-upload.git/blob - youtube-upload.spec
- show progressbar
[packages/youtube-upload.git] / youtube-upload.spec
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 Requires:       python-progressbar
15 Requires:       python-pycurl
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Upload videos to Youtube from the command-line.
21
22 %prep
23 %setup -q
24
25 %build
26 %{__python} setup.py build
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT%{_bindir}
31 %{__python} setup.py install \
32         --skip-build \
33         --optimize=2 \
34         --root=$RPM_BUILD_ROOT
35
36 %py_postclean
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc CHANGELOG README
44 %attr(755,root,root) %{_bindir}/youtube-upload
45 %{py_sitescriptdir}/youtube_upload
46 %{py_sitescriptdir}/youtube_upload-%{version}-py*.egg-info
This page took 0.100381 seconds and 4 git commands to generate.