]>
Commit | Line | Data |
---|---|---|
2f514ebb | 1 | # |
2 | # TODO: | |
3 | # - cleanup ;) | |
4 | # - some arch-depended libraries in sitescript_dir | |
5 | # - documentation and examples in sitescript_dir | |
6 | %define module py | |
7 | # | |
4b858531 JB |
8 | Summary: Agile development and test support library |
9 | Summary(pl.UTF-8): Zwinna biblioteka obsługująca rozwój i testowanie | |
2f514ebb | 10 | Name: python-%{module} |
11 | Version: 0.9.0 | |
12 | Release: 0.1 | |
13 | License: MIT license | |
14 | Group: Development/Languages/Python | |
4b858531 | 15 | Source0: http://codespeak.net/download/py/%{module}-%{version}.tar.gz |
2f514ebb | 16 | # Source0-md5: adecd7befdfa431341c8e09e0bc94ca3 |
17 | URL: http://codespeak.net/py/ | |
18 | BuildRequires: python-devel | |
4b858531 | 19 | BuildRequires: rpm-pythonprov |
2f514ebb | 20 | BuildRequires: rpmbuild(macros) >= 1.219 |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
4b858531 | 24 | The py lib is a development support library featuring py.test, ad-hoc |
2f514ebb | 25 | distributed execution, micro-threads and svn abstractions. |
26 | ||
4b858531 JB |
27 | %description -l pl.UTF-8 |
28 | Biblioteka py wspiera rozwijanie oprogramowania udostępniając py.test, | |
29 | rozproszone wykonywanie kodu, mikrowątki i abstrakcję svn. | |
30 | ||
2f514ebb | 31 | %prep |
32 | %setup -q -n %{module}-%{version} | |
33 | ||
34 | %build | |
4b858531 | 35 | %{__python} setup.py build |
2f514ebb | 36 | |
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
4b858531 | 40 | %{__python} setup.py install \ |
2f514ebb | 41 | --root=$RPM_BUILD_ROOT \ |
42 | --optimize=2 | |
43 | ||
44 | %py_postclean | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %attr(755,root,root) %{_bindir}/* | |
52 | %{py_sitescriptdir}/py |