BuildRequires: cmake
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(iotivity)
-BuildRequires: pkgconfig(protobuf)
BuildRequires: pkgconfig(device-certificate-manager-backend)
-BuildRequires: boost-devel
BuildRequires: openssl1.1
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
cp -a %{SOURCE1001} .
%build
-
-%cmake . -DVERSION=%{version} \
- -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}%{!?build_type:Release} \
+%cmake . -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}%{!?build_type:Release} \
-DDCM_BACKEND_API=%{dcm_backend_api} \
-DDCM_BACKEND_TYPE=dummy
BuildRequires: cmake
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(iotivity)
-BuildRequires: pkgconfig(protobuf)
BuildRequires: pkgconfig(device-certificate-manager-backend)
BuildRequires: boost-devel
Requires(post): /sbin/ldconfig
%description
Device Certificate Manager KONAISE backend library
-%package -n device-certificate-manager-backend-kse-tests
+%package tests
Summary: Internal tool for testing the DCM KONAISE backend
Group: Security/Testing
Requires: device-certificate-manager-backend-kse
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
%description tests
Internal tool for testing the DCM KONAISE backend
cp -a %{SOURCE1001} .
%build
-
-%cmake . -DVERSION=%{version} \
- -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}%{!?build_type:Release} \
+%cmake . -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}%{!?build_type:Release} \
-DDCM_BACKEND_API=%{dcm_backend_api} \
-DDCM_BACKEND_TYPE=kse