1 Name: capi-system-runtime-info
2 Summary: A Runtime Information library in Tizen Native API
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: %{name}.manifest
9 Source1002: %{name}-devel.manifest
11 BuildRequires: pkgconfig(dlog)
12 BuildRequires: pkgconfig(vconf)
13 BuildRequires: pkgconfig(capi-base-common)
16 A Runtime Information library in Tizen Native API.
19 Summary: A Runtime Information library in Tizen Native API (Development)
20 Group: Development/System
21 Requires: %{name} = %{version}-%{release}
22 Requires: pkgconfig(capi-base-common)
31 cp %{SOURCE1001} %{SOURCE1002} .
35 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
36 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
44 %post -p /sbin/ldconfig
46 %postun -p /sbin/ldconfig
50 %manifest %{name}.manifest
51 %license LICENSE.APLv2
55 %manifest %{name}-devel.manifest
56 %{_includedir}/system/*.h
57 %{_libdir}/pkgconfig/*.pc