)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc DESTINATION ${LIB_DIR}/pkgconfig)
-ADD_SUBDIRECTORY(test)
+#ADD_SUBDIRECTORY(test)
-IF(TOMATO STREQUAL "y")
- ADD_SUBDIRECTORY(ut)
-ENDIF(TOMATO STREQUAL "y")
+#IF(TOMATO STREQUAL "y")
+# ADD_SUBDIRECTORY(ut)
+#ENDIF(TOMATO STREQUAL "y")
IF(UNIX)
BuildRequires: pkgconfig(resource-manager)
BuildRequires: pkgconfig(resource-information)
-%define _install_prefix /usr
-
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
-DFULLVER=%{version} \
-DMAJORVER=${MAJORVER} \
-DLIB_DIR=%{_libdir} \
- -DCMAKE_INSTALL_PREFIX=%{_install_prefix} \
- -DTOMATO_BIN=%{_tomatobin}
+ -DCMAKE_INSTALL_PREFIX=%{_libdir}
make %{?jobs:-j%jobs}
%install
%{_libdir}/libresource-center-api.so.*
%manifest resource-center-api.manifest
%license LICENSE.APLv2
-%{_bindir}/resource_center_test
+#%{_bindir}/resource_center_test
%files devel
%{_includedir}/resource_center.h