xorg-x11-drv-joystick-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. %define tarball xf86-input-joystick
  2. %define moduledir %(pkg-config xorg-server --variable=moduledir )
  3. %define driverdir %{moduledir}/input
  4. Summary: Xorg X11 joystick input driver
  5. Summary(ja): Xorg X11 joystick 入力ドライバ
  6. Name: xorg-x11-drv-joystick
  7. Version: 1.5.0
  8. Release: 5%{?_dist_release}
  9. URL: http://www.x.org
  10. License: MIT
  11. Group: User Interface/X Hardware Support
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
  14. Patch0: xf86-input-joystick_git20101216.patch
  15. ExcludeArch: s390 s390x
  16. BuildRequires: xorg-x11-server-sdk >= 1.6
  17. BuildRequires: xorg-x11-proto-devel >= 7.2-10
  18. Requires: xorg-x11-server-Xorg
  19. %description
  20. X.Org X11 joystick input driver.
  21. %package devel
  22. Summary: Development Package for Xorg X11 joystick input driver
  23. Summary: Xorg X11 joystick 入力ドライバの開発パッケージ
  24. Group: Development/System
  25. Requires: %{name} = %{version}-%{release}
  26. %description devel
  27. Development Package for Xorg X11 joystick input driver
  28. %prep
  29. %setup -q -n %{tarball}-%{version}
  30. %patch0 -p1
  31. %build
  32. %configure --disable-static
  33. make
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make install DESTDIR=$RPM_BUILD_ROOT
  37. # FIXME: Remove all libtool archives (*.la) from modules directory. This
  38. # should be fixed in upstream Makefile.am or whatever.
  39. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %files
  43. %defattr(-,root,root,-)
  44. %{driverdir}/joystick_drv.so
  45. %{_mandir}/man4/joystick.4*
  46. %files devel
  47. %defattr(-,root,root,-)
  48. %{_includedir}/xorg/joystick-properties.h
  49. %{_libdir}/pkgconfig/xorg-joystick.pc
  50. %changelog
  51. * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-5
  52. - rebuild with xserver-1.10.0
  53. - add Patch0 (xf86-input-joystick_git20101216.patch)
  54. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-4
  55. - rebuild with xserver-1.9.2
  56. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-3
  57. - rebuild with rpm-4.8.1 for pkg-config file
  58. * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-2
  59. - rebuild with xserver-1.8rc
  60. * Sun Mar 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-1
  61. - Initial build for Vine Linux