diff --git a/0.2.5.tar.gz b/0.2.5.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..3b57e8cadb249831f0d4dd75ecce38b6569e8d12 Binary files /dev/null and b/0.2.5.tar.gz differ diff --git a/python-agate-excel.spec b/python-agate-excel.spec new file mode 100644 index 0000000000000000000000000000000000000000..69ca9cf22a7e8de4da4850b857b3a81fe78c10eb --- /dev/null +++ b/python-agate-excel.spec @@ -0,0 +1,74 @@ +%global pypi_name agate-excel +%global file_name agateexcel + + +Name: python-%{pypi_name} +Version: 0.2.5 +Release: 1 +Summary: Adds read support for Excel files to agate +License: MIT +URL: https://pypi.python.org/pypi/agate-excel +Source0: https://github.com/wireservice/%{pypi_name}}/archive/refs/tags/%{version}.tar.gz +BuildArch: noarch + +%description +Adds read support for Excel files (xls and xlsx) to agate + + +%package -n python3-%{pypi_name} +Summary: %{summary} +BuildRequires: make +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-nose +BuildRequires: python3-xlrd +BuildRequires: python3-openpyxl + + +%description -n python3-%{pypi_name} +Adds read support for Excel files (xls and xlsx) to agate + + +%package -n python-%{pypi_name}-doc +Summary: %{summary} +BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_rtd_theme +BuildArch: noarch + +%description -n python-%{pypi_name}-doc +Documentation package for python-%{pypi_name} + + +%prep +%autosetup -n %{pypi_name}-%{version} + + +%build +%py3_build + +# Build documentation +pushd docs + make html SPHINXBUILD=sphinx-build-%{python3_version} + rm -f _build/html/.buildinfo +popd + + +%install +%py3_install + + +%files -n python3-%{pypi_name} +%doc README.rst AUTHORS.rst CHANGELOG.rst +%license COPYING +%{python3_sitelib}/agate_excel-%{version}-py%{python3_version}.egg-info/ +%{python3_sitelib}/%{file_name}/ + + +%files -n python-%{pypi_name}-doc +%license COPYING +%doc README.rst AUTHORS.rst CHANGELOG.rst docs/_build/ + + +%changelog +* Mon Oct 18 2021 konglidong - 0.2.5-1 +- package init