]> git.pld-linux.org Git - packages/domoticz.git/blobdiff - domoticz.spec
boost rebuild
[packages/domoticz.git] / domoticz.spec
index add2ec27839e7e6b6fa5d7eac7026e324e4d57b0..1de1f594679e3c9745fca14bdb8c80225c4d0b4c 100644 (file)
@@ -1,7 +1,7 @@
 Summary:       Open source Home Automation System
 Name:          domoticz
 Version:       2021.1
-Release:       1
+Release:       7
 License:       GPLv3+ and ASL 2.0 and Boost and BSD and MIT
 Group:         Base
 URL:           http://www.domoticz.com
@@ -45,8 +45,10 @@ Requires:    fonts-TTF-Google-Droid
 Requires:      fonts-TTF-OpenSans
 Requires:      libopenzwave >= 1.5.0
 Requires:      setup >= 2.10.1
+Suggests:      python3-libs
 Provides:      group(domoticz)
 Provides:      user(domoticz)
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Domoticz is a Home Automation System that lets you monitor and
@@ -72,6 +74,7 @@ echo "#define APPDATE ${APPDATE}" >> appversion.h
 
 %build
 install -d build && cd build
+export CXXFLAGS="%{rpmcxxflags} -DPYTHON_LIBDIR=\\\"%{_libdir}\\\""
 %cmake \
        -DUSE_BUILTIN_JSONCPP=NO \
        -DUSE_BUILTIN_LIBFMT=NO \
@@ -140,8 +143,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %postun
 if [ "$1" = "0" ]; then
-       %userremove mpd
-       %groupremove mpd
+       %userremove domoticz
+       %groupremove domoticz
 fi
 %systemd_reload
 
This page took 0.122968 seconds and 4 git commands to generate.