blob: c125e30b89c25451b2a34de2cccee50e8eac8daf (
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
|
Name: ico-uxf-device-input-controller
Summary: Device Input Controller
Version: 0.5.01
Release: 1.1
Group: System/GUI
License: Apache License, Version 2.0
URL: ""
Source0: %{name}-%{version}.tar.bz2
BuildRequires: pkgconfig(wayland-client) >= 1.0
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: ico-uxf-weston-plugin-devel >= 0.5.0
Requires: weston >= 1.0
Requires: ico-uxf-weston-plugin >= 0.5.0
%description
Device Input Controller for ico-uxf-weston-plugin(Multi Input Manager)
%prep
%setup -q -n %{name}-%{version}
%build
autoreconf --install
%autogen --prefix=/usr
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
%make_install
# configurations
%define ictl_conf /opt/etc/ico-uxf-device-input-controller
mkdir -p %{buildroot}%{ictl_conf}
install -m 0644 joystick_gtforce.conf %{buildroot}%{ictl_conf}
install -m 0644 egalax_calibration.conf %{buildroot}%{ictl_conf}
%files
%defattr(-,root,root,-)
%{_bindir}/ico_ictl-joystick_gtforce
%{_bindir}/ico_ictl-touch_egalax
%{_bindir}/ico_ictl-egalax_calibration
%{ictl_conf}/joystick_gtforce.conf
%{ictl_conf}/egalax_calibration.conf
|