python-zope-interface-vl.spec 1.7 KB

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