From 22e0cbe2bc583741fa4e4053dabd301c000f7272 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Jan 06 2020 21:06:35 +0000 Subject: * Thu Dec 12 2019 Fabian Affolter - 0.1.0-1 - Initial package for Fedora --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.gitignore diff --git a/python-webthing-ws.spec b/python-webthing-ws.spec new file mode 100644 index 0000000..4b74096 --- /dev/null +++ b/python-webthing-ws.spec @@ -0,0 +1,42 @@ +%global pypi_name webthing-ws + +Name: python-%{pypi_name} +Version: 0.1.0 +Release: 1%{?dist} +Summary: WebThing WebSocket consumer and API client + +License: MIT +URL: https://github.com/fabaff/webthing-ws +Source0: https://github.com/fabaff/webthing-ws/archive/%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +%description +A WebThing WebSocket consumer and API client. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +BuildRequires: python3-devel +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +A WebThing WebSocket consumer and API client. + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%doc README.rst example.py +%license LICENSE +%{python3_sitelib}/webthing_ws/ +%{python3_sitelib}/webthing_ws*.egg-info + +%changelog +* Thu Dec 12 2019 Fabian Affolter - 0.1.0-1 +- Initial package for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/sources