2 License: Mozilla Public License 2.0
7 Source: %{name}-@VERSION@.tar.gz
9 #BuildRequires: pkgconfig(automotive-dlt)
10 BuildRequires: pkgconfig(sqlite3)
11 BuildRequires: pkgconfig(dbus-1)
13 Requires(post): /sbin/ldconfig
14 Requires(postun): /sbin/ldconfig
17 Automotive AudioManager
20 License: Mozilla Public License 2.0
21 Summary: Automotive AudioManager Development Package
22 Group: System/Development
23 Requires: %{name} = %{version}-%{release}
26 Files needed for developing against the Automotive AudioManager
29 %setup -q -n %{name}-@VERSION@
41 cmake -DWITH_TESTS=OFF -DUSE_BUILD_LIBS=OFF -DWITH_DLT=OFF -DCMAKE_INSTALL_PREFIX=/usr -DLIBDIR=$libdir ..
42 make %{?jobs:-j %jobs}
45 rm -rf "$RPM_BUILD_ROOT"
47 make install DESTDIR=$RPM_BUILD_ROOT
49 %post -p /sbin/ldconfig
51 %postun -p /sbin/ldconfig
54 rm -rf "$RPM_BUILD_ROOT"
57 %defattr(-,root,root,-)
58 %{_bindir}/AudioManager
59 %{_libdir}/audioManager/command/*.so.*
60 %{_libdir}/audioManager/control/*.so.*
61 %{_libdir}/audioManager/routing/*.so.*
62 %{_libdir}/audioManager/command/*.so
63 %{_libdir}/audioManager/control/*.so
64 %{_libdir}/audioManager/routing/*.so
67 %defattr(-,root,root,-)
69 %{_includedir}/command/*.h
70 %{_includedir}/control/*.h
71 %{_includedir}/routing/*.h
72 %{_includedir}/shared/*.h
73 %{_libdir}/pkgconfig/*.pc
74 %{_sysconfdir}/dbus-1/system.d/audiomanager.conf