1 Name: capi-system-sensor
2 Summary: A Sensor library in TIZEN C API
6 License: Apache-2.0 and PD
7 Source0: %{name}-%{version}.tar.gz
8 Source1: capi-system-sensor.manifest
11 BuildRequires: pkgconfig(dlog)
12 BuildRequires: pkgconfig(sensor)
13 BuildRequires: pkgconfig(capi-base-common)
14 Requires(post): /sbin/ldconfig
15 Requires(postun): /sbin/ldconfig
18 A Sensor Library in TIZEN C API package.
21 Summary: A Sensor library in TIZEN C API (Development)
22 Group: System/Development
23 Requires: %{name} = %{version}-%{release}
26 A Sensor library in TIZEN C API package (Development).
34 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
35 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
36 %__make %{?_smp_mflags}
42 %post -p /sbin/ldconfig
44 %postun -p /sbin/ldconfig
47 %manifest capi-system-sensor.manifest
48 %{_libdir}/libcapi-system-sensor.so.*
49 %license LICENSE.APLv2
52 %manifest capi-system-sensor.manifest
53 %license LICENSE.APLv2
54 %{_libdir}/libcapi-system-sensor.so
55 %{_libdir}/pkgconfig/*.pc
56 %{_includedir}/sensor/*.h