[521] | 1 | %define drvname xgi |
---|
| 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} |
---|
[1670] | 9 | Version: 1.6.0 |
---|
[2203] | 10 | Release: 2%{?_dist_release} |
---|
[521] | 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 |
---|
[2203] | 48 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
| 49 | - rebuild with xserver-1.9.2 |
---|
| 50 | |
---|
[1670] | 51 | * Tue Aug 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 52 | - new upstream release |
---|
| 53 | |
---|
[698] | 54 | * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.1-2 |
---|
| 55 | - rebuild with xserver-1.8rc |
---|
| 56 | |
---|
[521] | 57 | * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.1-1 |
---|
| 58 | - new upstream release |
---|
| 59 | |
---|
| 60 | * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.0-2 |
---|
| 61 | - rebuild with xorg-server-1.4.99 |
---|
| 62 | |
---|
| 63 | * Mon Jun 16 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.0-1 |
---|
| 64 | - initial build |
---|
| 65 | |
---|