|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: mosquitto
|
|
|
|
Name: mosquitto
|
|
|
|
Version: 1.1.3
|
|
|
|
Version: 1.2
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: An Open Source MQTT v3.1 Broker
|
|
|
|
Summary: An Open Source MQTT v3.1 Broker
|
|
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
@ -69,15 +69,13 @@ pushd lib/python
|
|
|
|
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/*.example
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat > mosquitto.service << FOE
|
|
|
|
cat > mosquitto.service << FOE
|
|
|
|
[Unit]
|
|
|
|
[Unit]
|
|
|
|
Description=Mosquitto MQTTv3.1 Broker
|
|
|
|
Description=Mosquitto MQTTv3.1 Broker
|
|
|
|
Documentation=man:mosquitto.conf(5) man:mosquitto(8)
|
|
|
|
Documentation=man:mosquitto.conf(5) man:mosquitto(8)
|
|
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
[Service]
|
|
|
|
ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
|
|
|
|
ExecStart=/usr/sbin/mosquitto
|
|
|
|
User=mosquitto
|
|
|
|
User=mosquitto
|
|
|
|
FOE
|
|
|
|
FOE
|
|
|
|
|
|
|
|
|
|
|
@ -111,7 +109,7 @@ exit 0
|
|
|
|
%{_sbindir}/*
|
|
|
|
%{_sbindir}/*
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%dir %{_sysconfdir}/%{name}
|
|
|
|
%dir %{_sysconfdir}/%{name}
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
|
|
|
|
%config %{_sysconfdir}/%{name}/*.example
|
|
|
|
%{_unitdir}/%{name}.service
|
|
|
|
%{_unitdir}/%{name}.service
|
|
|
|
%{_mandir}/man1/*.1.*
|
|
|
|
%{_mandir}/man1/*.1.*
|
|
|
|
%{_mandir}/man5/*.5.*
|
|
|
|
%{_mandir}/man5/*.5.*
|
|
|
@ -127,6 +125,9 @@ exit 0
|
|
|
|
%{python_sitelib}/%{name}*
|
|
|
|
%{python_sitelib}/%{name}*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Aug 14 2013 Rich Mattes <richmattes@gmail.com> - 1.2-1
|
|
|
|
|
|
|
|
- Update to release 1.2
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Aug 10 2013 Rich Mattes <richmattes@gmail.com> - 1.1.3-3
|
|
|
|
* Sat Aug 10 2013 Rich Mattes <richmattes@gmail.com> - 1.1.3-3
|
|
|
|
- Switch to Makefiles from CMake scripts
|
|
|
|
- Switch to Makefiles from CMake scripts
|
|
|
|
- Add User=mosquitto to systemd unit
|
|
|
|
- Add User=mosquitto to systemd unit
|
|
|
|