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
10 BuildRequires: pkgconfig(dlog)
11 BuildRequires: pkgconfig(sensor)
12 BuildRequires: pkgconfig(capi-base-common)
13 Requires(post): /sbin/ldconfig
14 Requires(postun): /sbin/ldconfig
17 A Sensor Library in TIZEN C API package.
20 Summary: A Sensor library in TIZEN C API (Development)
21 Group: System/Development
22 Requires: %{name} = %{version}-%{release}
25 A Sensor library in TIZEN C API package (Development).
32 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
33 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
34 %__make %{?_smp_mflags}
40 %post -p /sbin/ldconfig
42 %postun -p /sbin/ldconfig
45 %manifest packaging/capi-system-sensor.manifest
46 %{_libdir}/libcapi-system-sensor.so.*
47 %license LICENSE.APLv2
50 %manifest packaging/capi-system-sensor.manifest
51 %{_libdir}/libcapi-system-sensor.so
52 %{_libdir}/pkgconfig/*.pc
53 %{_includedir}/sensor/*.h
54 %license LICENSE.APLv2