Updated package changelog.
[profile/ivi/ico-vic-amb-plugin.git] / packaging / ico-vic-amb-plugin.spec
1 Name:       ico-vic-amb-plugin
2 Summary:    Automotive Message Broker is a vehicle network abstraction system.
3 Version:    0.1.1
4 Release:    1
5 Group:      System Environment/Daemons
6 License:    LGPL v2.1
7 URL:        ""
8 Source0:    %{name}-%{version}.tar.bz2
9 Requires(post): /sbin/ldconfig
10 Requires(postun): /sbin/ldconfig
11 Requires:       json-glib
12 BuildRequires:  cmake
13 BuildRequires:  boost-devel
14 BuildRequires:  json-glib-devel
15 BuildRequires:  automotive-message-broker-devel >= 0.6.9
16 BuildRequires:  libwebsockets-devel
17
18 %description 
19 Collection of plugins for automotive-message-broker
20
21 %prep
22 %setup -q -n %{name}-%{version}
23
24 %build
25 %cmake
26
27 make %{?jobs:-j%jobs}
28
29 %install
30 rm -rf %{buildroot}
31 %make_install
32
33 %post -p /sbin/ldconfig
34 %postun -p /sbin/ldconfig
35 mkdir -p %{buildroot}/%{_sysconfdir}/ambd
36 cp src/AMBformat.conf %{buildroot}/%{_sysconfdir}/ambd/
37
38 %files
39 %defattr(-,root,root,-)
40 %{_libdir}/automotive-message-broker/*.so
41 %{_sysconfdir}/ambd/AMBformat.conf
42 %{_docdir}/automotive-message-broker/%{name}/README