]> git.pld-linux.org Git - packages/python-py.git/blame - python-py.spec
- pl
[packages/python-py.git] / python-py.spec
CommitLineData
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
8Summary: Agile development and test support library
9Summary(pl.UTF-8): Zwinna biblioteka obsługująca rozwój i testowanie
2f514ebb 10Name: python-%{module}
11Version: 0.9.0
12Release: 0.1
13License: MIT license
14Group: Development/Languages/Python
4b858531 15Source0: http://codespeak.net/download/py/%{module}-%{version}.tar.gz
2f514ebb 16# Source0-md5: adecd7befdfa431341c8e09e0bc94ca3
17URL: http://codespeak.net/py/
18BuildRequires: python-devel
4b858531 19BuildRequires: rpm-pythonprov
2f514ebb 20BuildRequires: rpmbuild(macros) >= 1.219
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
4b858531 24The py lib is a development support library featuring py.test, ad-hoc
2f514ebb 25distributed execution, micro-threads and svn abstractions.
26
4b858531
JB
27%description -l pl.UTF-8
28Biblioteka py wspiera rozwijanie oprogramowania udostępniając py.test,
29rozproszone 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
38rm -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
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%attr(755,root,root) %{_bindir}/*
52%{py_sitescriptdir}/py
This page took 0.065117 seconds and 4 git commands to generate.