xorg-x11-drv-wacom-vl.spec 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. %global tarball xf86-input-wacom
  2. %global moduledir %(pkg-config xorg-server --variable=moduledir )
  3. %global driverdir %{moduledir}/input
  4. Summary: Xorg X11 wacom input driver
  5. Name: xorg-x11-drv-wacom
  6. Version: 0.11.0
  7. Release: 1%{?_dist_release}
  8. URL: http://www.x.org
  9. License: GPLv2+
  10. Group: User Interface/X Hardware Support
  11. Source0: http://prdownloads.sourceforge.net/linuxwacom/xf86-input-wacom-%{version}.tar.bz2
  12. Source1: 70-wacom.rules
  13. ExcludeArch: s390 s390x
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  15. BuildRequires: xorg-x11-server-sdk >= 1.7.0
  16. BuildRequires: xorg-x11-util-macros >= 1.3.0
  17. BuildRequires: libX11-devel libXi-devel libXrandr-devel
  18. BuildRequires: glib2-devel
  19. BuildRequires: libudev-devel
  20. Requires: xorg-x11-server-Xorg
  21. Requires: udev
  22. Provides: linuxwacom = %{version}-%{release}
  23. Obsoletes: linuxwacom <= 0.8.4.3
  24. %description
  25. X.Org X11 wacom input driver for Wacom tablets.
  26. %package devel
  27. Summary: Xorg X11 wacom input driver development package
  28. Group: Development/Libraries
  29. Requires: xorg-x11-server-sdk >= 1.7.0
  30. Requires: pkgconfig
  31. %description devel
  32. X.Org X11 wacom input driver development files.
  33. %prep
  34. %setup -q -n %{tarball}-%{version}
  35. %build
  36. %configure --disable-static
  37. make %{_smp_mflags}
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. make install DESTDIR=$RPM_BUILD_ROOT
  41. # FIXME: Remove all libtool archives (*.la) from modules directory. This
  42. # should be fixed in upstream Makefile.am or whatever.
  43. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
  44. install -d $RPM_BUILD_ROOT/lib/udev/rules.d
  45. install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/lib/udev/rules.d/70-wacom.rules
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %files
  49. %defattr(-,root,root,-)
  50. %doc AUTHORS README GPL
  51. # ChangeLog is autogenerated by make dist, we don't run it from git builds
  52. %doc ChangeLog
  53. %{driverdir}/wacom_drv.so
  54. %{_mandir}/man4/wacom.4*
  55. %{_mandir}/man1/xsetwacom.1*
  56. %{_datadir}/X11/xorg.conf.d/50-wacom.conf
  57. %{_bindir}/xsetwacom
  58. /lib/udev/rules.d/70-wacom.rules
  59. %files devel
  60. %defattr(-,root,root,-)
  61. %doc GPL
  62. %{_libdir}/pkgconfig/xorg-wacom.pc
  63. %{_includedir}/xorg/Xwacom.h
  64. %{_includedir}/xorg/wacom-properties.h
  65. %{_includedir}/xorg/isdv4.h
  66. %{_bindir}/isdv4-serial-debugger
  67. %changelog
  68. * Sat May 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.11.0-1
  69. - new upstream release
  70. - add BuildRequires: libudev-devel
  71. * Tue Mar 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.11-1
  72. - initial build for Vine Linux
  73. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.10-3.20101122
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  75. * Thu Nov 25 2010 Peter Hutterer <peter.hutterer@redhat.com> - 0.10.10-2.20101122
  76. - Rebuild for server 1.10
  77. * Mon Nov 22 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.10-1
  78. - Update to today's git snapshot (0.10.10), an emergency release.
  79. * Fri Nov 19 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.9-2
  80. - require libXrandr-devel for xsetwacom
  81. * Fri Nov 19 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.9-1
  82. - Update to today's git snapshot (0.10.9)
  83. * Wed Oct 27 2010 Adam Jackson <ajax@redhat.com> 0.10.8-3
  84. - Add ABI requires magic (#542742)
  85. * Mon Aug 02 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.8-2
  86. - Update to today's git snapshot.
  87. * Mon Jul 26 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.8-1
  88. - wacom 0.10.8 (from git)
  89. * Thu Jul 08 2010 Adam Jackson <ajax@redhat.com> 0.10.7-4
  90. - Install GPL in -devel too
  91. * Mon Jul 05 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.7-3.20100705
  92. - Update to git to build against newest X server.
  93. * Mon Jul 05 2010 Peter Hutterer <peter.hutterer@redhat.com> - 0.10.7-2.20100621
  94. - rebuild for X Server 1.9
  95. * Mon Jun 21 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.7-1.20100621
  96. - Update to 0.10.7 from git.
  97. * Wed Jun 16 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.6-6.20100616
  98. - Update to today's git snapshot.
  99. * Thu Jun 03 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.6-5.2010603
  100. - Update to today's git snapshot.
  101. * Thu Jun 03 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.6-5.20100521
  102. - Update udev rules file to include Fujitsu serial tablets. (#598168)
  103. - Update udev rules file to set ID_INPUT_TABLET
  104. * Fri May 21 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.6-4.20100521
  105. - Update to today's git snapshot.
  106. - wacom-0.10.6-serial-identifiers.patch: drop, upstream.
  107. * Tue May 18 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.6-3.20100427
  108. - Install wacom udev rules file to identify serial devices.
  109. * Tue Apr 27 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.6-2.20100427
  110. - wacom-0.10.6-serial-identifiers.patch: add some more serial IDs to the
  111. config file.
  112. * Tue Apr 27 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.6-1.20100427
  113. - wacom 0.10.6 (from git)
  114. * Thu Apr 15 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.5-5.20100325
  115. - Fix up missing directory change from last commit.
  116. * Thu Apr 15 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.5-4.20100325
  117. - Install config snippet in $datadir/X11/xorg.conf.d
  118. - rename to 50-wacom.conf to match upstream naming
  119. * Thu Mar 25 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.5-3.20100325
  120. - Update to today's git snapshot.
  121. * Tue Mar 23 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.5-2.20100319
  122. - Enable the debug properties.
  123. * Fri Mar 19 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.5-1.20100319
  124. - Update to today's git snapshot (0.10.5)
  125. * Tue Mar 16 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.4-7.20100316
  126. - Update to today's git snapshot.
  127. * Fri Mar 05 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.4-6.20100305
  128. - Update to today's git snapshot.
  129. * Thu Mar 04 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.4-5.20100219
  130. - Fix 10-wacom.conf for N-Trig devices: rename the class (copy/paste error)
  131. and only take event devices. (Related #526270)
  132. * Fri Feb 19 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.4-4.20100219
  133. - Add stuff required to build from upstream git.
  134. - Update to today's git snapshot.
  135. * Wed Feb 17 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.4-3
  136. - Add 10-wacom.conf, the fdi file doesn't work anymore.
  137. - Drop hal requires.
  138. * Wed Feb 03 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.4-2
  139. - Update sources to sourceforge, 0.10.4 was released on sf only.
  140. - Remove wacom.fdi, we're just using the one shipped by the driver now.
  141. * Thu Jan 21 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.4-1
  142. - wacom 0.10.4
  143. * Thu Jan 21 2010 Peter Hutterer <peter.hutterer@redhat.com> - 0.10.3-3
  144. - Rebuild for server 1.8
  145. * Tue Jan 05 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.3-2
  146. - BuildRequires and Requires libX11 and libXi for xsetwacom.
  147. * Tue Jan 05 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.3-1
  148. - wacom 0.10.3
  149. * Thu Dec 03 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.10.2-1
  150. - wacom 0.10.2
  151. * Fri Nov 20 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.10.1-2
  152. - cvs add 10-wacom.fdi, this time really.
  153. * Fri Nov 20 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.10.1-1
  154. - wacom 0.10.1
  155. - BuildRequires xorg-x11-util-macros 1.3.0
  156. - Remove unnecessary 'find' directive, changed upstream.
  157. - Add GPL document
  158. - Install 10-wacom.fdi file.
  159. - Provides: linuxwacom
  160. * Thu Nov 19 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.10.0-3
  161. - Use smp_mflags when building.
  162. * Wed Nov 18 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.10.0-2
  163. - Obsolete linuxwacom, don't Conflict with it.
  164. - Remove trailing dot from summary (rpmlint warning).
  165. - Remove spurious executable bits from source files (rpmlint warning).
  166. - Add AUTHORS, ChangeLog, README to doc
  167. * Mon Oct 19 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.10.0-1
  168. - Initial import