1 | %define drvname xgixp |
---|
2 | %define tarball xf86-video-%{drvname} |
---|
3 | %define moduledir %(pkg-config xorg-server --variable=moduledir ) |
---|
4 | %define driverdir %{moduledir}/drivers |
---|
5 | |
---|
6 | Summary: Xorg X11 %{drvname} video driver |
---|
7 | Summary(ja): Xorg X11 %{drvname} ビデオドライバ |
---|
8 | Name: xorg-x11-drv-%{drvname} |
---|
9 | Version: 1.8.0 |
---|
10 | Release: 3%{?_dist_release} |
---|
11 | URL: http://www.x.org |
---|
12 | Source0: http://xorg.freedesktop.org/releases/individual/driver/%{tarball}-%{version}.tar.bz2 |
---|
13 | License: MIT |
---|
14 | Group: User Interface/X Hardware Support |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
17 | BuildRequires: xorg-x11-server-sdk >= 1.3.0.0-6 |
---|
18 | Requires: xorg-x11-server-Xorg |
---|
19 | |
---|
20 | %description |
---|
21 | X.Org X11 %{drvname} video driver. |
---|
22 | |
---|
23 | %prep |
---|
24 | %setup -q -n %{tarball}-%{version} |
---|
25 | |
---|
26 | %build |
---|
27 | %configure --disable-static |
---|
28 | make |
---|
29 | |
---|
30 | %install |
---|
31 | rm -rf $RPM_BUILD_ROOT |
---|
32 | |
---|
33 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
34 | |
---|
35 | # FIXME: Remove all libtool archives (*.la) from modules directory. This |
---|
36 | # should be fixed in upstream Makefile.am or whatever. |
---|
37 | find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- |
---|
38 | |
---|
39 | %clean |
---|
40 | rm -rf $RPM_BUILD_ROOT |
---|
41 | |
---|
42 | %files |
---|
43 | %defattr(-,root,root,-) |
---|
44 | %{driverdir}/%{drvname}_drv.so |
---|
45 | %{_mandir}/man4/%{drvname}.4* |
---|
46 | |
---|
47 | %changelog |
---|
48 | * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-3 |
---|
49 | - rebuild with xserver-1.10.0 |
---|
50 | |
---|
51 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2 |
---|
52 | - rebuild with xserver-1.9.2 |
---|
53 | |
---|
54 | * Tue Aug 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
55 | - new upstream release |
---|
56 | |
---|
57 | * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.99.4-2 |
---|
58 | - rebuild with xserver-1.8rc |
---|
59 | |
---|
60 | * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.99.4-1 |
---|
61 | - new upstream release |
---|
62 | |
---|
63 | * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.99.3-2 |
---|
64 | - rebuild with xorg-server-1.4.99 |
---|
65 | |
---|
66 | * Mon Jun 16 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.99.3-1 |
---|
67 | - initial build |
---|
68 | |
---|