174 lines
5.9 KiB
RPMSpec
174 lines
5.9 KiB
RPMSpec
Name: python-babel
|
|
Version: 2.16.0
|
|
Release: 1mamba
|
|
Summary: Library for internationalizing Python applications
|
|
Group: System/Libraries/Python
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://babel.pocoo.org/en/latest/
|
|
Source: https://pypi.debian.net/Babel/babel-%{version}.tar.gz
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython311-devel
|
|
BuildRequires: python3.11dist(setuptools)
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
|
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.
|
|
|
|
%if 0%{?with_pyver}
|
|
%pyver_package
|
|
%endif
|
|
|
|
%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
|
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
%if 0%{?with_pyver}
|
|
mv %{buildroot}%{_bindir}/pybabel %{buildroot}%{_bindir}/pybabel-%{?pyappend}
|
|
sed -i "s|%{_bindir}/pybabel|%{_bindir}/pybabel-%{?pyappend}|" %{name}.filelist
|
|
%endif
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
%dir %{python3_sitearch}/babel-%{version}-py*.egg-info
|
|
%{python3_sitearch}/babel-%{version}-py*.egg-info/*
|
|
%doc AUTHORS LICENSE
|
|
|
|
%changelog
|
|
* Wed Aug 14 2024 Automatic Build System <autodist@openmamba.org> 2.16.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu May 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.15.0-1mamba
|
|
- update to 2.15.0
|
|
|
|
* Wed Dec 13 2023 Automatic Build System <autodist@mambasoft.it> 2.14.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Oct 25 2023 Automatic Build System <autodist@mambasoft.it> 2.13.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Oct 03 2023 Automatic Build System <autodist@mambasoft.it> 2.13.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 2.12.1-3mamba
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
* Thu Mar 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.1-2mamba
|
|
- rebuilt with python 3.10
|
|
|
|
* Thu Mar 02 2023 Automatic Build System <autodist@mambasoft.it> 2.12.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Feb 28 2023 Automatic Build System <autodist@mambasoft.it> 2.12.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Nov 02 2022 Automatic Build System <autodist@mambasoft.it> 2.11.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Jun 17 2022 Automatic Build System <autodist@mambasoft.it> 2.10.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jun 15 2022 Automatic Build System <autodist@mambasoft.it> 2.10.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Apr 21 2022 Automatic Build System <autodist@mambasoft.it> 2.10.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Dec 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.1-1mamba
|
|
- update to 2.9.1
|
|
|
|
* Sat Apr 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.0-2mamba
|
|
- rebuilt with distdeps
|
|
|
|
* Sat Jan 04 2020 Automatic Build System <autodist@mambasoft.it> 2.8.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.0-2mamba
|
|
- rebuilt with python3 3.7.4
|
|
|
|
* Sun Jun 02 2019 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri May 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.0-3mamba
|
|
- fix binary confict between py variants
|
|
|
|
* Thu May 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.0-2mamba
|
|
- rebuilt with py36 support
|
|
|
|
* Tue Jun 05 2018 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jan 22 2018 Automatic Build System <autodist@mambasoft.it> 2.5.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Sep 15 2017 Automatic Build System <autodist@mambasoft.it> 2.5.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Aug 23 2017 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Mar 27 2017 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jun 02 2016 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 20 2016 Automatic Build System <autodist@mambasoft.it> 2.3.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jan 21 2016 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 01 2015 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jul 27 2015 Automatic Build System <autodist@mambasoft.it> 2.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|