2 Summary: Message Port library
5 Group: Application Framework/Libraries
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: %{name}.manifest
10 BuildRequires: pkgconfig(dlog)
11 BuildRequires: pkgconfig(bundle)
12 BuildRequires: pkgconfig(glib-2.0)
13 BuildRequires: pkgconfig(aul)
14 BuildRequires: pkgconfig(pkgmgr)
15 BuildRequires: pkgconfig(pkgmgr-info)
16 BuildRequires: pkgconfig(openssl1.1)
18 Requires(post): /sbin/ldconfig
19 Requires(post): coreutils
20 Requires(postun): /sbin/ldconfig
22 Provides: capi-message-port
23 Provides: libcapi-message-port.so.1
26 Message Port library package.
29 Summary: Message Port library (Development)
30 Group: Application Framework/Development
31 Requires: %{name} = %{version}-%{release}
34 Message Port library (Development) package.
38 Summary: Message Port API(gcov)
39 Group: Application Framework/Libraries
42 gcov objects of a message port library
51 export CFLAGS+=" -fprofile-arcs -ftest-coverage"
52 export CXXFLAGS+=" -fprofile-arcs -ftest-coverage"
53 export FFLAGS+=" -fprofile-arcs -ftest-coverage"
54 export LDFLAGS+=" -lgcov"
57 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
58 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
59 # Call make instruction with smp support
60 %__make %{?jobs:-j%jobs}
64 find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
73 mkdir -p %{buildroot}%{_datadir}/gcov/obj
74 install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
77 %post -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
82 %manifest %{name}.manifest
83 %attr(0644,root,root) %{_libdir}/lib%{name}.so.*
84 %attr(0644,root,root) %{_libdir}/libcapi-message-port.so.*
85 %config %{_sysconfdir}/dbus-1/session.d/message-port.conf
86 %license LICENSE.APLv2
89 %{_includedir}/appfw/*.h
90 %{_libdir}/pkgconfig/*.pc
91 %{_libdir}/lib%{name}.so
95 %{_datadir}/gcov/obj/*