python-zope-interface-vl.spec 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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.8.0
  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-devel
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildArch: noarch
  16. %description
  17. This is a separate distribution of the zope.interface package
  18. used in Zope 3.
  19. %description -l ja
  20. python-zope-interface は Zope 3 で利用されている zope.interface
  21. を、単体で分離して配布しているパッケージです。
  22. %prep
  23. %setup -q -n zope.interface-%{version}
  24. %build
  25. CFLAGS="%{optflags}" %{__python} setup.py build
  26. %install
  27. %{__rm} -rf ${RPM_BUILD_ROOT}
  28. %{__python} setup.py install -O1 --skip-build --root ${RPM_BUILD_ROOT}
  29. # Will put docs in %%{_docdir} instead
  30. %{__rm} -f %{buildroot}%{python_sitearch}/zope/interface/{,tests/}*.txt
  31. %clean
  32. %{__rm} -rf ${RPM_BUILD_ROOT}
  33. %files
  34. %defattr(-,root,root)
  35. %doc COPYRIGHT.txt CHANGES.txt LICENSE.txt README.txt
  36. %{python_sitelib}/zope
  37. %{python_sitelib}/zope.interface-%{version}-py%{pyver}.egg-info
  38. %changelog
  39. * Sat Feb 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  40. - update to 3.8.0
  41. * Wed Dec 01 2010 Shu KONNO <owa@bg.wakwak.com> 3.6.1-1
  42. - updated zope.interface to 3.6.1
  43. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.5.0-2
  44. - rebuild with python-2.6
  45. - fixed path
  46. * Tue Dec 23 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.5.0-1
  47. - initial build for Vine Linux