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

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