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

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