12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- %{!?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])')
- %define pkg_release 2%{?_dist_release}
- Summary: Zope 3 Interface Infrastructure
- Summary(ja): Zope 3 インターフェース・インフラストラクチャ
- Name: python-zope-interface
- Version: 3.5.0
- Release: %{pkg_release}
- Source0: http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.zip
- 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-3.5.0-py2.5.egg-info
- #%{python_sitearch}/zope.interface-3.5.0-py2.5-nspkg.pth
- %{python_sitearch}/zope.interface-3.5.0-py%{pyver}.egg-info
- %{python_sitearch}/zope.interface-3.5.0-py%{pyver}-nspkg.pth
- %changelog
- * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.5.0-2
- - rebuild with python-2.6
- - fixed path
- * Tue Dec 23 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.5.0-1
- - initial build for Vine Linux
|