package created using the webbuild interface [release 1.6.12-1mamba;Tue Sep 29 2020]
This commit is contained in:
parent
b6e21f0784
commit
f0528a2e44
@ -1,2 +1,7 @@
|
|||||||
# mosquitto
|
# mosquitto
|
||||||
|
|
||||||
|
Eclipse Mosquitto is an open source (EPL/EDL licensed) message broker that implements the MQTT protocol versions 5.0, 3.1.1 and 3.1. Mosquitto is lightweight and is suitable for use on all devices from low power single board computers to full servers.
|
||||||
|
The MQTT protocol provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for Internet of Things messaging such as with low power sensors or mobile devices such as phones, embedded computers or microcontrollers.
|
||||||
|
The Mosquitto project also provides a C library for implementing MQTT clients, and the very popular mosquitto_pub and mosquitto_sub command line MQTT clients.
|
||||||
|
Mosquitto is part of the Eclipse Foundation, is an iot.eclipse.org project and is sponsored by cedalo.com.
|
||||||
|
|
||||||
|
109
mosquitto.spec
Normal file
109
mosquitto.spec
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
Name: mosquitto
|
||||||
|
Version: 1.6.12
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: An open source (EPL/EDL licensed) message broker that implements the MQTT protocol versions 5.0, 3.1.1 and 3.1
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://mosquitto.org/
|
||||||
|
Source: https://mosquitto.org/files/source/mosquitto-%{version}.tar.gz
|
||||||
|
License: Eclipse Public License
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: ldconfig
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: cmake
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
Eclipse Mosquitto is an open source (EPL/EDL licensed) message broker that implements the MQTT protocol versions 5.0, 3.1.1 and 3.1. Mosquitto is lightweight and is suitable for use on all devices from low power single board computers to full servers.
|
||||||
|
The MQTT protocol provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for Internet of Things messaging such as with low power sensors or mobile devices such as phones, embedded computers or microcontrollers.
|
||||||
|
The Mosquitto project also provides a C library for implementing MQTT clients, and the very popular mosquitto_pub and mosquitto_sub command line MQTT clients.
|
||||||
|
Mosquitto is part of the Eclipse Foundation, is an iot.eclipse.org project and is sponsored by cedalo.com.
|
||||||
|
|
||||||
|
%package -n lib%{name}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Shared libraries for %{name}
|
||||||
|
|
||||||
|
%description -n lib%{name}
|
||||||
|
This package contains shared libraries for %{name}.
|
||||||
|
|
||||||
|
%package -n lib%{name}-devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
## note: you can add this requirement if .pc files are provided by this package
|
||||||
|
#Requires: pkg-config
|
||||||
|
|
||||||
|
%description -n lib%{name}-devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake -d build \
|
||||||
|
-DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir}
|
||||||
|
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall -C build
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_sysconfdir}/mosquitto
|
||||||
|
%config(noreplace) %{_sysconfdir}/mosquitto/mosquitto.conf
|
||||||
|
%{_sysconfdir}/mosquitto/aclfile.example
|
||||||
|
%{_sysconfdir}/mosquitto/pskfile.example
|
||||||
|
%{_sysconfdir}/mosquitto/pwfile.example
|
||||||
|
%{_bindir}/mosquitto_passwd
|
||||||
|
%{_bindir}/mosquitto_pub
|
||||||
|
%{_bindir}/mosquitto_rr
|
||||||
|
%{_bindir}/mosquitto_sub
|
||||||
|
%{_sbindir}/mosquitto
|
||||||
|
%{_mandir}/man1/mosquitto_passwd.1*
|
||||||
|
%{_mandir}/man1/mosquitto_pub.1*
|
||||||
|
%{_mandir}/man1/mosquitto_rr.1*
|
||||||
|
%{_mandir}/man1/mosquitto_sub.1*
|
||||||
|
%{_mandir}/man8/mosquitto.8*
|
||||||
|
|
||||||
|
%files -n lib%{name}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libmosquitto.so.*
|
||||||
|
%{_libdir}/libmosquittopp.so.*
|
||||||
|
%doc LICENSE.txt
|
||||||
|
|
||||||
|
%files -n lib%{name}-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/mosquitto.h
|
||||||
|
%{_includedir}/mosquitto_broker.h
|
||||||
|
%{_includedir}/mosquitto_plugin.h
|
||||||
|
%{_includedir}/mosquittopp.h
|
||||||
|
%{_libdir}/libmosquitto.so
|
||||||
|
%{_libdir}/libmosquittopp.so
|
||||||
|
%{_libdir}/pkgconfig/libmosquitto.pc
|
||||||
|
%{_libdir}/pkgconfig/libmosquittopp.pc
|
||||||
|
%{_mandir}/man3/libmosquitto.3.gz
|
||||||
|
%{_mandir}/man5/mosquitto.conf.5*
|
||||||
|
%{_mandir}/man7/mosquitto-tls.7*
|
||||||
|
%{_mandir}/man7/mqtt.7*
|
||||||
|
%doc ChangeLog.txt
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Sep 29 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.12-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user