python-babel-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. %global srcname Babel
  2. Summary: A collection of tools for internationalizing Python applications
  3. Name: python-babel
  4. Version: 2.10.3
  5. Release: 1%{?_dist_release}
  6. Group: programming
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: modified BSD-style License
  10. URL: https://babel.pocoo.org/
  11. Source0: https://files.pythonhosted.org/packages/source/B/%{srcname}/%{srcname}-%{version}.tar.gz
  12. BuildArch: noarch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: python-rpm-macros
  15. BuildRequires: python-setuptools, python2-rpm-macros, python-pytz
  16. Requires: python-setuptools
  17. Requires: python-pytz
  18. %{?python_provide:%python_provide python2-babel}
  19. %description
  20. Babel is composed of two major parts:
  21. * tools to build and work with gettext message catalogs
  22. * a Python interface to the CLDR (Common Locale Data Repository),
  23. providing access to various locale display names, localized number
  24. and date formatting, etc.
  25. %package -n python3-babel
  26. Summary: A collection of tools for internationalizing Python applications
  27. Group: programming
  28. BuildRequires: python3-setuptools, python3-rpm-macros, python3-pytz
  29. Requires: python3-setuptools
  30. Requires: python3-pytz
  31. %{?python_provide:%python_provide python3-babel}
  32. %description -n python3-babel
  33. Babel is composed of two major parts:
  34. * tools to build and work with gettext message catalogs
  35. * a Python interface to the CLDR (Common Locale Data Repository),
  36. providing access to various locale display names, localized number
  37. and date formatting, etc.
  38. %prep
  39. %autosetup -n %{srcname}-%{version}
  40. %build
  41. %pip3_build_wheel
  42. %install
  43. %{__rm} -rf ${RPM_BUILD_ROOT}
  44. %pip3_install_wheel
  45. %clean
  46. %{__rm} -rf ${RPM_BUILD_ROOT}
  47. %files -n python3-babel
  48. %doc README.rst AUTHORS
  49. %license LICENSE
  50. %{_bindir}/pybabel
  51. %{python3_sitelib}/Babel-*-info
  52. %{python3_sitelib}/babel
  53. %changelog
  54. * Sun Oct 30 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.10.3-1
  55. - new upstream release.
  56. - dropped python2 support.
  57. * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8.0-1
  58. - new upstream release.
  59. * Thu Nov 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.0-2
  60. - fixed R:.
  61. * Tue Nov 27 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.0-1
  62. - new upstream release.
  63. - added python3 support.
  64. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6-3
  65. - rebuild with VineSeed environment
  66. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6-2
  67. - rebuild with python-2.7.2
  68. - add BuildRequires: python-setuptools
  69. * Sun Oct 30 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9.6-1
  70. - new upstream release
  71. * Wed Feb 3 2010 Shu KONNO <owa@bg.wakwak.com> 0.9.4-2
  72. - rebuilt with python-2.6.4
  73. * Sun Apr 5 2009 IWAI, Masaharu <iwai@alib.jp> 0.9.4-1
  74. - initial release