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

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