1 %define debug_package %{nil}
2 %define __strip /bin/true
5 Summary: osp uix library
8 Group: System/Libraries
9 License: TO_BE/FILLED_IN
10 Source0: %{name}-%{version}.tar.gz
12 BuildRequires: pkgconfig(sensor)
13 BuildRequires: pkgconfig(capi-system-sensor)
14 BuildRequires: pkgconfig(osp-appfw)
15 BuildRequires: osp-appfw-internal-devel
24 Summary: osp uix library (Development)
25 Group: TO_BE/FILLED_IN
26 Requires: %{name} = %{version}-%{release}
31 %package internal-devel
32 Summary: osp uix library (Internal)
33 Group: TO_BE/FILLED_IN
34 Requires: %{name} = %{version}-%{release}
36 %description internal-devel
37 osp uix library (Internal-DEV)
40 Summary: osp uix library (Development)
41 Group: TO_BE/FILLED_IN
42 Requires: %{name} = %{version}-%{release}
51 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
53 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
55 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}
58 # Call make instruction with smp support
63 mkdir -p %{buildroot}/usr/share/license
64 cp %{_builddir}/%{name}-%{version}/LICENSE.Flora %{buildroot}/usr/share/license/%{name}
65 cat %{_builddir}/%{name}-%{version}/LICENSE.APLv2 >> %{buildroot}/usr/share/license/%{name}
68 %post -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
73 %manifest osp-uix.manifest
74 /usr/share/license/%{name}
78 %{_includedir}/osp/*.h
79 %{_libdir}/pkgconfig/osp-uix.pc
82 %{_includedir}/osp/uix/*.h
85 %{_libdir}/osp/debug/*.so*