Blame mozilla-iot-gateway-addon-python.spec

395c23d
%global pypi_name gateway_addon
395c23d
%global addon_name gateway-addon-python
395c23d
395c23d
%{?python_enable_dependency_generator}
395c23d
395c23d
Name:           mozilla-iot-gateway-addon-python
395c23d
Summary:        Python bindings for Mozilla IoT Gateway
702bbe1
Version:        0.8.0
395c23d
Release:        1%{?dist}
395c23d
License:        MPLv2.0
395c23d
URL:            https://github.com/mozilla-iot/gateway-addon-python
395c23d
Source0:        https://github.com/mozilla-iot/%{addon_name}/archive/v%{version}.tar.gz
395c23d
BuildRequires:  python3-devel
395c23d
BuildRequires:  python3dist(setuptools)
395c23d
BuildRequires:  python3-jsonschema
395c23d
BuildRequires:  python3-nnpy
395c23d
BuildArch:      noarch
395c23d
%{?python_provide:%python_provide python3-%{pypi_name}}
395c23d
395c23d
%description
395c23d
Python bindings for Python add-ons for Mozilla IoT Gateway.
395c23d
395c23d
395c23d
%prep
395c23d
%autosetup -n %{addon_name}-%{version}
395c23d
395c23d
395c23d
%build
395c23d
%py3_build
395c23d
395c23d
395c23d
%install
395c23d
%py3_install
395c23d
395c23d
395c23d
%files
395c23d
%license LICENSE.txt
395c23d
%doc README.rst
395c23d
%{python3_sitelib}/%{pypi_name}/
395c23d
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info/
395c23d
395c23d
%changelog
702bbe1
* Thu Apr 25 2019 Troy Dawson <tdawson@redhat.com> - 0.8.0-1
702bbe1
- Update to 0.8.0
702bbe1
395c23d
* Wed Feb 20 2019 Troy Dawson <tdawson@redhat.com> - 0.4.0-1
395c23d
- Initial package