[2258] | 1 | #%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} |
---|
| 2 | #%define pyver %(python -c 'import sys;print(sys.version[0:3])') |
---|
[521] | 3 | |
---|
| 4 | Summary: Zope 3 Interface Infrastructure |
---|
| 5 | Summary(ja): Zope 3 インターフェース・インフラストラクチャ |
---|
| 6 | Name: python-zope-interface |
---|
[2258] | 7 | Version: 3.6.1 |
---|
| 8 | Release: 1%{?_dist_release} |
---|
| 9 | Source0: http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz |
---|
[521] | 10 | License: ZPL (Zope Public License 2.1) |
---|
| 11 | Group: Development/Languages |
---|
| 12 | URL: http://pypi.python.org/pypi/zope.interface |
---|
| 13 | |
---|
| 14 | Requires: python |
---|
| 15 | BuildRequires: python, python-devel, python-setuptools |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | This is a separate distribution of the zope.interface package |
---|
| 21 | used in Zope 3. |
---|
| 22 | |
---|
| 23 | %description -l ja |
---|
| 24 | python-zope-interface は Zope 3 で利用されている zope.interface |
---|
| 25 | を、単体で分離して配布しているパッケージです。 |
---|
| 26 | |
---|
| 27 | %prep |
---|
| 28 | %setup -q -n zope.interface-%{version} |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | %build |
---|
| 32 | %{__python} setup.py build |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | %install |
---|
| 36 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 37 | %{__python} setup.py install --root ${RPM_BUILD_ROOT} |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | %clean |
---|
| 41 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %files |
---|
| 45 | %defattr(-,root,root) |
---|
| 46 | %doc CHANGES.txt PKG-INFO README.txt |
---|
| 47 | %{python_sitearch}/zope |
---|
[2258] | 48 | %{python_sitearch}/zope.interface-%{version}-py%{pyver}.egg-info |
---|
| 49 | %{python_sitearch}/zope.interface-%{version}-py%{pyver}-nspkg.pth |
---|
[521] | 50 | |
---|
| 51 | %changelog |
---|
[2258] | 52 | * Wed Dec 01 2010 Shu KONNO <owa@bg.wakwak.com> 3.6.1-1 |
---|
| 53 | - updated zope.interface to 3.6.1 |
---|
| 54 | |
---|
[521] | 55 | * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.5.0-2 |
---|
| 56 | - rebuild with python-2.6 |
---|
| 57 | - fixed path |
---|
| 58 | |
---|
| 59 | * Tue Dec 23 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.5.0-1 |
---|
| 60 | - initial build for Vine Linux |
---|