Add Tizen 3.0 packaging 58/12958/3 accepted/tizen/20131127.212414 submit/tizen/20131127.010129
authorRusty Lynch <rusty.lynch@intel.com>
Tue, 26 Nov 2013 23:26:56 +0000 (15:26 -0800)
committerRusty Lynch <rusty.lynch@intel.com>
Wed, 27 Nov 2013 00:53:48 +0000 (16:53 -0800)
Change-Id: I54f62cd259d70d781fe61e993969069174f94b7f
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
.gbs.conf [new file with mode: 0644]
packaging/layer-management.changes [new file with mode: 0644]
packaging/layer-management.spec [new file with mode: 0644]

diff --git a/.gbs.conf b/.gbs.conf
new file mode 100644 (file)
index 0000000..5bc52e2
--- /dev/null
+++ b/.gbs.conf
@@ -0,0 +1,3 @@
+[general]
+upstream_branch = 1.2.0
+upstream_tag = ${upstreamversion}
diff --git a/packaging/layer-management.changes b/packaging/layer-management.changes
new file mode 100644 (file)
index 0000000..0b7eb27
--- /dev/null
@@ -0,0 +1,3 @@
+* Tue Nov 26 2013 Rusty Lynch <rusty.lynch@intel.com> ffea108
+- Initial packaging of version 1.2.0 for Tizen 3.0
+
diff --git a/packaging/layer-management.spec b/packaging/layer-management.spec
new file mode 100644 (file)
index 0000000..ce9734e
--- /dev/null
@@ -0,0 +1,79 @@
+Name:             layer-management
+License:          Apache-2.0
+Group:            Graphics & UI Framework/Libraries
+Summary:          Automotive Layer Management Infrastructure
+Version:          1.2.0
+Release:          1
+Source:           %{name}-%{version}.tar.gz
+BuildRequires:    cmake
+BuildRequires:    pkgconfig(dbus-1)
+Requires(post):   /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+Automotive Layer Management Infrastructure
+
+%package libs
+Summary:         Automotive Layer Management Libraries
+Group:           Graphics & UI Framework/Libraries
+
+%description libs
+Libraries used by clients to connect to the GENIVI automotive layer manager
+
+%package devel
+Summary:         Automotive Layer Management Development Package
+Group:           Graphics & UI Framework/Development
+Requires:        %{name} = %{version}-%{release}
+
+%description devel
+Files needed for developing against the Automotive Layer Management Infrastructure
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+mkdir build
+cd build
+
+%cmake \
+      -DILM_VERSION=%{version} \
+      -DWITH_EGL_EXAMPLE=OFF \
+      -DWITH_CLIENTEXAMPLES=OFF \
+      -DWITH_X11_GLES=OFF \
+      -DWITH_WAYLAND_DRM=OFF \
+      -DWITH_SERVICE_BIN=OFF \
+      -DWITH_CONTROL_BIN=OFF \
+      -DWITH_GENERIC_COMMUNICATOR=OFF \
+      ..
+make %{?jobs:-j %jobs}
+
+%install
+rm -rf "$RPM_BUILD_ROOT"
+cd build
+%make_install
+
+# At this time we are not installing the layer manager service
+# with the expectation that the libraries will connect to the
+# layer manager plugin running in weston
+rm -fR $RPM_BUILD_ROOT/etc/dbus-1/
+
+mkdir -p $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/
+mv $RPM_BUILD_ROOT/usr/local/lib/pkgconfig/ilm.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%clean
+rm -rf "$RPM_BUILD_ROOT"
+
+%files libs
+%defattr(-,root,root,-)
+%{_libdir}/layermanager/ipcmodules/*
+%{_libdir}/*.so
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/ilm.pc
+%{_includedir}/ilm/*.h
+%{_includedir}/layermanager/*.h