]> git.pld-linux.org Git - packages/python-py.git/blame - python-py.spec
- package .egg-info
[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/
89e918b3
JB
18BuildRequires: FHS-fix(arch-dependent files in /usr/share)
19BuildRequires: python-devel >= 1:2.5
4b858531 20BuildRequires: rpm-pythonprov
2f514ebb 21BuildRequires: rpmbuild(macros) >= 1.219
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
4b858531 25The py lib is a development support library featuring py.test, ad-hoc
2f514ebb 26distributed execution, micro-threads and svn abstractions.
27
4b858531
JB
28%description -l pl.UTF-8
29Biblioteka py wspiera rozwijanie oprogramowania udostępniając py.test,
30rozproszone wykonywanie kodu, mikrowątki i abstrakcję svn.
31
2f514ebb 32%prep
33%setup -q -n %{module}-%{version}
34
35%build
4b858531 36%{__python} setup.py build
2f514ebb 37
38%install
39rm -rf $RPM_BUILD_ROOT
40
4b858531 41%{__python} setup.py install \
2f514ebb 42 --root=$RPM_BUILD_ROOT \
43 --optimize=2
44
45%py_postclean
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
52%attr(755,root,root) %{_bindir}/*
53%{py_sitescriptdir}/py
89e918b3 54%{py_sitescriptdir}/py-*.egg-info
This page took 0.035665 seconds and 4 git commands to generate.