Name: message-port Summary: Message Port library Version: 1.3.20 Release: 0 Group: Application Framework/Libraries License: Apache-2.0 Source0: %{name}-%{version}.tar.gz Source1001: %{name}.manifest BuildRequires: cmake BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(bundle) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(aul) BuildRequires: pkgconfig(pkgmgr) BuildRequires: pkgconfig(pkgmgr-info) BuildRequires: pkgconfig(openssl) Requires(post): /sbin/ldconfig Requires(post): coreutils Requires(postun): /sbin/ldconfig Provides: capi-message-port Provides: libcapi-message-port.so.1 %description Message Port library package. %package devel Summary: Message Port library (Development) Group: Application Framework/Development Requires: %{name} = %{version}-%{release} %description devel Message Port library (Development) package. %prep %setup -q cp %{SOURCE1001} . %build MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER} # Call make instruction with smp support %__make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %make_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %manifest %{name}.manifest %attr(0644,root,root) %{_libdir}/lib%{name}.so.* %attr(0644,root,root) %{_libdir}/libcapi-message-port.so.* %config %{_sysconfdir}/dbus-1/session.d/message-port.conf %license LICENSE.APLv2 %files devel %{_includedir}/appfw/*.h %{_libdir}/pkgconfig/*.pc %{_libdir}/lib%{name}.so