1 %define __strip /bin/true
4 Summary: osp uix library
7 Group: System/Libraries
8 License: TO_BE/FILLED_IN
9 Source0: %{name}-%{version}.tar.gz
11 BuildRequires: pkgconfig(sensor)
12 BuildRequires: pkgconfig(capi-system-sensor)
13 BuildRequires: pkgconfig(osp-appfw)
14 BuildRequires: osp-appfw-internal-devel
23 Summary: osp uix library (Development)
24 Group: TO_BE/FILLED_IN
25 Requires: %{name} = %{version}-%{release}
30 %package internal-devel
31 Summary: osp uix library (Internal)
32 Group: TO_BE/FILLED_IN
33 Requires: %{name} = %{version}-%{release}
35 %description internal-devel
36 osp uix library (Internal-DEV)
39 Summary: osp uix library (Development)
40 Group: TO_BE/FILLED_IN
41 Requires: %{name} = %{version}-%{release}
50 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
52 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
54 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}
57 # Call make instruction with smp support
62 mkdir -p %{buildroot}/usr/share/license
63 cp %{_builddir}/%{name}-%{version}/LICENSE.Flora %{buildroot}/usr/share/license/%{name}
64 cat %{_builddir}/%{name}-%{version}/LICENSE.APLv2 >> %{buildroot}/usr/share/license/%{name}
67 %post -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
72 %manifest osp-uix.manifest
73 /usr/share/license/%{name}
77 %{_includedir}/osp/*.h
78 %{_libdir}/pkgconfig/osp-uix.pc
81 %{_includedir}/osp/uix/*.h
84 %{_libdir}/osp/debug/*.so*