diff --git a/hole-0.5.0.tar.gz b/hole-0.5.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..6cd632a405bf8b020af0b335b6789797004dee21 Binary files /dev/null and b/hole-0.5.0.tar.gz differ diff --git a/python-hole.spec b/python-hole.spec new file mode 100644 index 0000000000000000000000000000000000000000..c8f7528e3930f78c8f26837db32967b10ac91d38 --- /dev/null +++ b/python-hole.spec @@ -0,0 +1,52 @@ +%global pypi_name hole + +Name: python-%{pypi_name} +Version: 0.5.0 +Release: 1 +Summary: Python client for interacting with a *hole instance + +License: MIT +URL: https://github.com/fabaff/python-hole +Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +%description +A Python client for interacting with a *hole instance. You know the thing +that is blocking Ads by manipulating your DNS requests and run on your single +board computer or on other hardware with different operating systems. + +This module is consuming the details provided by the endpoint /api.php only. + +%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 a *hole instance. You know the thing +that is blocking Ads by manipulating your DNS requests and run on your single +board computer or on other hardware with different operating systems. + +This module is consuming the details provided by the endpoint /api.php only. + +%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 +* Mon Jul 07 2021 Bixiaoyan - 0.5.0-1 +- Package init +