123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- %define tarball xf86-input-joystick
- %define moduledir %(pkg-config xorg-server --variable=moduledir )
- %define driverdir %{moduledir}/input
- Summary: Xorg X11 joystick input driver
- Summary(ja): Xorg X11 joystick 入力ドライバ
- Name: xorg-x11-drv-joystick
- Version: 1.5.0
- Release: 2%{?_dist_release}
- URL: http://www.x.org
- License: MIT
- Group: User Interface/X Hardware Support
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
- ExcludeArch: s390 s390x
- BuildRequires: xorg-x11-server-sdk >= 1.6
- BuildRequires: xorg-x11-proto-devel >= 7.2-10
- Requires: xorg-x11-server-Xorg
- %description
- X.Org X11 joystick input driver.
- %package devel
- Summary: Development Package for Xorg X11 joystick input driver
- Summary: Xorg X11 joystick 入力ドライバの開発パッケージ
- Group: Development/System
- Requires: %{name} = %{version}-%{release}
- %description devel
- Development Package for Xorg X11 joystick input driver
- %prep
- %setup -q -n %{tarball}-%{version}
- %build
- %configure --disable-static
- make
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- # FIXME: Remove all libtool archives (*.la) from modules directory. This
- # should be fixed in upstream Makefile.am or whatever.
- find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root,-)
- %{driverdir}/joystick_drv.so
- %{_mandir}/man4/joystick.4*
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/xorg/joystick-properties.h
- %{_libdir}/pkgconfig/xorg-joystick.pc
- %changelog
- * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-2
- - rebuild with xserver-1.8rc
- * Sun Mar 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-1
- - Initial build for Vine Linux
|