diff --git a/python-volkszaehler.spec b/python-volkszaehler.spec new file mode 100644 index 0000000000000000000000000000000000000000..ef2ca229ca1e889158faebc177bb05b4bc513f1c --- /dev/null +++ b/python-volkszaehler.spec @@ -0,0 +1,43 @@ +%global pypi_name volkszaehler + +Name: python-%{pypi_name} +Version: 0.2.1 +Release: 1 +Summary: Python Client for interacting with the Volkszahler API + +License: MIT +URL: https://github.com/home-assistant-ecosystem/python-volkszaehler +Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +%description +A Python client for interacting with the Volkszahler API. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +A Python client for interacting with the Volkszahler API. + +%prep +%autosetup -n %{name}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%doc CHANGES.rst README.rst example.py +%license LICENSE +%{python3_sitelib}/%{pypi_name}/ +%{python3_sitelib}/%{pypi_name}*.egg-info + +%changelog +* Fri Jul 09 2021 Cai Yuxin - 0.2.1-1 +- Init Project \ No newline at end of file diff --git a/volkszaehler-0.2.1.tar.gz b/volkszaehler-0.2.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2fb5bf3f94d0974b1ce2066a6c8c359b84568c07 Binary files /dev/null and b/volkszaehler-0.2.1.tar.gz differ