Modification of the ChangeLog.
[profile/ivi/ico-uxf-device-input-controller.git] / packaging / ico-uxf-device-input-controller.spec
1 Name:       ico-uxf-device-input-controller
2 Summary:    Device Input Controller
3 Version:    0.5.02
4 Release:    1.1
5 Group:      System/GUI
6 License:    Apache License, Version 2.0
7 URL:        ""
8 Source0:    %{name}-%{version}.tar.bz2
9
10 BuildRequires: pkgconfig(wayland-client) >= 1.0
11 BuildRequires: pkgconfig(wayland-egl)
12 BuildRequires: pkgconfig(egl)
13 BuildRequires: pkgconfig(glesv2)
14 BuildRequires: pkgconfig(glib-2.0)
15 BuildRequires: ico-uxf-weston-plugin-devel >= 0.5.0
16 Requires: weston >= 1.0
17 Requires: ico-uxf-weston-plugin >= 0.5.0
18
19 %description
20 Device Input Controller for ico-uxf-weston-plugin(Multi Input Manager)
21
22 %prep
23 %setup -q -n %{name}-%{version}
24
25 %build
26 autoreconf --install
27
28 %autogen --prefix=/usr
29
30 %configure
31 make %{?_smp_mflags}
32
33 %install
34 rm -rf %{buildroot}
35 %make_install
36
37 # configurations
38 %define ictl_conf /opt/etc/ico-uxf-device-input-controller
39 mkdir -p %{buildroot}%{ictl_conf}
40 install -m 0644 joystick_gtforce.conf %{buildroot}%{ictl_conf}
41 install -m 0644 egalax_calibration.conf %{buildroot}%{ictl_conf}
42
43 %files
44 %defattr(-,root,root,-)
45 %{_bindir}/ico_ictl-joystick_gtforce
46 %{_bindir}/ico_ictl-touch_egalax
47 %{_bindir}/ico_ictl-egalax_calibration
48 %{ictl_conf}/joystick_gtforce.conf
49 %{ictl_conf}/egalax_calibration.conf
50