1 Name: capi-location-manager
2 Summary: A Location Manager library in Tizen Native API
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: %{name}.manifest
10 BuildRequires: pkgconfig(dlog)
11 BuildRequires: pkgconfig(lbs-location)
12 BuildRequires: pkgconfig(capi-base-common)
13 BuildRequires: pkgconfig(capi-system-info)
14 BuildRequires: pkgconfig(vconf)
15 BuildRequires: pkgconfig(libtzplatform-config)
16 Requires(post): /sbin/ldconfig
17 Requires(postun): /sbin/ldconfig
20 A Location Manager library in Tizen Native API
24 Summary: A Location Manager library in Tizen Native API (Development)
25 Group: Location/Development
26 Requires: %{name} = %{version}-%{release}
29 A Location Manager library in Tizen Native API (Development)
38 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
39 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR=%{_libdir} -DINCLUDEDIR=%{_includedir} \
40 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DTZ_SYS_RO_PACKAGES=%{TZ_SYS_RO_PACKAGES} -DTZ_SYS_BIN=%{TZ_SYS_BIN} \
48 %post -p /sbin/ldconfig
50 %postun -p /sbin/ldconfig
53 %manifest %{name}.manifest
55 %{_libdir}/libcapi-location-manager.so.*
56 %{_bindir}/location_test
59 %{_includedir}/location/*.h
60 %{_libdir}/pkgconfig/*.pc
61 %{_libdir}/libcapi-location-manager.so