diff --git a/agate-dbf-0.2.2.tar.gz b/agate-dbf-0.2.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..653951fd3b67f6bf7d86cfb89224a45b08a112f4 Binary files /dev/null and b/agate-dbf-0.2.2.tar.gz differ diff --git a/python-agate-dbf.spec b/python-agate-dbf.spec new file mode 100644 index 0000000000000000000000000000000000000000..aecf4af923ec7774cf6d1622cda666c37954a348 --- /dev/null +++ b/python-agate-dbf.spec @@ -0,0 +1,75 @@ +%global pypi_name agate-dbf + +Name: python-%{pypi_name} +Version: 0.2.2 +Release: 1 +Summary: Adds read support for DBF files to agate +License: MIT +URL: https://pypi.python.org/pypi/agate-dbf +Source0: https://github.com/wireservice/%{pypi_name}/archive/refs/tags/%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz + +BuildArch: noarch + +%description +Adds read support for DBF files to agate + + +%package -n python3-%{pypi_name} +Summary: %{summary} +BuildRequires: make +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-nose +BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_rtd_theme + +%description -n python3-%{pypi_name} +Adds read support for DBF files to agate + + +%package help +Summary: %{summary} +Provides: python3-%{pypi_name}-doc +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_rtd_theme +BuildArch: noarch + +%description help +Documentation package for agate-dbf + + +%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_dbf-%{version}-py%{python3_version}.egg-info/ +%{python3_sitelib}/agatedbf/ + + +%files help +%license COPYING +%doc README.rst AUTHORS.rst CHANGELOG.rst docs/_build/ + + +%changelog +* Mon Oct 18 2021 konglidong - 0.2.2-1 +- package init