[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 |
---|
[2814] | 9 | Release: 4%{?_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 | |
---|
[2814] | 17 | Patch0: xf86-video-mach64_git20101202.patch |
---|
| 18 | |
---|
[521] | 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 20 | ExcludeArch: s390 s390x |
---|
| 21 | BuildRequires: xorg-x11-server-sdk >= 1.6 |
---|
| 22 | BuildRequires: mesa-libGL-devel |
---|
| 23 | BuildRequires: libdrm-devel |
---|
| 24 | BuildRequires: automake autoconf libtool pkgconfig |
---|
| 25 | BuildRequires: xorg-x11-util-macros |
---|
| 26 | Requires: hwdata |
---|
| 27 | Requires: xorg-x11-server-Xorg |
---|
| 28 | Obsoletes: xorg-x11-drv-ati < 6.9.0 |
---|
| 29 | |
---|
| 30 | %description |
---|
| 31 | X.Org X11 mach64 video driver. |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -q -n %{tarball}-%{version} |
---|
[2814] | 35 | %patch0 -p1 |
---|
[521] | 36 | |
---|
| 37 | |
---|
| 38 | %build |
---|
| 39 | autoreconf -i -f |
---|
| 40 | %configure --disable-static |
---|
| 41 | make %{?_smp_mflags} |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | rm -rf $RPM_BUILD_ROOT |
---|
| 45 | |
---|
| 46 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 47 | |
---|
| 48 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases |
---|
| 49 | install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/ |
---|
| 50 | |
---|
| 51 | find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- |
---|
| 52 | |
---|
| 53 | %clean |
---|
| 54 | rm -rf $RPM_BUILD_ROOT |
---|
| 55 | |
---|
| 56 | %files |
---|
| 57 | %defattr(-,root,root,-) |
---|
| 58 | %doc README.mach64 |
---|
| 59 | %{driverdir}/mach64_drv.so |
---|
| 60 | %{_datadir}/hwdata/videoaliases/mach64.xinf |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %changelog |
---|
[2814] | 64 | * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.2-4 |
---|
| 65 | - rebuild with xserver-1.10.0 |
---|
| 66 | - add Patch0 (xf86-video-mach64_git20101202.patch) |
---|
| 67 | |
---|
[2203] | 68 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.2-3 |
---|
| 69 | - rebuild with xserver-1.9.2 |
---|
| 70 | |
---|
[698] | 71 | * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.2-2 |
---|
| 72 | - rebuild with xserver-1.8rc |
---|
| 73 | |
---|
[521] | 74 | * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.2-1 |
---|
| 75 | - new upstream release |
---|
| 76 | |
---|
| 77 | * Mon May 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.1-1 |
---|
| 78 | - new upstream release |
---|
| 79 | |
---|
| 80 | * Sun May 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.0-2 |
---|
| 81 | - rebuild with xorg-xserver 1.6 |
---|
| 82 | |
---|
| 83 | * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.0-1 |
---|
| 84 | - initial build |
---|
| 85 | |
---|