python-six-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. %define pkgname six
  2. # Basic Information
  3. Name: python-six
  4. Version: 1.10.0
  5. Release: 1%{?_dist_release}
  6. License: MIT
  7. # /usr/share/doc/rpm-4.11.2/GROUPS_for_vine.txt を参照して Group を修正してください。
  8. Group: Development/Libraries
  9. URL: http://pypi.python.org/pypi/six/
  10. Source0: https://pypi.python.org/packages/source/s/%{pkgname}/%{pkgname}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Packager: yasumichi
  15. Summary: Python 2 and 3 compatibility utilities
  16. Summary(ja): Python 2 および 3 の互換ユーテリティ
  17. # Dependency
  18. Requires: python
  19. BuildRequires: python-devel
  20. BuildArch: noarch
  21. %description
  22. for smoothing over the differences between the Python versions with the goal of
  23. writing Python code that is compatible on both Python versions. See the
  24. documentation for more information on what is provided.
  25. Six supports every Python version since 2.5. It is contained in only one Python
  26. file, so it can be easily copied into your project. (The copyright and license
  27. notice must be retained.)
  28. Online documentation is at http://pythonhosted.org/six/.
  29. Bugs can be reported to http://bitbucket.org/gutworth/six. The code can also be
  30. found there.
  31. For questions about six or porting in general, email the python-porting mailing
  32. list: http://mail.python.org/mailman/listinfo/python-porting
  33. #%%description -l ja
  34. #ここに日本語で詳細を記述してください。
  35. %prep
  36. %setup -q -n six-%{version}
  37. %build
  38. %{__python} setup.py build
  39. %install
  40. %{__rm} -rf ${RPM_BUILD_ROOT}
  41. %{__python} setup.py install --root=${RPM_BUILD_ROOT}
  42. %clean
  43. %{__rm} -rf ${RPM_BUILD_ROOT}
  44. %files
  45. %defattr(-,root,root)
  46. %doc LICENSE README
  47. %{python_sitelib}/six-%{version}-py*.egg-info
  48. %{python_sitelib}/six.py*
  49. %changelog
  50. * Sun Nov 15 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.0-1
  51. - new upstream release.
  52. * Sat Sep 20 2014 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.8.0-1
  53. - initial build for Vine Linux