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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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.6.2
  8. Release: 4%{?_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. ExcludeArch: s390 s390x
  15. BuildRequires: xorg-x11-server-sdk >= 1.6
  16. BuildRequires: xorg-x11-proto-devel >= 7.2-10
  17. Requires: xorg-x11-server-Xorg
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. X.Org X11 joystick input driver.
  22. %package devel
  23. Summary: Development Package for Xorg X11 joystick input driver
  24. Summary: Xorg X11 joystick 入力ドライバの開発パッケージ
  25. Group: Development/System
  26. Requires: %{name} = %{version}-%{release}
  27. %description devel
  28. Development Package for Xorg X11 joystick input driver
  29. %prep
  30. %setup -q -n %{tarball}-%{version}
  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. * Sun Nov 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-4
  52. - rebuild with xserver-1.16.2
  53. * Thu Jul 10 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-3
  54. - rebuild with xserver-1.15.2
  55. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2
  56. - rebuild with VineSeed environment
  57. * Sun May 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
  58. - new upstream release
  59. * Sun Mar 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  60. - new upstream release
  61. * Wed Nov 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  62. - rebuild with xserver-1.11.1.902
  63. * Sat May 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  64. - new upstream release
  65. - delete Patch0
  66. * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-5
  67. - rebuild with xserver-1.10.0
  68. - add Patch0 (xf86-input-joystick_git20101216.patch)
  69. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-4
  70. - rebuild with xserver-1.9.2
  71. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-3
  72. - rebuild with rpm-4.8.1 for pkg-config file
  73. * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-2
  74. - rebuild with xserver-1.8rc
  75. * Sun Mar 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-1
  76. - Initial build for Vine Linux