1 Name: capi-system-device
2 Summary: A Device library in TIZEN C API
7 Source0: %{name}-%{version}.tar.gz
8 Source1: capi-system-device.manifest
10 BuildRequires: pkgconfig(capi-base-common)
11 BuildRequires: pkgconfig(capi-system-info)
12 BuildRequires: pkgconfig(dlog)
13 BuildRequires: pkgconfig(vconf)
14 BuildRequires: pkgconfig(gio-2.0)
15 BuildRequires: pkgconfig(tracker)
18 A Device library in TIZEN C API package.
21 Summary: A Device library in TIZEN C API (Development)
22 Group: System/Development
23 Requires: %{name} = %{version}-%{release}
26 A Device library in TIZEN C API (Development) package.
34 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
35 %cmake . -DFULLVER=%{version} \
36 -DMAJORVER=${MAJORVER}
38 %__make %{?jobs:-j%jobs}
43 %post -p /sbin/ldconfig
45 %postun -p /sbin/ldconfig
48 %manifest %{name}.manifest
49 %license LICENSE.Apache-2.0
50 %{_libdir}/libcapi-system-device.so.*
51 /etc/deviced/device/*.conf
54 %manifest %{name}.manifest
55 %license LICENSE.Apache-2.0
56 %{_includedir}/device/*.h
57 %{_includedir}/system/*.h
58 %{_libdir}/pkgconfig/*.pc
59 %{_libdir}/libcapi-system-device.so