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

Revision 698, 1.8 KB checked in by Takemikaduchi, 14 years ago (diff)

takemikaduchi fix and add spec file

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:   2%{?_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
17ExcludeArch: s390 s390x
18
19BuildRequires: xorg-x11-server-sdk >= 1.6
20BuildRequires: xorg-x11-proto-devel >= 7.2-10
21
22Requires: xorg-x11-server-Xorg
23
24%description
25X.Org X11 joystick input driver.
26
27
28%package devel
29Summary:        Development Package for Xorg X11 joystick input driver
30Summary:        Xorg X11 joystick 入力ドライバの開発パッケージ
31Group:          Development/System
32Requires:       %{name} = %{version}-%{release}
33
34%description devel
35Development Package for Xorg X11 joystick input driver
36
37
38
39%prep
40%setup -q -n %{tarball}-%{version}
41
42%build
43%configure --disable-static
44make
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49make install DESTDIR=$RPM_BUILD_ROOT
50
51# FIXME: Remove all libtool archives (*.la) from modules directory.  This
52# should be fixed in upstream Makefile.am or whatever.
53find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(-,root,root,-)
60%{driverdir}/joystick_drv.so
61%{_mandir}/man4/joystick.4*
62
63%files devel
64%defattr(-,root,root,-)
65%{_includedir}/xorg/joystick-properties.h
66%{_libdir}/pkgconfig/xorg-joystick.pc
67
68
69%changelog
70* Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-2
71- rebuild with xserver-1.8rc
72
73* Sun Mar 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-1
74- Initial build for Vine Linux
75
Note: See TracBrowser for help on using the repository browser.