xorg-x11-drv-synaptics-vl.spec 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. %define tarball xf86-input-synaptics
  2. %define moduledir %(pkg-config xorg-server --variable=moduledir )
  3. %define driverdir %{moduledir}/input
  4. Name: xorg-x11-drv-synaptics
  5. Summary: Xorg X11 synaptics input driver
  6. Summary(ja): Xorg X11 synaptics 入力ドライバ
  7. Version: 1.5.0
  8. Release: 1%{?_dist_release}
  9. URL: http://www.x.org
  10. License: MIT
  11. Group: User Interface/X Hardware Support
  12. Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
  13. Source1: 50-synaptics.conf
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  15. ExcludeArch: s390 s390x
  16. BuildRequires: libtool, pkgconfig
  17. BuildRequires: xorg-x11-server-sdk >= 1.6.0
  18. BuildRequires: libX11-devel, libXi-devel, libXext-devel
  19. BuildRequires: xorg-x11-util-macros >= 1.3.0
  20. Requires: xorg-x11-server-Xorg
  21. Provides: synaptics = %{version}-%{release}
  22. Obsoletes: synaptics < 0.15.0
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. %description
  26. This is a driver for the Synaptics TouchPad for X.Org. A Synaptics touchpad by
  27. default operates in compatibility mode by emulating a standard mouse. However,
  28. by using a dedicated driver, more advanced features of the touchpad becomes
  29. available.
  30. Features:
  31. * Movement with adjustable, non-linear acceleration and speed.
  32. * Button events through short touching of the touchpad.
  33. * Double-Button events through double short touching of the touchpad.
  34. * Dragging through short touching and holding down the finger on the
  35. touchpad.
  36. * Middle and right button events on the upper and lower corner of the
  37. touchpad.
  38. * Vertical scrolling (button four and five events) through moving the
  39. finger on the right side of the touchpad.
  40. * The up/down button sends button four/five events.
  41. * Horizontal scrolling (button six and seven events) through moving the
  42. finger on the lower side of the touchpad.
  43. * The multi-buttons send button four/five events, and six/seven events for
  44. horizontal scrolling.
  45. * Adjustable finger detection.
  46. Multifinger taps: two finger for middle button and three finger for
  47. right button events. (Needs hardware support. Not all models implement
  48. this feature.)
  49. * Run-time configuration using shared memory. This means you can change
  50. parameter settings without restarting the X server.
  51. %description -l ja
  52. Synaptics は XOrg 用の Synaptics タッチパッドドライバです。Synaptics タッチ
  53. パッドはデフォルトでは標準マウスをエミュレートし互換モードで動作します。
  54. しかしこの専用ドライバを使用することで、より多くの機能が使用できるようになり
  55. ます。
  56. 機能:
  57. * スピードと加速の調整が可能。
  58. * タッチパッドに短く触れたらクリック。
  59. * タッチパッドに2度短く触れたらダブルクリック。
  60. * タッチパッドに短く触れた後、指を下ろしたまま移動させたらドラッグ。
  61. * タッチパッドの上下のコーナーに中ボタンと右ボタンを割り当て。
  62. * タッチパッドの右端を上下になぞる事で縦スクロール。
  63. (ボタン4及びボタン5として動作)
  64. * 上下ボタンをボタン4及びボタン5として動作。
  65. * タッチパッドの下端を左右になぞることで横スクロール。
  66. (ボタン6及びボタン7として動作)
  67. * 複数ボタンがある場合は横スクロール用にボタン4/5とボタン6/7として動作。
  68. * 感度の調整が可能。
  69. * 複数の指によるタップ: 二本指を中ボタン、三本指を右ボタンに割り当て。
  70. (ハードウェアのサポートが必要。全てのタッチパッドで動作する訳では無い)
  71. * 共有メモリによる実行中の設定変更が可能。これにより X の再起動無しに
  72. 設定を変更することができる。
  73. %prep
  74. %setup -q -n %{tarball}-%{version}
  75. %build
  76. autoreconf -v --install --force || exit 1
  77. %configure --disable-static
  78. make %{?_smp_mflags}
  79. %install
  80. rm -rf $RPM_BUILD_ROOT
  81. make install DESTDIR=$RPM_BUILD_ROOT
  82. # FIXME: Remove all libtool archives (*.la) from modules directory. This
  83. # should be fixed in upstream Makefile.am or whatever.
  84. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
  85. # install xorg.conf snippet
  86. install -d $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d/
  87. install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d/
  88. %clean
  89. rm -rf $RPM_BUILD_ROOT
  90. %files
  91. %defattr(-,root,root,-)
  92. %doc COPYING README
  93. %{_datadir}/X11/xorg.conf.d/*.conf
  94. %{driverdir}/synaptics_drv.so
  95. %{_bindir}/synclient
  96. %{_bindir}/syndaemon
  97. %{_mandir}/man4/synaptics.4*
  98. %{_mandir}/man1/synclient.1*
  99. %{_mandir}/man1/syndaemon.1*
  100. %{_includedir}/xorg/synaptics-properties.h
  101. %{_includedir}/xorg/synaptics.h
  102. %{_libdir}/pkgconfig/xorg-synaptics.pc
  103. %changelog
  104. * Wed Nov 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-1
  105. - new upstream release
  106. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
  107. - new upstream release
  108. * Sat Mar 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  109. - new upstream release
  110. * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.99.901-1
  111. - new upstream release
  112. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.0-2
  113. - rebuild with xserver-1.9.2
  114. * Sun Oct 17 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.0-1
  115. - new upstream release
  116. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-3
  117. - rebuild with rpm-4.8.1 for pkg-config file
  118. * Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-2
  119. - move xorg.conf snippet to /usr/share/X11/xorg.conf.d
  120. * Mon Mar 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
  121. - update to 1.2.2
  122. - drop hal support
  123. - drop hal fdi policy
  124. - remove R: hal
  125. - add xorg.conf snippet
  126. * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-3
  127. - rebuild with xserver-1.8rc (x86_64)
  128. * Wed Mar 24 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-2
  129. - rebuild with xserver-1.8rc
  130. * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  131. - new upstream release
  132. * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1
  133. - new upstream release
  134. - add BR: xorg-x11-util-macros >= 1.3.0
  135. * Sat Jun 06 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.2-1
  136. - new upstream release
  137. - remove Patch10: SHMconfig is not needed
  138. * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-1
  139. - new upstream release
  140. * Sun Dec 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.3-1
  141. - new upstream release
  142. * Mon Nov 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.1-1
  143. - new upstream release
  144. * Wed Oct 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15.2-2
  145. - use bundled fdi
  146. - add patch10 to enable SHMConfig on all synaptics devices.
  147. * Sat Sep 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15.2-1
  148. - new upstream release
  149. * Tue Sep 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15.1-1
  150. - new upstream version released from x.org
  151. - rename to xorg-x11-drv-synaptics
  152. - add Obsoletes/Provides synaptics
  153. - add patch1,2 from fedora
  154. - patch1: reserve 5% on each side for edge detection.
  155. - patch2: force a click if middle button emulation times out during ReadInput cycle.
  156. * Tue Jul 8 2008 Shu KONNO <owa@bg.wakwak.com> 0.14.6.20070706-3
  157. - fixed synaptics_drv.so path by using %%{_libdir}
  158. * Sun Jul 6 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.14.6.20070706-2
  159. - add Patch0; add BuildRequires: libpciaccess-devel
  160. - built with xorg-x11-server-1.4.99.905
  161. * Fri May 23 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.14.6.20070706-1
  162. - updated to newest git upstream (cd6a1225ec319cad9788e8fba158d9792b55de23)
  163. - built with xorg-x11
  164. - spec encoding converted to UTF-8
  165. * Wed Jul 19 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.6-0vl1
  166. - source update.
  167. - build for VineSeed (4.0) Plus.
  168. * Sun Jun 18 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.5-0vl0
  169. - build for Vine Plus/3.0.
  170. * Sun Jun 18 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.5-0vl1
  171. - source update.
  172. - build for VineSeed Plus.
  173. * Sat Jan 23 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.4-0vl3
  174. - add man page synaptics.5.
  175. - build for VineSeed Plus.
  176. * Sat Jan 21 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.4-0vl0
  177. - build for Vine Plus/3.0.
  178. * Sat Jan 21 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.4-0vl1
  179. - source update.
  180. - build for VineSeed Plus.
  181. * Sun Apr 03 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.1-0vl0
  182. - build for Vine Plus/3.0.
  183. * Thu Mar 31 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.1-0vl1
  184. - initial build for VineSeed Plus.