2 Summary: Common header files of Tizen Native API
7 Source0: %{name}-%{version}.tar.gz
10 Requires(post): /sbin/ldconfig
11 Requires(postun): /sbin/ldconfig
14 Common header files of Tizen Native API
18 Summary: Common header files of Tizen Native API (Development)
20 Requires: %{name} = %{version}-%{release}
23 Common header files of Tizen Native API
30 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
32 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir} -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \
33 -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
41 mkdir -p %{buildroot}/usr/share/license
42 cp LICENSE %{buildroot}/usr/share/license/%{name}
44 %post -p /sbin/ldconfig
46 %postun -p /sbin/ldconfig
49 %manifest %{name}.manifest
50 /usr/share/license/%{name}
51 %{_libdir}/libcapi-base-common.so.*
55 %{_libdir}/pkgconfig/capi-base-common.pc
56 %{_libdir}/libcapi-base-common.so