2 Summary: osp locations library
5 Group: System/Libraries
6 License: TO_BE/FILLED_IN
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: pkgconfig(capi-location-manager)
10 BuildRequires: pkgconfig(osp-appfw)
11 BuildRequires: pkgconfig(osp-uifw)
12 BuildRequires: osp-appfw-internal-devel
13 BuildRequires: osp-uifw-internal-devel
23 Summary: osp locations library (Development)
24 Group: TO_BE/FILLED_IN
25 Requires: %{name} = %{version}-%{release}
28 osp locations library (DEV)
30 %package internal-devel
31 Summary: osp locations library (Internal)
32 Group: TO_BE/FILLED_IN
33 Requires: %{name} = %{version}-%{release}
35 %description internal-devel
36 osp locations library (Internal-DEV)
42 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
44 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
46 CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -funwind-tables -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_ARMEL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
49 # Call make instruction with smp support
54 mkdir -p %{buildroot}/usr/share/license
55 cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
59 %post -p /sbin/ldconfig
61 %postun -p /sbin/ldconfig
64 /usr/share/license/%{name}
68 %{_includedir}/osp/*.h
69 %{_libdir}/pkgconfig/osp-locations.pc