Blame python-webthing-ws.spec

22e0cbe
%global pypi_name webthing-ws
22e0cbe
22e0cbe
Name:           python-%{pypi_name}
22e0cbe
Version:        0.1.0
3966951
Release:        5%{?dist}
22e0cbe
Summary:        WebThing WebSocket consumer and API client
22e0cbe
22e0cbe
License:        MIT
22e0cbe
URL:            https://github.com/fabaff/webthing-ws
33efdf9
Source0:        %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
22e0cbe
BuildArch:      noarch
22e0cbe
22e0cbe
%description
22e0cbe
A WebThing WebSocket consumer and API client.
22e0cbe
22e0cbe
%package -n python3-%{pypi_name}
22e0cbe
Summary:        %{summary}
22e0cbe
22e0cbe
BuildRequires:  python3-devel
33efdf9
BuildRequires:  python3-setuptools
22e0cbe
%{?python_provide:%python_provide python3-%{pypi_name}}
22e0cbe
22e0cbe
%description -n python3-%{pypi_name}
22e0cbe
A WebThing WebSocket consumer and API client.
22e0cbe
22e0cbe
%prep
22e0cbe
%autosetup -n %{pypi_name}-%{version}
22e0cbe
22e0cbe
%build
22e0cbe
%py3_build
22e0cbe
22e0cbe
%install
22e0cbe
%py3_install
22e0cbe
22e0cbe
%files -n python3-%{pypi_name}
22e0cbe
%doc README.rst example.py
22e0cbe
%license LICENSE
22e0cbe
%{python3_sitelib}/webthing_ws/
22e0cbe
%{python3_sitelib}/webthing_ws*.egg-info
22e0cbe
22e0cbe
%changelog
3966951
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-5
3966951
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3966951
33efdf9
* Fri Jun 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.0-4
33efdf9
- Add python3-setuptools as BR
33efdf9
aa37562
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.1.0-3
aa37562
- Rebuilt for Python 3.9
aa37562
f293436
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-2
f293436
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f293436
22e0cbe
* Thu Dec 12 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.0-1
22e0cbe
- Initial package for Fedora