%define moduledir %(pkg-config xorg-server --variable=moduledir ) Name: synaptics Version: 0.14.6 Release: 8%{?dist} Summary: Synaptics Touchpad Driver Group: User Interface/X Hardware Support License: GPL URL: http://w1.894.telia.com/~u89404340/touchpad/ Source0: http://w1.894.telia.com/~u89404340/touchpad/files/%{name}-%{version}.tar.bz2 Source1: 10-synaptics.fdi Patch0: synaptics-0.14.6-delibcwrap.patch Patch1: synaptics-0.14.6-newx.patch Patch3: synaptics-0.14.6-poll-delay.patch Patch4: synaptics-0.14.6-poll-200ms.patch Patch5: synaptics-0.14.6-alps.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} BuildRequires: pkgconfig BuildRequires: xorg-x11-server-sdk >= 1.0.99.901 BuildRequires: libX11-devel, libXi-devel, libXext-devel Requires: xorg-x11-server-Xorg >= 1.0.99.901 Requires: hal # This is what it should be, but the buildsystem is a disaster # ExcludeArch: s390 s390x ExclusiveArch: %{ix86} x86_64 ppc ppc64 %description This is a driver for the Synaptics TouchPad for XOrg/XFree86 4.x. A Synaptics touchpad by default operates in compatibility mode by emulating a standard mouse. However, by using a dedicated driver, more advanced features of the touchpad becomes available. Features: * Movement with adjustable, non-linear acceleration and speed. * Button events through short touching of the touchpad. * Double-Button events through double short touching of the touchpad. * Dragging through short touching and holding down the finger on the touchpad. * Middle and right button events on the upper and lower corner of the touchpad. * Vertical scrolling (button four and five events) through moving the finger on the right side of the touchpad. * The up/down button sends button four/five events. * Horizontal scrolling (button six and seven events) through moving the finger on the lower side of the touchpad. * The multi-buttons send button four/five events, and six/seven events for horizontal scrolling. * Adjustable finger detection. * Multifinger taps: two finger for middle button and three finger for right button events. (Needs hardware support. Not all models implement this feature.) * Run-time configuration using shared memory. This means you can change parameter settings without restarting the X server. %prep %setup -q %patch0 -p1 -b .delibcwrap %if "%{?fedora}" >= "9" %patch1 -p1 -b .newx %endif %patch3 -p1 -b .polldelay %patch4 -p1 -b .poll200ms %patch5 -p1 -b .alps-settings # remove included XFree86 headers rm -rf Xincludes %build make ARCH=%{_arch} synaptics_drv.so synclient syndaemon %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT \ MANDIR='$(DESTDIR)%{_mandir}/' \ BINDIR='$(DESTDIR)%{_bindir}' \ ARCH='%{_arch}' \ install install -d $RPM_BUILD_ROOT%{_datadir}/hal/fdi/policy/20thirdparty install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hal/fdi/policy/20thirdparty %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COMPATIBILITY FILES INSTALL INSTALL.DE INSTALL.FR LICENSE README README.alps TODO %{_datadir}/hal/fdi/policy/20thirdparty/10-synaptics.fdi %{moduledir}/input/* %{_bindir}/synclient %{_bindir}/syndaemon %{_mandir}/man?/* %changelog * Thu Apr 10 2008 Axel Thimm - 0.14.6-8 - Reenable tap to click. * Fri Mar 28 2008 Rex Dieter 0.14.6-7 - Synaptics default acceleration values are way slow for alps (#437039) * Wed Mar 26 2008 Adam Jackson 0.14.6-6 - synaptics-0.14.6-alps.patch: Fix the defaults on ALPS touchpads. Values stolen from rhpxl. * Tue Mar 18 2008 Matt Domsch 0.14.6-5 - synaptics-0.14.6-poll-delay.patch: make poll interval user configurable http://www.bughost.org/pipermail/power/2008-January/001234.html - synaptics-0.14.6-poll-200ms.patch: reduce default poll from 20ms to 200ms * Sun Mar 09 2008 Adam Jackson 0.14.6-4 - 10-synaptics.fdi: Get hal to report the X driver as synaptics for touchpads we support. - synaptics-0.14.6-tap-to-click.patch: Disable tap to click by default in the name of accessibility. * Wed Mar 05 2008 Dave Airlie 0.14.6-3 - rebuild for ppc64 * Tue Feb 19 2008 Fedora Release Engineering - 0.14.6-2 - Autorebuild for GCC 4.3 * Mon Jan 07 2008 Jarod Wilson 0.14.6-1 - Update to 0.14.6 w/permission from krh - Adds two-finger scrolling capability on supported hardware * Fri Nov 30 2007 Caolan McNamara 0.14.4-12 - Resolves: rhbz#396891 patch it to at least work * Mon Oct 15 2007 Adam Jackson 0.14.4-11 - Back to ExclusiveArch, buildsystem is a disaster. * Wed Oct 03 2007 Adam Jackson 0.14.4-10 - ExclusiveArch -> ExcludeArch. * Tue Aug 21 2007 Adam Jackson - 0.14.4-9 - Rebuild for build id * Wed Aug 16 2006 Jesse Keating - 0:0.14.4-8 - bump for missing ppc package - remove 0 epoch - add dist tag * Wed Jul 12 2006 Jesse Keating - 0:0.14.4-7.1 - rebuild * Tue May 16 2006 Kristian Høgsberg - 0:0.14.4-7 - Add missing build requires for libXext. * Tue Apr 11 2006 Kristian Høgsberg 0:0.14.4-6 - Build as a shared object. * Mon Apr 10 2006 Adam Jackson - 0:0.14.4-4.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 0:0.14.4-4.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Fri Nov 18 2005 Jeremy Katz - 0:0.14.4-4 - fix install destination too * Fri Nov 18 2005 Jeremy Katz - 0:0.14.4-3 - patch for modular X include paths * Fri Nov 18 2005 Kristian Høgsberg - 0:0.14.4-2 - Remove last bits of monolithic X paths. * Mon Nov 07 2005 Paul Nasrat - 0:0.14.4-1 - Modular X.org - New upstream version * Thu Aug 04 2005 Paul Nasrat - 0:0.14.3-3 - Enable ppc builds as we have appletouch driver now * Tue Jul 26 2005 Paul Nasrat - 0:0.14.3-2 - Fix man page location (#164295) * Fri Jul 22 2005 Paul Nasrat - 0:0.14.3-1 - Update to 0.14.3 * Tue May 17 2005 Paul Nasrat - 0:0.14.2-1 - Update to 0.14.2 * Mon May 16 2005 Paul Nasrat - 0:0.14.1-1 - Update to 0.14.1 * Tue Mar 15 2005 Paul Nasrat - 0:0.14.0-2 - Rebuild * Thu Jan 06 2005 Paul Nasrat - 0:0.14.0-1 - Update to 0.14.0 - Drop patch for 64bit as upstream now * Wed Sep 01 2004 Paul Nasrat - 0:0.13.5-5 - rebuild * Wed Sep 01 2004 Paul Nasrat - 0:0.13.5-4 - more ARCH fixes * Wed Sep 01 2004 Paul Nasrat - 0:0.13.5-3 - need to explicitely pass ARCH * Wed Sep 01 2004 Paul Nasrat - 0:0.13.5-2 - Add x86_64 * Mon Aug 09 2004 Paul Nasrat - 0:0.13.5-1 - New version - Override mandir/bindir rather than patching * Wed Jul 28 2004 Paul Nasrat - 0:0.13.4-3 - Fix typo - Only i386 for the moment * Wed Jul 28 2004 Paul Nasrat - 0:0.13.4-2 - Add ExclusiveArch * Wed Jul 28 2004 Paul Nasrat - 0:0.13.4-1 - New version * Fri Jul 09 2004 Paul Nasrat - 0:0.13.3-1 - New version - Update makefile patch * Thu Apr 01 2004 Paul Nasrat - 0:0.12.5-0.fdr.1 - New version - Remove Imakefile * Wed Feb 18 2004 Paul Nasrat - 0:0.12.4-0.fdr.1 - New version * Thu Feb 05 2004 Paul Nasrat - 0:0.12.3-0.fdr.2 - Imakefile now builds synclient and syndaemon - TODO manpages * Mon Jan 19 2004 Paul Nasrat - 0:0.12.3-0.fdr.1 - Revert to imakefile and XFree86-sdk - Include missing sdk headers - push upstream - don't build synclient and syndaemon for now * Sat Nov 29 2003 Paul Nasrat - 0:0.12.1-0.fdr.1 - update to latest version - Remove imake and XFree86-sdk magic * Fri Oct 03 2003 Paul Nasrat - 0:0.11.7-0.fdr.1 - new version * Tue Sep 16 2003 Paul Nasrat - 0:0.11.3-0.fdr.3.p11 - Build against latest XFree86-sdk * Mon Sep 08 2003 Paul Nasrat - 0:0.11.3-0.fdr.2.p11 - Use XFree86 sdk * Sun Aug 10 2003 Paul Nasrat - 0:0.11.3-0.fdr.1.p11 - Initial RPM release.