This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
grail-devel.spec
58 lines (44 loc) · 1.6 KB
/
grail-devel.spec
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
Name: grail-devel
Version: 3.1.1
Release: 1%{?dist}
Summary: Gesture Recognition And Instantiation Library
License: GPLv3+
URL: https://launchpad.net/grail
Source0: http://archive.ubuntu.com/ubuntu/pool/universe/g/grail/grail_3.1.1.orig.tar.bz2
BuildRequires: automake libtool gnome-common
BuildRequires: intltool
BuildRequires: make
BuildRequires: gcc
BuildRequires: g++
BuildRequires: libX11-devel
BuildRequires: libXi-devel
BuildRequires: libXext-devel
BuildRequires: xorg-x11-server-devel
Requires: frame-devel
%description
Grail consists of an interface and tools for handling gesture recognition and gesture instantiation.
When a multitouch gesture is performed on a device, the recognizer emits one or several possible gestures. Once the context of the gesture is known, i.e., in what window the touches land and what gestures the clients of that window listen to, the instantiator delivers the matching set of gestures.
The library handles tentative getures, i.e., buffering of events for several alternative gestures until a match is confirmed.
%prep
%setup -q -n grail-%{version}
%build
autoreconf --force --install
PYTHON=%{__python3}
export PYTHON
%configure \
--disable-silent-rules \
--disable-static
%make_build
%install
%make_install
rm -fv %{buildroot}%{_libdir}/*.la
pushd %{buildroot}/usr
find . ! -type d -exec ls {} + > %{_builddir}/grail-%{version}/files.txt
popd
sed -i s/^\.\\/// ./files.txt
sed -i 'sn^n%{_usr}/n' ./files.txt
sed -i 's/\.1$/.1.gz/' ./files.txt
%files -f files.txt
%license COPYING COPYING.GPL3
%changelog
%autochangelog