]>
Commit | Line | Data |
---|---|---|
264f8e53 ER |
1 | Summary: Command line recorder for asciinema.org service |
2 | Name: asciinema | |
3 | Version: 0.9.7 | |
4 | Release: 1 | |
5 | License: MIT | |
6 | Group: Applications/Networking | |
7 | Source0: https://pypi.python.org/packages/source/a/asciinema/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: df9cde430210db8f054e78e163914ca5 | |
9 | URL: http://asciinema.org/docs | |
10 | BuildRequires: rpm-pythonprov | |
11 | BuildArch: noarch | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | Command line client for asciinema.org service. | |
16 | ||
17 | %prep | |
18 | %setup -q | |
19 | ||
20 | # Remove bundled egg-info | |
21 | %{__rm} -r %{name}.egg-info | |
22 | ||
23 | %build | |
24 | %{__python} setup.py build | |
25 | ||
26 | %install | |
27 | rm -rf $RPM_BUILD_ROOT | |
28 | %{__python} setup.py install \ | |
29 | --skip-build \ | |
30 | --optimize=2 \ | |
31 | --root=$RPM_BUILD_ROOT | |
32 | ||
33 | %py_postclean | |
34 | ||
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
39 | %defattr(644,root,root,755) | |
40 | %attr(755,root,root) %{_bindir}/asciinema | |
41 | %{py_sitescriptdir}/asciinema | |
42 | %{py_sitescriptdir}/asciinema-%{version}-py*.egg-info |