Initial packaging of SmartDeviceLink.
authorOssama Othman <ossama.othman@intel.com>
Mon, 12 Aug 2013 21:47:23 +0000 (14:47 -0700)
committerOssama Othman <ossama.othman@intel.com>
Wed, 5 Mar 2014 21:05:07 +0000 (13:05 -0800)
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
.gbs.conf [new file with mode: 0644]
.gitignore
LICENSE [new file with mode: 0644]
packaging/smartdevicelink.changes [new file with mode: 0644]
packaging/smartdevicelink.manifest [new file with mode: 0644]
packaging/smartdevicelink.spec [new file with mode: 0644]

diff --git a/.gbs.conf b/.gbs.conf
new file mode 100644 (file)
index 0000000..fa9fdc5
--- /dev/null
+++ b/.gbs.conf
@@ -0,0 +1,3 @@
+[general]
+upstream_branch = upstream
+upstream_tag = ${upstreamversion}
index 8fd096f..1f40119 100644 (file)
@@ -1,3 +1,10 @@
 # OS Generated Files #
 .DS_Store
 Thumbs.db
+*.o
+*.so*
+*.a
+*~
+*#*#
+Makefile
+core*
diff --git a/LICENSE b/LICENSE
new file mode 100644 (file)
index 0000000..ca1e2a2
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,29 @@
+Copyright (c) 2013, Ford Motor Company
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright
+  notice, this list of conditions and the following disclaimer in the
+  documentation and/or other materials provided with the distribution.
+
+* Neither the name of the Ford Motor Company nor the names of its
+  contributors may be used to endorse or promote products derived from
+  this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/packaging/smartdevicelink.changes b/packaging/smartdevicelink.changes
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packaging/smartdevicelink.manifest b/packaging/smartdevicelink.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/smartdevicelink.spec b/packaging/smartdevicelink.spec
new file mode 100644 (file)
index 0000000..b29a769
--- /dev/null
@@ -0,0 +1,63 @@
+Name:          smartdevicelink
+Summary:       GENIVI SmartDeviceLink (SDL)
+Version:       0.1
+Release:       1
+Group:         Network & Connectivity/Connection Management
+License:       BSD-3-Clause
+URL:           http://projects.genivi.org/smartdevicelink/
+Source:        %{name}-%{version}.tar.gz
+Source1001:    %{name}.manifest
+BuildRequires: cmake
+BuildRequires: pkgconfig(bluez)
+BuildRequires: doxygen
+
+%description
+SmartDeviceLink is a project which intends to standardize and wrap the
+many in-vehicle interfaces which may exist in the automotive
+context. The end goal is to provide an expandable software framework
+to both mobile application developers and automotive head unit
+creators for the creation of brought-in applications that appear
+integrated onto a head unit.
+
+Many in-vehicle HMIs use different colors, templates, icons, fonts,
+voice systems and input methods for their infotainment systems. With
+SmartDeviceLink, a template-based approach is provided by the
+automotive head unit and allows for different HMI frameworks to follow
+a specific set of guidelines ensuring a consistent experience to a
+developer. By leveraging this common API and a brought-in device,
+automotive head units leverage the complete power of the brought-in
+device using the APIs being executed on the mobile device.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
+
+%build
+cd SDL_Core
+%cmake .
+make %{?_smp_mflags}
+
+%install
+# Don't run "make install".  We only care about the core SDL binary,
+# and HMI related files.
+install -m 0755 SDL_Core/src/appMain/smartDeviceLinkCore %{buildroot}%{_bindir}
+install -m 0644 SDL_Core/src/appMain/log4cplus.properties %{buildroot}%{_sysconfdir}/%{n
+ame}
+install -m 0644 SDL_Core/src/appMain/audio.8bit.wav %{buildroot}%{_datadir}/%{name}
+cp -R SDL_Core/src/components/HMI %{buildroot}%{_datadir}/%{name}
+
+%clean
+
+#%post -p /sbin/ldconfig
+
+#%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%license LICENSE
+%{_bindir}/smartDeviceLinkCore
+%{_sysconfdir}/smartdevicelink/log4cplus.properties
+%{_datadir}/%{name}/*
+
+#%%files doc