# Generated by go2rpm 1.9.0
# Needs network
%bcond_with check
%global debug_package %{nil}
# https://github.com/eclipse/paho.mqtt.golang
%global goipath github.com/eclipse/paho.mqtt.golang
Version: 1.4.3
%gometa -f
%global common_description %{expand:
This code builds a library which enable applications to connect to an MQTT
broker to publish messages, and to subscribe to topics and receive published
messages.}
%global golicenses LICENSE NOTICE.md
%global godocs CONTRIBUTING.md README.md
Name: %{goname}
Release: %autorelease
Summary: Eclipse Paho MQTT Go client
License: EPL-2.0
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep
%autopatch -p1
%generate_buildrequires
%go_generate_buildrequires
%build
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%files
%license LICENSE NOTICE.md
%doc CONTRIBUTING.md README.md
%gopkgfiles
%changelog
%autochangelog