diff --git a/python-sphinx-intl.spec b/python-sphinx-intl.spec index c255439bff5d4530f535c3aab16e2e103c2f2081..5069014b71d8dca6a47d164e66fce2ebc662f0e3 100644 --- a/python-sphinx-intl.spec +++ b/python-sphinx-intl.spec @@ -1,36 +1,39 @@ %global _empty_manifest_terminate_build 0 Name: python-sphinx-intl -Version: 2.0.1 +Version: 2.1.0 Release: 1 Summary: Sphinx utility that make it easy to translate and to apply translation. License: BSD URL: https://github.com/sphinx-doc/sphinx-intl -Source0: https://files.pythonhosted.org/packages/85/4b/4589077b71336e84d7ca06e717929437f3185f75ec5dece0a9926cf91c56/sphinx-intl-2.0.1.tar.gz +Source0: https://files.pythonhosted.org/packages/3f/49/9229216d3fdce197912e4756e044f3d3fbac73326ef8a49af186d7c2832b/sphinx-intl-2.1.0.tar.gz BuildArch: noarch - %description sphinx-intl is a utility tool that provides several features that make it easy -to translate and to apply translation to Sphinx generated document. +to translate and to apply translation to Sphinx generated document. %package -n python3-sphinx-intl Summary: Sphinx utility that make it easy to translate and to apply translation. -Provides: python-sphinx-intl +Provides: python-sphinx-intl = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools +Requires: python3-setuptools +Requires: python3-click +Requires: python3-babel +Requires: python3-sphinx %description -n python3-sphinx-intl -sphinx-intl is a utility tool that provides several features that make it easy +sphinx-intl is a utility tool that provides several features that make it easy to translate and to apply translation to Sphinx generated document. %package help Summary: Development documents and examples for sphinx-intl Provides: python3-sphinx-intl-doc %description help -sphinx-intl is a utility tool that provides several features that make it easy +sphinx-intl is a utility tool that provides several features that make it easy to translate and to apply translation to Sphinx generated document. %prep -%autosetup -n sphinx-intl-2.0.1 +%autosetup -n sphinx-intl-%{version} %build %py3_build @@ -42,6 +45,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst @@ -70,5 +76,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Fri Feb 24 2023 wangjunqi - 2.1.0-1 +- Update package to version 2.1.0 + * Tue Dec 07 2021 Python_Bot - 2.0.1-1 - Package Init diff --git a/sphinx-intl-2.0.1.tar.gz b/sphinx-intl-2.0.1.tar.gz deleted file mode 100644 index 8a982ca60e0c3eb3e13f0b7290318cfd0caee242..0000000000000000000000000000000000000000 Binary files a/sphinx-intl-2.0.1.tar.gz and /dev/null differ diff --git a/sphinx-intl-2.1.0.tar.gz b/sphinx-intl-2.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b4a999b8898531e047d8139532bbe8ded4cff3bd Binary files /dev/null and b/sphinx-intl-2.1.0.tar.gz differ