source: projects/specs/trunk/x/xorg-x11-drv-joystick/xorg-x11-drv-joystick-vl.spec @ 2814

Revision 2814, 2.2 KB checked in by Takemikaduchi, 13 years ago (diff)

upload: xserver-1.10.0

Line 
1%define tarball xf86-input-joystick
2%define moduledir %(pkg-config xorg-server --variable=moduledir )
3%define driverdir       %{moduledir}/input
4
5Summary:   Xorg X11 joystick input driver
6Summary(ja):   Xorg X11 joystick 入力ドライバ
7Name:      xorg-x11-drv-joystick
8Version:   1.5.0
9Release:   5%{?_dist_release}
10URL:       http://www.x.org
11License:   MIT
12Group:     User Interface/X Hardware Support
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14
15Source0:   ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
16
17Patch0:    xf86-input-joystick_git20101216.patch
18
19ExcludeArch: s390 s390x
20
21BuildRequires: xorg-x11-server-sdk >= 1.6
22BuildRequires: xorg-x11-proto-devel >= 7.2-10
23
24Requires: xorg-x11-server-Xorg
25
26%description
27X.Org X11 joystick input driver.
28
29
30%package devel
31Summary:        Development Package for Xorg X11 joystick input driver
32Summary:        Xorg X11 joystick 入力ドライバの開発パッケージ
33Group:          Development/System
34Requires:       %{name} = %{version}-%{release}
35
36%description devel
37Development Package for Xorg X11 joystick input driver
38
39
40
41%prep
42%setup -q -n %{tarball}-%{version}
43%patch0 -p1
44
45%build
46%configure --disable-static
47make
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52make 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.
56find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
57
58%clean
59rm -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
73* Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-5
74- rebuild with xserver-1.10.0
75- add Patch0 (xf86-input-joystick_git20101216.patch)
76
77* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-4
78- rebuild with xserver-1.9.2
79
80* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-3
81- rebuild with rpm-4.8.1 for pkg-config file
82
83* Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-2
84- rebuild with xserver-1.8rc
85
86* Sun Mar 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-1
87- Initial build for Vine Linux
88
Note: See TracBrowser for help on using the repository browser.