123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- %global srcname Babel
- Summary: A collection of tools for internationalizing Python applications
- Name: python-babel
- Version: 2.8.0
- Release: 1%{?_dist_release}
- Group: programming
- Vendor: Project Vine
- Distribution: Vine Linux
- License: modified BSD-style License
- URL: https://babel.pocoo.org/
- Source0: https://files.pythonhosted.org/packages/source/B/%{srcname}/%{srcname}-%{version}.tar.gz
- BuildArch: noarch
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: python-rpm-macros
- BuildRequires: python-setuptools, python2-rpm-macros, python-pytz
- Requires: python-setuptools
- Requires: python-pytz
- %{?python_provide:%python_provide python2-babel}
- %description
- Babel is composed of two major parts:
- * tools to build and work with gettext message catalogs
- * a Python interface to the CLDR (Common Locale Data Repository),
- providing access to various locale display names, localized number
- and date formatting, etc.
- %package -n python3-babel
- Summary: A collection of tools for internationalizing Python applications
- Group: programming
- BuildRequires: python3-setuptools, python3-rpm-macros, python3-pytz
- Requires: python3-setuptools
- Requires: python3-pytz
- %{?python_provide:%python_provide python3-babel}
- %description -n python3-babel
- Babel is composed of two major parts:
- * tools to build and work with gettext message catalogs
- * a Python interface to the CLDR (Common Locale Data Repository),
- providing access to various locale display names, localized number
- and date formatting, etc.
- %prep
- %autosetup -n %{srcname}-%{version}
- %build
- %py3_build
- %py2_build
- %install
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %py3_install
- %py2_install
- %clean
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %files
- %defattr(-,root,root)
- %doc CHANGES AUTHORS
- %license LICENSE
- %{_bindir}/pybabel
- %{python_sitelib}/Babel-*.egg-info
- %{python_sitelib}/babel
- %files -n python3-babel
- %doc CHANGES AUTHORS
- %license LICENSE
- %{python3_sitelib}/Babel-%{version}-py*.egg-info
- %{python3_sitelib}/babel
- %changelog
- * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8.0-1
- - new upstream release.
- * Thu Nov 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.0-2
- - fixed R:.
- * Tue Nov 27 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.0-1
- - new upstream release.
- - added python3 support.
- * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6-3
- - rebuild with VineSeed environment
- * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6-2
- - rebuild with python-2.7.2
- - add BuildRequires: python-setuptools
- * Sun Oct 30 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9.6-1
- - new upstream release
- * Wed Feb 3 2010 Shu KONNO <owa@bg.wakwak.com> 0.9.4-2
- - rebuilt with python-2.6.4
- * Sun Apr 5 2009 IWAI, Masaharu <iwai@alib.jp> 0.9.4-1
- - initial release
|