summaryrefslogtreecommitdiff
path: root/packaging/device-config-touch.spec
blob: 5c4dda4fde188e50ad5e6313cd88136d513be4c2 (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
Name:           device-config-touch
Version:        1
Release:        1
Summary:        Device specific configurations for Touch
Group:          System/Hardware
License:        GPLv2+
Source0:	%{name}-%{version}.tar.bz2
Source1001: packaging/device-config-touch.manifest 
# >> gbp-patch-tags         # auto-added by gbp
# << gbp-patch-tags         # auto-added by gbp
BuildArch: noarch

%description
Device specific configurations for Touch.

%define touch_package(n:) \
%package %1\
Summary: 	Touch configuration files for %1\
Group:		System/Hardware\
%description %1\
Touch configuration files for %1.\
%{nil}


%prep
%setup -q
# >> gbp-apply-patches    # auto-added by gbp
# << gbp-apply-patches    # auto-added by gbp
%build
cp %{SOURCE1001} .

%install

mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d
install -m 0644 *.conf %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/

%touch_package cando
%files cando
%{_sysconfdir}/X11/xorg.conf.d/60-cando-evdevmultitouch.conf
%manifest device-config-touch.manifest

%touch_package mxt224
%files mxt224
%{_sysconfdir}/X11/xorg.conf.d/60-mxt224-evdevmultitouch.conf
%manifest device-config-touch.manifest

%touch_package Atmel
%files Atmel
%manifest device-config-touch.manifest
%{_sysconfdir}/X11/xorg.conf.d/65-Atmel-mtev.conf

%touch_package sitronix
%files sitronix
%{_sysconfdir}/X11/xorg.conf.d/70-sitronix-mtev.conf
%manifest device-config-touch.manifest

%touch_package Hanvon
%files Hanvon
%{_sysconfdir}/X11/xorg.conf.d/80-Hanvon-mtev.conf
%manifest device-config-touch.manifest

%touch_package ILI
%files ILI
%{_sysconfdir}/X11/xorg.conf.d/90-ILI-mtev.conf
%manifest device-config-touch.manifest

%touch_package eGalax
%files eGalax
%{_sysconfdir}/X11/xorg.conf.d/92-exopc-mtev.conf
%manifest device-config-touch.manifest