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 BuildRequires: pkgconfig(context-sensor-recorder-client)
15 Requires(post): /sbin/ldconfig
16 Requires(postun): /sbin/ldconfig
18 Provides: %{name}-profile_common = %{version}-%{release}
19 Provides: %{name}-profile_mobile = %{version}-%{release}
20 Provides: %{name}-profile_wearable = %{version}-%{release}
21 Provides: %{name}-profile_tv = %{version}-%{release}
22 Provides: %{name}-profile_ivi = %{version}-%{release}
25 A Sensor Library in TIZEN C API package.
28 Summary: A Sensor library in TIZEN C API (Development)
29 Group: System/Development
30 Requires: %{name} = %{version}-%{release}
33 A Sensor library in TIZEN C API package (Development).
40 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
41 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
42 %__make %{?_smp_mflags}
47 %post -p /sbin/ldconfig
49 %postun -p /sbin/ldconfig
52 %manifest packaging/capi-system-sensor.manifest
53 %{_libdir}/libcapi-system-sensor.so*
54 %license LICENSE.APLv2
57 %manifest packaging/capi-system-sensor.manifest
58 %{_libdir}/pkgconfig/*.pc
59 %{_includedir}/sensor/*.h
60 %license LICENSE.APLv2