diff --git a/agate-sql-0.5.8.tar.gz b/agate-sql-0.5.8.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..7321a17b1ef33f6fe75551b3635f44bed72b73cc Binary files /dev/null and b/agate-sql-0.5.8.tar.gz differ diff --git a/python-agate-sql.spec b/python-agate-sql.spec new file mode 100644 index 0000000000000000000000000000000000000000..7deea04707ef0f153f79614a9241104b69950cfa --- /dev/null +++ b/python-agate-sql.spec @@ -0,0 +1,71 @@ +%global pypi_name agate-sql +%global file_name agatesql + +Name: python-%{pypi_name} +Version: 0.5.8 +Release: 1 +Summary: Adds SQL read/write support to agate +License: MIT +URL: https://pypi.python.org/pypi/%{pypi_name} +Source0: https://github.com/wireservice/%{pypi_name}/archive/refs/tags/%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +%description +agate-sql adds SQL read/write support to agate + + +%package -n python3-%{pypi_name} +Summary: %{summary} +BuildRequires: make +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-nose +BuildRequires: python3-sqlalchemy + +%description -n python3-%{pypi_name} +agate-sql adds SQL read/write support to agate + + +%package -n python-%{pypi_name}-doc +Summary: %{summary} +BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_rtd_theme + +%description -n python-%{pypi_name}-doc +agate-sql adds SQL read/write support to agate +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_sql-%{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.5.8-1 +- package init