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 Requires(post): /sbin/ldconfig
16 Requires(postun): /sbin/ldconfig
19 A Location Manager library in Tizen Native API
23 Summary: A Location Manager library in Tizen Native API (Development)
24 Group: Location/Development
25 Requires: %{name} = %{version}-%{release}
28 A Location Manager library in Tizen Native API (Development)
37 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
38 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
39 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
41 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
42 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR=%{_libdir} -DINCLUDEDIR=%{_includedir} \
43 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
51 #mkdir -p %{buildroot}/usr/share/license
52 #cp LICENSE %{buildroot}/usr/share/license/%{name}
54 %post -p /sbin/ldconfig
56 %postun -p /sbin/ldconfig
59 %manifest %{name}.manifest
61 %{_libdir}/libcapi-location-manager.so.*
64 %{_includedir}/location/*.h
65 %{_libdir}/pkgconfig/*.pc
66 %{_libdir}/libcapi-location-manager.so
71 Summary: Test application of Location Manager
72 Group: Location/Testing
73 Requires: %{name} = %{version}-%{release}
76 Test application of Location Manager
79 %manifest test/capi-location-manager-test.manifest
80 #/usr/share/packages/capi-location-manager-test.xml
81 /opt/usr/devel/location/location_test