[521] | 1 | %define tarball xf86-video-mach64 |
---|
| 2 | %define moduledir %(pkg-config xorg-server --variable=moduledir ) |
---|
| 3 | %define driverdir %{moduledir}/drivers |
---|
| 4 | |
---|
| 5 | Summary: Xorg X11 mach64 video driver |
---|
| 6 | Summary(ja): Xorg X11 mach64 ビデオドライバ |
---|
| 7 | Name: xorg-x11-drv-mach64 |
---|
| 8 | Version: 6.8.2 |
---|
[698] | 9 | Release: 2%{?_dist_release} |
---|
[521] | 10 | URL: http://www.x.org |
---|
| 11 | License: MIT |
---|
| 12 | Group: User Interface/X Hardware Support |
---|
| 13 | |
---|
| 14 | Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2 |
---|
| 15 | Source1: mach64.xinf |
---|
| 16 | |
---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 18 | ExcludeArch: s390 s390x |
---|
| 19 | BuildRequires: xorg-x11-server-sdk >= 1.6 |
---|
| 20 | BuildRequires: mesa-libGL-devel |
---|
| 21 | BuildRequires: libdrm-devel |
---|
| 22 | BuildRequires: automake autoconf libtool pkgconfig |
---|
| 23 | BuildRequires: xorg-x11-util-macros |
---|
| 24 | Requires: hwdata |
---|
| 25 | Requires: xorg-x11-server-Xorg |
---|
| 26 | Obsoletes: xorg-x11-drv-ati < 6.9.0 |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | X.Org X11 mach64 video driver. |
---|
| 30 | |
---|
| 31 | %prep |
---|
| 32 | %setup -q -n %{tarball}-%{version} |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | %build |
---|
| 36 | autoreconf -i -f |
---|
| 37 | %configure --disable-static |
---|
| 38 | make %{?_smp_mflags} |
---|
| 39 | |
---|
| 40 | %install |
---|
| 41 | rm -rf $RPM_BUILD_ROOT |
---|
| 42 | |
---|
| 43 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 44 | |
---|
| 45 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases |
---|
| 46 | install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/ |
---|
| 47 | |
---|
| 48 | find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- |
---|
| 49 | |
---|
| 50 | %clean |
---|
| 51 | rm -rf $RPM_BUILD_ROOT |
---|
| 52 | |
---|
| 53 | %files |
---|
| 54 | %defattr(-,root,root,-) |
---|
| 55 | %doc README.mach64 |
---|
| 56 | %{driverdir}/mach64_drv.so |
---|
| 57 | %{_datadir}/hwdata/videoaliases/mach64.xinf |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %changelog |
---|
[698] | 61 | * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.2-2 |
---|
| 62 | - rebuild with xserver-1.8rc |
---|
| 63 | |
---|
[521] | 64 | * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.2-1 |
---|
| 65 | - new upstream release |
---|
| 66 | |
---|
| 67 | * Mon May 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.1-1 |
---|
| 68 | - new upstream release |
---|
| 69 | |
---|
| 70 | * Sun May 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.0-2 |
---|
| 71 | - rebuild with xorg-xserver 1.6 |
---|
| 72 | |
---|
| 73 | * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.0-1 |
---|
| 74 | - initial build |
---|
| 75 | |
---|