[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 |
---|
[7648] | 8 | Version: 1.6.2 |
---|
[9108] | 9 | Release: 4%{?_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 |
---|
| 33 | Summary: Xorg X11 joystick 入力ドライバの開発パッケージ |
---|
| 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 |
---|
[9108] | 73 | * Sun Nov 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-4 |
---|
| 74 | - rebuild with xserver-1.16.2 |
---|
| 75 | |
---|
[8784] | 76 | * Thu Jul 10 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-3 |
---|
| 77 | - rebuild with xserver-1.15.2 |
---|
| 78 | |
---|
[8065] | 79 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2 |
---|
| 80 | - rebuild with VineSeed environment |
---|
| 81 | |
---|
[7648] | 82 | * Sun May 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1 |
---|
| 83 | - new upstream release |
---|
| 84 | |
---|
[6011] | 85 | * Sun Mar 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 86 | - new upstream release |
---|
| 87 | |
---|
[5089] | 88 | * Wed Nov 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
| 89 | - rebuild with xserver-1.11.1.902 |
---|
| 90 | |
---|
[3876] | 91 | * Sat May 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 92 | - new upstream release |
---|
| 93 | - delete Patch0 |
---|
| 94 | |
---|
[2814] | 95 | * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-5 |
---|
| 96 | - rebuild with xserver-1.10.0 |
---|
| 97 | - add Patch0 (xf86-input-joystick_git20101216.patch) |
---|
| 98 | |
---|
[2203] | 99 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-4 |
---|
| 100 | - rebuild with xserver-1.9.2 |
---|
| 101 | |
---|
[1901] | 102 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-3 |
---|
| 103 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 104 | |
---|
[698] | 105 | * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-2 |
---|
| 106 | - rebuild with xserver-1.8rc |
---|
| 107 | |
---|
[566] | 108 | * Sun Mar 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-1 |
---|
| 109 | - Initial build for Vine Linux |
---|
| 110 | |
---|