1 Name: genivi-audio-manager
4 Summary: GENIVI Audio Manager
7 Source: %{name}-%{version}.tar.bz2
9 BuildRequires: pkgconfig(libsystemd-journal)
10 BuildRequires: pkgconfig(python)
11 BuildRequires: pkgconfig(sqlite3)
12 BuildRequires: pkgconfig(dbus-1)
13 BuildRequires: pkgconfig(automotive-dlt)
14 BuildRequires: pkgconfig(zlib)
15 BuildRequires: pkgconfig(CommonAPI)
16 BuildRequires: pkgconfig(CommonAPI-DBus)
17 Requires(post): /sbin/ldconfig
18 Requires(postun): /sbin/ldconfig
21 The AudioManager is a framework for managing audio in the IVI context.
24 Summary: Development files for %{name}
25 Group: Development/Libraries
26 Requires: %{name} = %{version}-%{release}
29 %{summary}. This package provides headers for developing AudioManager plugins and applications.
32 %setup -q -n %{name}-%{version}
38 cmake -DUSE_BUILD_LIBS=OFF -DWITH_TESTS=OFF -DWITH_ENABLED_IPC=DBUS -DWITH_DBUS_WRAPPER=ON -DWITH_NSM=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
40 %__make %{?_smp_mflags}
43 rm -rf "$RPM_BUILD_ROOT"
45 %make_install DESTDIR=$RPM_BUILD_ROOT
46 mkdir $RPM_BUILD_ROOT%{_includedir}/%{name}
47 mv $RPM_BUILD_ROOT%{_includedir}/*.h $RPM_BUILD_ROOT%{_includedir}/command $RPM_BUILD_ROOT%{_includedir}/control $RPM_BUILD_ROOT%{_includedir}/routing $RPM_BUILD_ROOT%{_includedir}/shared $RPM_BUILD_ROOT%{_includedir}/%{name}
48 rm $RPM_BUILD_ROOT%{_libdir}/audioManager/routing/libPluginRoutingInterfaceAsync.so*
51 %doc LICENCE README.html
52 %{_bindir}/AudioManager
53 %{_libdir}/audioManager/command/libPluginCommandInterfaceDbus.so*
54 %{_libdir}/audioManager/routing/libPluginRoutingInterfaceDbus.so*
55 %{_libdir}/audioManager/control/libPluginControlInterface.so*
56 %{_libdir}/audioManager/control/libPluginControlInterfaceDbus.so*
57 %{_datadir}/audiomanager/*xml
60 %{_includedir}/%{name}/*