From a18e0e4f55ff7b2798721e1a296f9b68e89ae3a1 Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Thu, 6 Mar 2014 16:19:14 -0800 Subject: [PATCH] Added missing dependencies. Change-Id: Icb821a908645f2c7a0310056211f14efd63d95a4 Signed-off-by: Ossama Othman --- packaging/smartdevicelink.changes | 3 ++- packaging/smartdevicelink.spec | 24 ++++++++++++++++++++---- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/packaging/smartdevicelink.changes b/packaging/smartdevicelink.changes index 8776f09..ff60924 100644 --- a/packaging/smartdevicelink.changes +++ b/packaging/smartdevicelink.changes @@ -1,4 +1,5 @@ -* Thu Mar 06 2014 Ossama Othman f7fd378 +* Thu Mar 06 2014 Ossama Othman 66d2006 +- Added missing dependencies. - Remove executable bit from JavaScript and CSS files. - Update to 2.0 release. - Removed editor backup files shipped upstream SDL code. diff --git a/packaging/smartdevicelink.spec b/packaging/smartdevicelink.spec index f34de51..1a7d3e8 100644 --- a/packaging/smartdevicelink.spec +++ b/packaging/smartdevicelink.spec @@ -17,6 +17,7 @@ BuildRequires: pkgconfig(avahi-client) BuildRequires: pkgconfig(libpulse-simple) BuildRequires: doxygen BuildRequires: fdupes +Requires: avahi-libs Requires(post): /usr/bin/pkg_initdb # For MiniBrowser @@ -63,20 +64,35 @@ make %{?_smp_mflags} %install # Don't run "make install". We only care about the core SDL related # binaries, and HMI related files. +mkdir -p %{buildroot}%{_sysconfdir}/%{name} +install -m 0644 SDL_Core/src/appMain/log4cxx.properties %{buildroot}%{_sysconfdir}/%{name} + mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_libdir} -mkdir -p %{buildroot}%{_sysconfdir}/%{name} %{buildroot}%{_datadir}/%{name} install -m 0755 SDL_Core/src/appMain/smartDeviceLinkCore %{buildroot}%{_bindir} - +install -m 0755 SDL_Core/src/components/audio_manager/libAudioManager.so %{buildroot}%{_libdir} +install -m 0755 SDL_Core/src/components/utils/libUtils.so %{buildroot}%{_libdir} +install -m 0755 SDL_Core/src/components/connection_handler/libconnectionHandler.so %{buildroot}%{_libdir} +install -m 0755 SDL_Core/src/components/request_watchdog/libRequestWatchdog.so %{buildroot}%{_libdir} +install -m 0755 SDL_Core/src/components/mobile_message_handler/libMobileMessageHandler.so %{buildroot}%{_libdir} +install -m 0755 SDL_Core/src/components/smart_objects/libSmartObjects.so %{buildroot}%{_libdir} +install -m 0755 SDL_Core/src/components/transport_manager/libTransportManager.so %{buildroot}%{_libdir} +install -m 0755 SDL_Core/src/components/protocol_handler/libProtocolHandler.so %{buildroot}%{_libdir} +install -m 0755 SDL_Core/src/components/hmi_message_handler/libHMIMessageHandler.so %{buildroot}%{_libdir} +install -m 0755 SDL_Core/src/components/config_profile/libConfigProfile.so %{buildroot}%{_libdir} +install -m 0755 SDL_Core/src/components/interfaces/libMOBILE_API.so %{buildroot}%{_libdir} +install -m 0755 SDL_Core/src/components/interfaces/libHMI_API.so %{buildroot}%{_libdir} +install -m 0755 SDL_Core/src/components/application_manager/libApplicationManager.so %{buildroot}%{_libdir} +install -m 0755 SDL_Core/src/components/formatters/libformatters.so %{buildroot}%{_libdir} install -m 0755 SDL_Core/src/thirdPartyLibs/encryption/libencryption.so %{buildroot}%{_libdir} install -m 0755 SDL_Core/src/thirdPartyLibs/MessageBroker/libMessageBrokerClient.so %{buildroot}%{_libdir} install -m 0755 SDL_Core/src/thirdPartyLibs/MessageBroker/libMessageBrokerServer.so %{buildroot}%{_libdir} install -m 0755 SDL_Core/src/thirdPartyLibs/MessageBroker/libMessageBroker.so %{buildroot}%{_libdir} install -m 0755 SDL_Core/src/thirdPartyLibs/jsoncpp/libjsoncpp.so %{buildroot}%{_libdir} -install -m 0644 SDL_Core/src/appMain/log4cxx.properties %{buildroot}%{_sysconfdir}/%{name} +# Sample HMI +mkdir -p %{buildroot}%{_datadir}/%{name} install -m 0644 SDL_Core/src/appMain/audio.8bit.wav %{buildroot}%{_datadir}/%{name} cp -R SDL_Core/src/components/HMI %{buildroot}%{_datadir}/%{name} - %fdupes -s %{buildroot}%{_datadir}/%{name} # Create the 'hmi_link' file with the location of the sample HMI. -- 2.7.4