Summary: Open source Home Automation System
Name: domoticz
-Version: 2023.2
+Version: 2024.1
Release: 1
License: GPLv3+ and ASL 2.0 and Boost and BSD and MIT
Group: Base
URL: http://www.domoticz.com
Source0: https://github.com/domoticz/domoticz/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: ea8089e5b49a33e60ecc2ce0052e32c5
+# Source0-md5: 35b60b24ab2e1cf6d721d6720ae8a670
Source1: %{name}.service
Source2: %{name}.conf
# Use system tinyxpath (https://github.com/domoticz/domoticz/pull/1759)
BuildRequires: curl-devel
BuildRequires: jsoncpp-devel
BuildRequires: libmosquitto-devel
-BuildRequires: libopenzwave-devel >= 1.5.0
BuildRequires: libstdc++-devel >= 6:4.9
BuildRequires: libusb-compat-devel
BuildRequires: linux-libc-headers
Requires(post,preun,postun): systemd-units >= 38
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)
-DUSE_OPENSSL_STATIC=NO \
-DUSE_STATIC_BOOST=NO \
-DUSE_STATIC_LIBSTDCXX=NO \
- -DUSE_STATIC_OPENZWAVE=NO \
-DFORCE_WITH_GPIO:BOOL=TRUE \
-DCMAKE_INSTALL_PREFIX=%{_datadir}/%{name} \
..
ln -s %{_fontsdir}/TTF/OpenSans-Regular.ttf \
$RPM_BUILD_ROOT%{_datadir}/%{name}/www/styles/element-dark/fonts/OpenSans.ttf
-# OpenZWave Control Panel temp file
-ln -s %{_sharedstatedir}/%{name}/ozwcp.poll.XXXXXX.xml \
- $RPM_BUILD_ROOT%{_datadir}/%{name}/ozwcp.poll.XXXXXX.xml
-
%clean
rm -rf $RPM_BUILD_ROOT