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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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: 2%{?_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. %description
  19. X.Org X11 joystick input driver.
  20. %package devel
  21. Summary: Development Package for Xorg X11 joystick input driver
  22. Summary: Xorg X11 joystick 入力ドライバの開発パッケージ
  23. Group: Development/System
  24. Requires: %{name} = %{version}-%{release}
  25. %description devel
  26. Development Package for Xorg X11 joystick input driver
  27. %prep
  28. %setup -q -n %{tarball}-%{version}
  29. %build
  30. %configure --disable-static
  31. make
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. make install DESTDIR=$RPM_BUILD_ROOT
  35. # FIXME: Remove all libtool archives (*.la) from modules directory. This
  36. # should be fixed in upstream Makefile.am or whatever.
  37. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %files
  41. %defattr(-,root,root,-)
  42. %{driverdir}/joystick_drv.so
  43. %{_mandir}/man4/joystick.4*
  44. %files devel
  45. %defattr(-,root,root,-)
  46. %{_includedir}/xorg/joystick-properties.h
  47. %{_libdir}/pkgconfig/xorg-joystick.pc
  48. %changelog
  49. * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-2
  50. - rebuild with xserver-1.8rc
  51. * Sun Mar 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-1
  52. - Initial build for Vine Linux