packaging: preserve IVISurfaceCreator compat and cleanup 69/23669/2
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Tue, 1 Jul 2014 08:18:48 +0000 (10:18 +0200)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Wed, 2 Jul 2014 08:38:39 +0000 (10:38 +0200)
Bug-Tizen: TC-211/related
Change-Id: I6e5f84c54c8d9185aed6f9328e0445162fb1a7bb
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/genivi-shell.spec

index 3bbb6f4..bff5b89 100644 (file)
@@ -6,7 +6,7 @@ License:        Apache-2.0
 Group:          Graphics & UI Framework/Wayland Window System
 Url:            http://git.projects.genivi.org/wayland-ivi-extension.git
 Source0:        %name-%version.tar.gz
-Source1001:    genivi-shell.manifest
+Source1001:     genivi-shell.manifest
 BuildRequires:  cmake
 BuildRequires:  weston-ivi-shell-devel
 BuildRequires:  pkgconfig(wayland-client)
@@ -24,7 +24,7 @@ manager client interface.
 %package devel
 Summary: Development files for package %{name}
 Group:   Graphics & UI Framework/Development
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
 %description devel
 This package provides header files and other developer files needed for
 creating GENIVI layer manager clients.
@@ -33,15 +33,11 @@ creating GENIVI layer manager clients.
 %setup -q
 cp %{SOURCE1001} .
 
-/usr/bin/wayland-scanner code < protocol/ivi-controller.xml \
-    > protocol/ivi-controller-protocol.c
-
-
 %cmake .
 
 %build
 
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
 
 %install
 %make_install
@@ -63,12 +59,15 @@ install -m 644 protocol/ivi-controller-server-protocol.h \
 install -m 644 protocol/ivi-controller-protocol.c \
     %{buildroot}/%{_datadir}/%{name}/protocol/
 
+ln -fs LayerManagerControl %{buildroot}/usr/bin/IVISurfaceCreator
+
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root)
+%{_bindir}/IVISurfaceCreator
 %{_bindir}/LayerManagerControl
 %{_bindir}/EGLWLMockNavigation
 %{_libdir}/libilmClient.so.*
@@ -90,4 +89,3 @@ install -m 644 protocol/ivi-controller-protocol.c \
 %{_datadir}/%{name}/protocol/*.h
 %{_datadir}/%{name}/protocol/*.c
 
-