Group :: System/X11
RPM: twofing
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: twofing
Version: 0.0.9
Release: alt2.qa1
Summary: Daemon for two-finger gestures support on touchscreen
License: BSD-like
Group: System/X11
Url: http://plippo.de/dev_twofing.htm
Packager: Michail Yakushin <silicium at altlinux.ru>
Source: %name-%version.tar
Patch0: pegatron-udev.patch
Patch1: desktop.patch
BuildRequires(Pre): xorg-sdk libX11-devel libXtst-devel libXrandr-devel
%description
twofing is a daemon which runs in the background and recognizes
two-finger gestures performed on a touchscreen and converts them into
mouse and keyboard events. This way, such gestures can be used in almost
all existing applications (even ones where you wouldn't expect it, like
Wine applications) without having to modify them.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%make_build
%install
mkdir -p %buildroot/%_bindir
mkdir -p %buildroot/%{_udevrulesdir}/
sed -i s,/etc/udev/rules.d,%{_udevrulesdir}, Makefile
%make DESTDIR=%buildroot install
mkdir -p %buildroot/%_sysconfdir/xdg/autostart/
install -m0644 %name.desktop %buildroot/%_sysconfdir/xdg/autostart/
%files
%_bindir/*
%{_udevrulesdir}/*
%_sysconfdir/xdg/autostart/*
%changelog
…
Full changelog you can see here
Version: 0.0.9
Release: alt2.qa1
Summary: Daemon for two-finger gestures support on touchscreen
License: BSD-like
Group: System/X11
Url: http://plippo.de/dev_twofing.htm
Packager: Michail Yakushin <silicium at altlinux.ru>
Source: %name-%version.tar
Patch0: pegatron-udev.patch
Patch1: desktop.patch
BuildRequires(Pre): xorg-sdk libX11-devel libXtst-devel libXrandr-devel
%description
twofing is a daemon which runs in the background and recognizes
two-finger gestures performed on a touchscreen and converts them into
mouse and keyboard events. This way, such gestures can be used in almost
all existing applications (even ones where you wouldn't expect it, like
Wine applications) without having to modify them.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%make_build
%install
mkdir -p %buildroot/%_bindir
mkdir -p %buildroot/%{_udevrulesdir}/
sed -i s,/etc/udev/rules.d,%{_udevrulesdir}, Makefile
%make DESTDIR=%buildroot install
mkdir -p %buildroot/%_sysconfdir/xdg/autostart/
install -m0644 %name.desktop %buildroot/%_sysconfdir/xdg/autostart/
%files
%_bindir/*
%{_udevrulesdir}/*
%_sysconfdir/xdg/autostart/*
%changelog
…
Full changelog you can see here