1 Name: ico-vic-amb-plugin
2 Summary: Automotive Message Broker is a vehicle network abstraction system.
5 Group: System Environment/Daemons
8 Source0: %{name}-%{version}.tar.bz2
9 Requires(post): /sbin/ldconfig
10 Requires(postun): /sbin/ldconfig
12 Requires: ico-uxf-utilities
14 BuildRequires: boost-devel
15 BuildRequires: libjson-devel
16 BuildRequires: automotive-message-broker-devel >= 0.10.0
17 BuildRequires: ico-uxf-utilities-devel
18 BuildRequires: ico-uxf-utilities
21 Collection of plugins for automotive-message-broker
24 %setup -q -n %{name}-%{version}
34 mkdir -p %{buildroot}/%{_sysconfdir}/ambd
35 mkdir -p %{buildroot}/usr/bin
36 cp src/AMBformat.conf %{buildroot}/%{_sysconfdir}/ambd/
37 cp tool/ico_set_vehicleinfo %{buildroot}/usr/bin/ico_set_vehicleinfo
39 %post -p /sbin/ldconfig
40 %postun -p /sbin/ldconfig
43 %defattr(-,root,root,-)
44 %{_libdir}/automotive-message-broker/*.so
45 %{_sysconfdir}/ambd/AMBformat.conf
46 /usr/share/doc/automotive-message-broker/%{name}/README
47 /usr/bin/ico_set_vehicleinfo