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)
%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.
%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
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.*
%{_datadir}/%{name}/protocol/*.h
%{_datadir}/%{name}/protocol/*.c
-