5 Summary: Zebra Remote Procedure Call
6 Group: Applications/Internet
8 Source0: %{name}-%{version}.tar.gz
11 BuildRequires: systemd-units
13 Requires: thrift zeromq glib2 c-capnproto capnproto quagga
14 Requires(post): systemd
15 Requires(preun): systemd
16 Requires(postun): systemd
18 ZRPC provides a Thrift API and handles RPC to configure Quagga framework.
28 mkdir -p %{buildroot}%{_unitdir}
29 install -p -D -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/zrpcd.service
33 %systemd_post zrpcd.service
36 %systemd_preun zrpcd.service
39 %systemd_postun_with_restart zrpcd.service
44 %{_includedir}/%name/zrpc_global.h
45 %{_includedir}/%name/zrpc_os_wrapper.h
46 %{_unitdir}/zrpcd.service