%global debug_package %{nil} Name: weewx-MQTTSubscribe Version: 2.0.0 Release: rc04_1%{?dist} Summary: A WeeWX service and driver that receives data from MQTT License: GPLv3 URL: https://github.com/bellrichm/WeeWX-MQTTSubscribe Source0: https://github.com/bellrichm/WeeWX-MQTTSubscribe/archive/v2.0.0-rc04.tar.gz#/WeeWX-MQTTSubscribe-2.0.0-rc04.tar.gz Requires: python3dist(paho-mqtt) Requires: weewx > 4.3.0 %description Currently MQTT payloads of json, keyword (field1=value, field2=value..) and individual (each topic contains a single observation) are supported. %prep %autosetup -n WeeWX-MQTTSubscribe-2.0.0-rc04 %build echo "Move along, nothing to see here..." %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_datadir}/weewx/user cp -r bin/user/MQTTSubscribe.py $RPM_BUILD_ROOT/%{_datadir}/weewx/user/ %files %doc README.md weewx.device.conf weewx.service.conf %{_datadir}/weewx %changelog * Tue Feb 9 2021 Greg Wildman - 2.0.0.rc04_1 - Initial spec.