From 1fa666afdabd7f27f263509b6cd932dbe71daaac Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: May 19 2020 14:16:29 +0000 Subject: Initial import --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..930e3f5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/webthing-python-*.tar.gz diff --git a/python-webthing.spec b/python-webthing.spec new file mode 100644 index 0000000..15095af --- /dev/null +++ b/python-webthing.spec @@ -0,0 +1,52 @@ +%define realname webthing-python +Name: python-webthing +Version: 0.13.0 +Release: 1%{?dist} +Summary: HTTP Web Thing implementation in Python +License: MPLv2.0 +URL: https://github.com/mozilla-iot/webthing-python +Source0: https://github.com/mozilla-iot/webthing-python/archive/v%{version}.tar.gz#/%{realname}-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description +A server implementing the HTTP Web Thing implementation. + +%package -n python3-webthing +Summary: HTTP Web Thing implementation in Python +%{?python_provide:%python_provide python3-webthing} + +%description -n python3-webthing +A server implementing the HTTP Web Thing implementation. + +%prep +%autosetup -p1 -n %{realname}-%{version} +# Remove bundled egg-info +rm -rf %{realname}.egg-info + +%build +%py3_build + + +%install +%py3_install + + +%files -n python3-webthing +%license LICENSE.txt +%doc README.rst +%{python3_sitelib}/webthing/ +%{python3_sitelib}/webthing-%{version}-py3.*.egg-info + +%changelog +* Sun May 10 2020 Peter Robinson - 0.13.0-1 +- Update to 0.13.0 + +* Tue Jan 7 2020 Peter Robinson 0.12.0-1 +- Update to 0.12.0 + +* Wed Aug 8 2018 Peter Robinson 0.7-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..6ca0f1e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (webthing-python-0.13.0.tar.gz) = ac50b62d7fa32e351173dedd31db0064f07e9234f4d9e53802229957f51b7e8657ad18da1245ba2cce2ad07e2e8d349ead4bf820a9b5a9dc189dee640e0565ef