2 Summary: RPC 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(gmock)
17 BuildRequires: pkgconfig(cynara-client)
18 BuildRequires: pkgconfig(cynara-creds-gdbus)
19 BuildRequires: pkgconfig(uuid)
21 Requires(post): /sbin/ldconfig
22 Requires(post): coreutils
23 Requires(postun): /sbin/ldconfig
25 Requires: amd-mod-rpc-port
28 RPC Port library package.
31 Summary: RPC Port library (Development)
32 Group: Application Framework/Development
33 Requires: %{name} = %{version}-%{release}
36 RPC Port library (Development) package.
43 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
44 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
45 # Call make instruction with smp support
46 %__make %{?jobs:-j%jobs}
54 %post -p /sbin/ldconfig
56 %postun -p /sbin/ldconfig
59 %manifest %{name}.manifest
60 %attr(0644,root,root) %{_libdir}/lib%{name}.so.*
61 %license LICENSE.APLv2
64 %{_includedir}/rpc-port/*.h
65 %{_libdir}/pkgconfig/*.pc
66 %{_libdir}/lib%{name}.so
68 #################################################
70 #################################################
71 %package -n gtest-rpc-port
72 Summary: GTest for rpc-port
73 Group: Development/Libraries
76 %description -n gtest-rpc-port
79 %files -n gtest-rpc-port
80 %{_bindir}/gtest-rpc-port