4 Summary: C library/compiler for the Cap'n Proto serialization/RPC protocol
6 Group: System Environment
8 URL: https://gerrit.opnfv.org/gerrit/apex.git
9 Source0: %{name}-%{version}.tar.gz
14 C library/compiler for the Cap'n Proto serialization/RPC protocol
20 %configure --without-gtest
23 rm -rf $RPM_BUILD_ROOT
25 find %{buildroot} -name '*.la' -exec rm -f {} ';'
26 find %{buildroot} -name '*.a' -exec rm -f {} ';'
27 mkdir -p $RPM_BUILD_ROOT/%{_includedir}/c-capnproto/
28 # These are the headers/libs quagga/zrpcd link against
29 install -m 700 $RPM_BUILD_ROOT/%{_includedir}/capn.h $RPM_BUILD_ROOT/%{_includedir}/c-capnproto/
30 install -m 700 $RPM_BUILD_ROOT/%{_libdir}/libcapn.so $RPM_BUILD_ROOT/%{_libdir}/libcapn_c.so
33 %defattr(644,root,root)
36 %{_includedir}/c-capnproto/capn.h
37 %{_libdir}/libcapn.so*
38 %{_libdir}/libcapn_c.so
40 %post -p /sbin/ldconfig
41 %postun -p /sbin/ldconfig
44 * Mon Jan 23 2017 Tim Rozet <trozet@redhat.com> - 1.0-1