1 %define debug_package %{nil}
2 %define __strip /bin/true
5 Summary: osp face library
8 Group: System/Libraries
9 License: TO_BE/FILLED_IN
10 Source0: %{name}-%{version}.tar.gz
12 BuildRequires: pkgconfig(face-engine)
13 BuildRequires: pkgconfig(osp-appfw)
14 BuildRequires: osp-appfw-internal-devel
15 BuildRequires: pkgconfig(osp-uifw)
16 BuildRequires: osp-uifw-internal-devel
18 Provides: libface-engine-plugin.so
29 Summary: osp face library (Development)
30 Group: TO_BE/FILLED_IN
31 Requires: %{name} = %{version}-%{release}
34 osp face library (DEV)
37 Summary: osp face library (Development)
38 Group: TO_BE/FILLED_IN
39 Requires: %{name} = %{version}-%{release}
42 osp face library (DEV)
48 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
51 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
53 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_OSP_ARMEL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
56 # Call make instruction with smp support
61 mkdir -p %{buildroot}/usr/share/license
62 cp %{_builddir}/%{name}-%{version}/LICENSE.Flora %{buildroot}/usr/share/license/%{name}
63 cat %{_builddir}/%{name}-%{version}/LICENSE.APLv2 >> %{buildroot}/usr/share/license/%{name}
66 %post -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
71 %manifest osp-face.manifest
72 /usr/share/license/%{name}
76 %{_includedir}/osp/*.h
77 %{_libdir}/pkgconfig/osp-face.pc
80 %{_libdir}/osp/debug/*.so*