2024-01-06 10:48:01 +01:00
|
|
|
Name: python-babel
|
2024-01-06 10:48:02 +01:00
|
|
|
Version: 2.6.0
|
2024-01-06 10:48:02 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 10:48:01 +01:00
|
|
|
Summary: Library for internationalizing Python applications
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
|
|
|
URL: http://babel.edgewall.org/
|
2024-01-06 10:48:01 +01:00
|
|
|
Source: https://pypi.debian.net/Babel/Babel-%{version}.tar.gz
|
2024-01-06 10:48:01 +01:00
|
|
|
#Source: http://ftp.edgewall.com/pub/babel/Babel-%{version}.tar.gz
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: python >= %python_version
|
|
|
|
Requires: python-setuptools
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Babel is a Python interface to the CLDR (Common Locale Data Repository), providing access to various locale display names, localized number and date formatting, etc.
|
|
|
|
|
|
|
|
%package tool
|
|
|
|
Summary: A tool for internationalizing Python applications
|
|
|
|
Group: Development/Languages
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tool
|
|
|
|
Tool to build and work with gettext message catalogs.
|
|
|
|
|
2024-01-06 10:48:02 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 10:48:01 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n Babel-%{version}
|
|
|
|
|
|
|
|
#chmod a-x babel/messages/frontend.py doc/logo.png doc/logo_small.png
|
|
|
|
sed -i -e '/^#!/,1d' babel/messages/frontend.py
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--single-version-externally-managed \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-06 10:48:01 +01:00
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-06 10:48:01 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 10:48:02 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-06 10:48:01 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
#%doc doc/*
|
|
|
|
|
|
|
|
%files tool
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/pybabel
|
|
|
|
%doc AUTHORS LICENSE
|
|
|
|
#ChangeLog COPYING README.txt doc/cmdline.txt
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:48:02 +01:00
|
|
|
* Thu May 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.0-2mamba
|
|
|
|
- rebuilt with py36 support
|
|
|
|
|
2024-01-06 10:48:02 +01:00
|
|
|
* Tue Jun 05 2018 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:02 +01:00
|
|
|
* Mon Jan 22 2018 Automatic Build System <autodist@mambasoft.it> 2.5.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:02 +01:00
|
|
|
* Fri Sep 15 2017 Automatic Build System <autodist@mambasoft.it> 2.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:01 +01:00
|
|
|
* Wed Aug 23 2017 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:01 +01:00
|
|
|
* Mon Mar 27 2017 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:01 +01:00
|
|
|
* Thu Jun 02 2016 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:01 +01:00
|
|
|
* Wed Apr 20 2016 Automatic Build System <autodist@mambasoft.it> 2.3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:01 +01:00
|
|
|
* Thu Jan 21 2016 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:01 +01:00
|
|
|
* Thu Oct 01 2015 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:01 +01:00
|
|
|
* Mon Jul 27 2015 Automatic Build System <autodist@mambasoft.it> 2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:01 +01:00
|
|
|
* Fri Nov 22 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1mamba
|
|
|
|
- update to 1.3
|
|
|
|
|
|
|
|
* Sat May 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Sun Mar 20 2011 Automatic Build System <autodist@mambasoft.it> 0.9.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Oct 13 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.9.5-1mamba
|
|
|
|
- update to 0.9.5
|
|
|
|
|
|
|
|
* Sun Jan 31 2010 gil <puntogil@libero.it> 0.9.4-1mamba
|
|
|
|
- package created by autospec
|