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
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
%build
install -d build && cd build
+export CXXFLAGS="%{rpmcxxflags} -DPYTHON_LIBDIR=\\\"%{_libdir}\\\""
%cmake \
-DUSE_BUILTIN_JSONCPP=NO \
-DUSE_BUILTIN_LIBFMT=NO \
%postun
if [ "$1" = "0" ]; then
- %userremove mpd
- %groupremove mpd
+ %userremove domoticz
+ %groupremove domoticz
fi
%systemd_reload