[566] | 1 | %define tarball xf86-input-joystick |
---|
| 2 | %define moduledir %(pkg-config xorg-server --variable=moduledir ) |
---|
| 3 | %define driverdir %{moduledir}/input |
---|
| 4 | |
---|
| 5 | Summary: Xorg X11 joystick input driver |
---|
| 6 | Summary(ja): Xorg X11 joystick 入力ドライバ |
---|
| 7 | Name: xorg-x11-drv-joystick |
---|
[11486] | 8 | Version: 1.6.3 |
---|
| 9 | Release: 1%{?_dist_release} |
---|
[566] | 10 | URL: http://www.x.org |
---|
| 11 | License: MIT |
---|
| 12 | Group: User Interface/X Hardware Support |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 14 | |
---|
| 15 | Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2 |
---|
| 16 | |
---|
| 17 | ExcludeArch: s390 s390x |
---|
| 18 | |
---|
| 19 | BuildRequires: xorg-x11-server-sdk >= 1.6 |
---|
| 20 | BuildRequires: xorg-x11-proto-devel >= 7.2-10 |
---|
| 21 | |
---|
| 22 | Requires: xorg-x11-server-Xorg |
---|
| 23 | |
---|
[8065] | 24 | Vendor: Project Vine |
---|
| 25 | Distribution: Vine Linux |
---|
| 26 | |
---|
[566] | 27 | %description |
---|
| 28 | X.Org X11 joystick input driver. |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | %package devel |
---|
| 32 | Summary: Development Package for Xorg X11 joystick input driver |
---|
[10229] | 33 | Summary(ja): Xorg X11 joystick 入力ドライバの開発パッケージ |
---|
[566] | 34 | Group: Development/System |
---|
| 35 | Requires: %{name} = %{version}-%{release} |
---|
| 36 | |
---|
| 37 | %description devel |
---|
| 38 | Development Package for Xorg X11 joystick input driver |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %prep |
---|
| 43 | %setup -q -n %{tarball}-%{version} |
---|
| 44 | |
---|
| 45 | %build |
---|
| 46 | %configure --disable-static |
---|
| 47 | make |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | rm -rf $RPM_BUILD_ROOT |
---|
| 51 | |
---|
| 52 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 53 | |
---|
| 54 | # FIXME: Remove all libtool archives (*.la) from modules directory. This |
---|
| 55 | # should be fixed in upstream Makefile.am or whatever. |
---|
| 56 | find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- |
---|
| 57 | |
---|
| 58 | %clean |
---|
| 59 | rm -rf $RPM_BUILD_ROOT |
---|
| 60 | |
---|
| 61 | %files |
---|
| 62 | %defattr(-,root,root,-) |
---|
| 63 | %{driverdir}/joystick_drv.so |
---|
| 64 | %{_mandir}/man4/joystick.4* |
---|
| 65 | |
---|
| 66 | %files devel |
---|
| 67 | %defattr(-,root,root,-) |
---|
| 68 | %{_includedir}/xorg/joystick-properties.h |
---|
| 69 | %{_libdir}/pkgconfig/xorg-joystick.pc |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %changelog |
---|
[11486] | 73 | * Fri Feb 16 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.6.3-1 |
---|
| 74 | - update to 1.6.3 |
---|
| 75 | - build with xserver-1.18.3 |
---|
| 76 | |
---|
[10229] | 77 | * Thu May 05 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-6 |
---|
| 78 | - rebuild with xserver-1.18.3 |
---|
| 79 | |
---|
[9775] | 80 | * Sun Oct 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-5 |
---|
| 81 | - rebuild with xserver-1.17.2 |
---|
| 82 | |
---|
[9108] | 83 | * Sun Nov 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-4 |
---|
| 84 | - rebuild with xserver-1.16.2 |
---|
| 85 | |
---|
[8784] | 86 | * Thu Jul 10 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-3 |
---|
| 87 | - rebuild with xserver-1.15.2 |
---|
| 88 | |
---|
[8065] | 89 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2 |
---|
| 90 | - rebuild with VineSeed environment |
---|
| 91 | |
---|
[7648] | 92 | * Sun May 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1 |
---|
| 93 | - new upstream release |
---|
| 94 | |
---|
[6011] | 95 | * Sun Mar 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 96 | - new upstream release |
---|
| 97 | |
---|
[5089] | 98 | * Wed Nov 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
| 99 | - rebuild with xserver-1.11.1.902 |
---|
| 100 | |
---|
[3876] | 101 | * Sat May 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 102 | - new upstream release |
---|
| 103 | - delete Patch0 |
---|
| 104 | |
---|
[2814] | 105 | * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-5 |
---|
| 106 | - rebuild with xserver-1.10.0 |
---|
| 107 | - add Patch0 (xf86-input-joystick_git20101216.patch) |
---|
| 108 | |
---|
[2203] | 109 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-4 |
---|
| 110 | - rebuild with xserver-1.9.2 |
---|
| 111 | |
---|
[1901] | 112 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-3 |
---|
| 113 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 114 | |
---|
[698] | 115 | * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-2 |
---|
| 116 | - rebuild with xserver-1.8rc |
---|
| 117 | |
---|
[566] | 118 | * Sun Mar 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-1 |
---|
| 119 | - Initial build for Vine Linux |
---|
| 120 | |
---|