]> git.pld-linux.org Git - packages/mosquitto.git/blobdiff - mosquitto.spec
- rel 1;
[packages/mosquitto.git] / mosquitto.spec
index 5ed7ae89a47513c19c9a19af5e0ccc66a4bdcac6..402d44c8deaa6dbda6296f38c8ea676c9e3379c6 100644 (file)
@@ -2,12 +2,12 @@
 # - initscript
 Summary:       An Open Source MQTT v3.1 Broker
 Name:          mosquitto
-Version:       1.4.14
-Release:       0.1
+Version:       1.6.9
+Release:       1
 License:       BSD
 Group:         Applications
 Source0:       http://mosquitto.org/files/source/%{name}-%{version}.tar.gz
-# Source0-md5: 6b0966e93f118bc71ad7b61600a6c2d3
+# Source0-md5: 52f5078ec18aaf623b14dfb121fd534b
 URL:           http://mosquitto.org/
 BuildRequires: cmake
 BuildRequires: libstdc++-devel
@@ -91,14 +91,20 @@ install -d build
 cd build
 %cmake \
        -DUSE_LIBWRAP:BOOL=ON \
+       -DWITH_BUNDLED_DEPS:BOOL=ON \
        ..
 %{__make}
 cd ..
 
 %install
+rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
+:> $RPM_BUILD_ROOT/etc/mosquitto/aclfile
+:> $RPM_BUILD_ROOT/etc/mosquitto/pskfile
+:> $RPM_BUILD_ROOT/etc/mosquitto/pwfile
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -122,6 +128,9 @@ fi
 %doc LICENSE.txt CONTRIBUTING.md ChangeLog.txt readme.md examples
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/%{name}.conf
+%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/aclfile
+%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/pskfile
+%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/pwfile
 %attr(755,root,root) %{_bindir}/mosquitto_passwd
 %attr(755,root,root) %{_sbindir}/mosquitto
 %{_mandir}/man1/mosquitto_passwd.1*
@@ -133,8 +142,10 @@ fi
 %files clients
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/mosquitto_pub
+%attr(755,root,root) %{_bindir}/mosquitto_rr
 %attr(755,root,root) %{_bindir}/mosquitto_sub
 %{_mandir}/man1/mosquitto_pub.1*
+%{_mandir}/man1/mosquitto_rr.1*
 %{_mandir}/man1/mosquitto_sub.1*
 
 %files -n libmosquitto
@@ -146,8 +157,11 @@ fi
 %defattr(644,root,root,755)
 %{_mandir}/man3/libmosquitto.3*
 %{_libdir}/libmosquitto.so
+%{_includedir}/mosquitto_broker.h
 %{_includedir}/mosquitto.h
 %{_includedir}/mosquitto_plugin.h
+%{_pkgconfigdir}/libmosquitto.pc
+%{_pkgconfigdir}/libmosquittopp.pc
 
 %files -n libmosquittopp
 %defattr(644,root,root,755)
This page took 0.052646 seconds and 4 git commands to generate.