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 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
39 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
40 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
42 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
43 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR=%{_libdir} -DINCLUDEDIR=%{_includedir} \
44 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DTZ_SYS_RO_PACKAGES=%{TZ_SYS_RO_PACKAGES} -DTZ_SYS_BIN=%{TZ_SYS_BIN} \
52 %post -p /sbin/ldconfig
54 %postun -p /sbin/ldconfig
57 %manifest %{name}.manifest
59 %{_libdir}/libcapi-location-manager.so.*
62 %{_includedir}/location/*.h
63 %{_libdir}/pkgconfig/*.pc
64 %{_libdir}/libcapi-location-manager.so
69 Summary: Test application of Location Manager
70 Group: Location/Testing
71 Requires: %{name} = %{version}-%{release}
74 Test application of Location Manager
77 %manifest test/capi-location-manager-test.manifest
78 #%{TZ_SYS_RO_PACKAGES}/capi-location-manager-test.xml
79 %{_bindir}/location_test