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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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.4.1
  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. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
  105. - new upstream release
  106. * Sat Mar 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  107. - new upstream release
  108. * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.99.901-1
  109. - new upstream release
  110. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.0-2
  111. - rebuild with xserver-1.9.2
  112. * Sun Oct 17 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.0-1
  113. - new upstream release
  114. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-3
  115. - rebuild with rpm-4.8.1 for pkg-config file
  116. * Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-2
  117. - move xorg.conf snippet to /usr/share/X11/xorg.conf.d
  118. * Mon Mar 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
  119. - update to 1.2.2
  120. - drop hal support
  121. - drop hal fdi policy
  122. - remove R: hal
  123. - add xorg.conf snippet
  124. * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-3
  125. - rebuild with xserver-1.8rc (x86_64)
  126. * Wed Mar 24 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-2
  127. - rebuild with xserver-1.8rc
  128. * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  129. - new upstream release
  130. * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1
  131. - new upstream release
  132. - add BR: xorg-x11-util-macros >= 1.3.0
  133. * Sat Jun 06 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.2-1
  134. - new upstream release
  135. - remove Patch10: SHMconfig is not needed
  136. * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-1
  137. - new upstream release
  138. * Sun Dec 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.3-1
  139. - new upstream release
  140. * Mon Nov 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.1-1
  141. - new upstream release
  142. * Wed Oct 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15.2-2
  143. - use bundled fdi
  144. - add patch10 to enable SHMConfig on all synaptics devices.
  145. * Sat Sep 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15.2-1
  146. - new upstream release
  147. * Tue Sep 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15.1-1
  148. - new upstream version released from x.org
  149. - rename to xorg-x11-drv-synaptics
  150. - add Obsoletes/Provides synaptics
  151. - add patch1,2 from fedora
  152. - patch1: reserve 5% on each side for edge detection.
  153. - patch2: force a click if middle button emulation times out during ReadInput cycle.
  154. * Tue Jul 8 2008 Shu KONNO <owa@bg.wakwak.com> 0.14.6.20070706-3
  155. - fixed synaptics_drv.so path by using %%{_libdir}
  156. * Sun Jul 6 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.14.6.20070706-2
  157. - add Patch0; add BuildRequires: libpciaccess-devel
  158. - built with xorg-x11-server-1.4.99.905
  159. * Fri May 23 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.14.6.20070706-1
  160. - updated to newest git upstream (cd6a1225ec319cad9788e8fba158d9792b55de23)
  161. - built with xorg-x11
  162. - spec encoding converted to UTF-8
  163. * Wed Jul 19 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.6-0vl1
  164. - source update.
  165. - build for VineSeed (4.0) Plus.
  166. * Sun Jun 18 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.5-0vl0
  167. - build for Vine Plus/3.0.
  168. * Sun Jun 18 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.5-0vl1
  169. - source update.
  170. - build for VineSeed Plus.
  171. * Sat Jan 23 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.4-0vl3
  172. - add man page synaptics.5.
  173. - build for VineSeed Plus.
  174. * Sat Jan 21 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.4-0vl0
  175. - build for Vine Plus/3.0.
  176. * Sat Jan 21 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.4-0vl1
  177. - source update.
  178. - build for VineSeed Plus.
  179. * Sun Apr 03 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.1-0vl0
  180. - build for Vine Plus/3.0.
  181. * Thu Mar 31 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.1-0vl1
  182. - initial build for VineSeed Plus.