1 %define __strip /bin/true
4 Summary: Osp vision library
7 Group: Graphics & UI Framework/API
9 Source0: %{name}-%{version}.tar.gz
11 BuildRequires: pkgconfig(osp-appfw)
12 BuildRequires: osp-appfw-internal-devel
13 BuildRequires: pkgconfig(osp-uifw)
14 BuildRequires: osp-uifw-internal-devel
15 BuildRequires: pkgconfig(osp-media)
16 BuildRequires: osp-media-internal-devel
17 BuildRequires: pkgconfig(osp-image-core)
18 BuildRequires: osp-image-core-internal-devel
19 BuildRequires: pkgconfig(osp-image)
20 BuildRequires: osp-image-internal-devel
22 Provides: libarengine.so
29 Requires: osp-image-core
35 Summary: Osp vision library (Development)
36 Group: Graphics & UI Framework/Development
37 Requires: %{name} = %{version}-%{release}
40 osp vision library (DEV)
42 %package internal-devel
43 Summary: Osp vision internal (Internal)
44 Group: Graphics & UI Framework/Development
45 Requires: %{name} = %{version}-%{release}
47 %description internal-devel
48 osp vision library (Internal-DEV)
51 Summary: Osp vision library (Development)
52 Group: Graphics & UI Framework/Other
53 Requires: %{name} = %{version}-%{release}
56 osp vision library (DEV)
62 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
64 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DARCH=x86
66 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} -DARCH=arm
69 # Call make instruction with smp support
74 mkdir -p %{buildroot}/usr/share/license
75 cp %{_builddir}/%{name}-%{version}/LICENSE.Apache-2.0 %{buildroot}/usr/share/license/%{name}
76 cp %{_builddir}/%{name}-%{version}/LICENSE.Flora %{buildroot}/usr/share/license/%{name}.Flora
80 %post -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
85 %manifest osp-vision.manifest
86 /usr/share/license/%{name}
87 /usr/share/license/%{name}.Flora
91 %{_includedir}/osp/*.h
92 %{_libdir}/pkgconfig/osp-vision.pc
95 %{_includedir}/osp/vision/*
98 %{_libdir}/osp/debug/*.so*