4 License: Apache-2.0 or Flora
5 Summary: OSP uix library
6 Group: Graphics & UI Framework/Libraries
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: osp-appfw-internal-devel
10 BuildRequires: pkgconfig(capi-system-sensor)
11 BuildRequires: pkgconfig(osp-appfw)
12 BuildRequires: pkgconfig(sensor)
20 Summary: OSP uix library (Development)
21 Requires: %{name} = %{version}
26 %package internal-devel
27 Summary: OSP uix library (Internal)
28 Requires: %{name} = %{version}
30 %description internal-devel
31 osp uix library (Internal-DEV)
37 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
39 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
41 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_ARMEL_" %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
48 %post -p /sbin/ldconfig
50 %postun -p /sbin/ldconfig
53 %manifest osp-uix.manifest
54 %license LICENSE.APLv2 LICENSE.Flora
58 %{_includedir}/osp/*.h
59 %{_libdir}/pkgconfig/osp-uix.pc
62 %{_includedir}/osp/uix/*.h