2 Summary: Common header files of Tizen Native API
7 Source0: %{name}-%{version}.tar.gz
14 Requires(post): /sbin/ldconfig
15 Requires(postun): /sbin/ldconfig
18 Common header files of Tizen Native API
22 Summary: Common header files of Tizen Native API (Development)
24 Requires: %{name} = %{version}-%{release}
27 Common header files of Tizen Native API
31 Summary: Common header files of Tizen Native API (gcov)
34 Common header files of Tizen Native API gcov objects
42 export CFLAGS+=" -fprofile-arcs -ftest-coverage"
43 export CXXFLAGS+=" -fprofile-arcs -ftest-coverage"
44 export FFLAGS+=" -fprofile-arcs -ftest-coverage"
45 export LDFLAGS+=" -lgcov"
48 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
50 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir} -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \
51 -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
57 find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
65 mkdir -p %{buildroot}%{_datadir}/gcov/obj
66 install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
69 %post -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
75 %manifest %{name}.manifest
76 %{_libdir}/libcapi-base-common.so.*
81 %{_libdir}/pkgconfig/capi-base-common.pc
82 %{_libdir}/libcapi-base-common.so
86 %{_datadir}/gcov/obj/*