Name: stc-manager
Summary: STC(Smart Traffic Control) manager
-Version: 0.0.75
+Version: 0.0.81
Release: 0
Group: Network & Connectivity/Other
License: Apache-2.0
export CFLAGS="$CFLAGS -D_GNU_SOURCE"
export CXXFLAGS="$CXXFLAGS -D_GNU_SOURCE"
+%if "%{tizen_profile_name}" == "tv"
+ CFLAGS+=" -DTIZEN_TV_EXT"
+%endif
+
%cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DBIN_DIR=%{_bindir} \
-DLIB_PATH=%{_lib} \
%attr(644,root,root) %{_libdir}/systemd/system/stc-manager.service
%attr(644,root,root) %{_libdir}/systemd/system/multi-user.target.wants/stc-manager.service
-%attr(755,root,root) /%{_localstatedir}/lib/stc
+%attr(755,network_fw,network_fw) /%{_localstatedir}/lib/stc
%attr(600,root,root) /%{_localstatedir}/lib/stc/exceptions
#DBus DAC