blob: bbc54a839a86a9c5ee665ca567bf31e6a25b050e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
%define weston_conf %{_sysconfdir}/xdg/weston
Name: ico-uxf-weston-plugin
Summary: Weston Plugins for IVI
Version: 0.9.22
Release: 0
Group: Graphics & UI Framework/Automotive UI
License: MIT
Source0: %{name}-%{version}.tar.bz2
BuildRequires: pkgconfig(weston) >= 1.5.0
BuildRequires: pkgconfig(pixman-1)
BuildRequires: pkgconfig(evas)
BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(ecore)
BuildRequires: pkgconfig(egl)
BuildRequires: mesa-devel
BuildRequires: genivi-shell-devel >= 0.2.3
BuildRequires: weston-ivi-shell-devel >= 0.1.7
Requires: weston >= 1.5.0
Requires: genivi-shell >= 0.2.3
Requires: weston-ivi-shell >= 0.1.7
Requires: weekeyboard
Conflicts: weston-ivi-config
Conflicts: weston-ivi-shell-config
%description
Weston Plugins for IVI package
%package devel
Summary: Development files for %{name}
Group: Graphics & UI Framework/Development
Requires: %{name} = %{version}-%{release}
%description devel
Development files that expose the wayland extended protocols for IVI.
%prep
%setup -q -n %{name}-%{version}
%build
%reconfigure
%__make %{?_smp_mflags}
%install
%make_install
# configurations
mkdir -p %{buildroot}%{weston_conf} > /dev/null 2>&1
mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants > /dev/null 2>&1
install -m 0644 settings/weston.ini %{buildroot}%{weston_conf}
install -m 0644 settings/ico-pseudo-input-device.service %{buildroot}%{_unitdir}/ico-pseudo-input-device.service
ln -s %{_unitdir}/ico-pseudo-input-device.service %{buildroot}%{_unitdir}/multi-user.target.wants/ico-pseudo-input-device.service
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
%license COPYING
%dir %{_libdir}/weston/
%{_libdir}/weston/*.so
%{_libdir}/libico-uxf-weston-plugin.so.*
%{_bindir}/ico_send_inputevent
%{_bindir}/ico_pseudo_input_device
%{_unitdir}/ico-pseudo-input-device.service
%{_unitdir}/multi-user.target.wants/ico-pseudo-input-device.service
%config %{weston_conf}/weston.ini
%files devel
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_includedir}/%{name}/ico_input_mgr-client-protocol.h
%{_includedir}/%{name}/ico_window_mgr-client-protocol.h
%{_includedir}/%{name}/ico_input_mgr.h
%{_libdir}/libico-uxf-weston-plugin.so
|