#%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} #%define pyver %(python -c 'import sys;print(sys.version[0:3])') Summary: Zope 3 Interface Infrastructure Summary(ja): Zope 3 インターフェース・インフラストラクチャ Name: python-zope-interface Version: 3.6.1 Release: 1%{?_dist_release} Source0: http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz License: ZPL (Zope Public License 2.1) Group: Development/Languages URL: http://pypi.python.org/pypi/zope.interface Requires: python BuildRequires: python, python-devel, python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This is a separate distribution of the zope.interface package used in Zope 3. %description -l ja python-zope-interface は Zope 3 で利用されている zope.interface を、単体で分離して配布しているパッケージです。 %prep %setup -q -n zope.interface-%{version} %build %{__python} setup.py build %install %{__rm} -rf ${RPM_BUILD_ROOT} %{__python} setup.py install --root ${RPM_BUILD_ROOT} %clean %{__rm} -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) %doc CHANGES.txt PKG-INFO README.txt %{python_sitearch}/zope %{python_sitearch}/zope.interface-%{version}-py%{pyver}.egg-info %{python_sitearch}/zope.interface-%{version}-py%{pyver}-nspkg.pth %changelog * Wed Dec 01 2010 Shu KONNO 3.6.1-1 - updated zope.interface to 3.6.1 * Tue Feb 02 2010 Shu KONNO 3.5.0-2 - rebuild with python-2.6 - fixed path * Tue Dec 23 2008 Kazutaka HARADA 3.5.0-1 - initial build for Vine Linux