| 1 | %define tarball xf86-video-r128 |
|---|
| 2 | %define moduledir %(pkg-config xorg-server --variable=moduledir ) |
|---|
| 3 | %define driverdir %{moduledir}/drivers |
|---|
| 4 | |
|---|
| 5 | Summary: Xorg X11 r128 video driver |
|---|
| 6 | Summary(ja): Xorg X11 r128 ビデオドライバ |
|---|
| 7 | Name: xorg-x11-drv-r128 |
|---|
| 8 | Version: 6.8.2 |
|---|
| 9 | Release: 1%{?_dist_release} |
|---|
| 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: r128.xinf |
|---|
| 16 | |
|---|
| 17 | Patch10: xorg-x11-drv-r128-6.8.0-powerpc.patch |
|---|
| 18 | |
|---|
| 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 r128 video driver. |
|---|
| 32 | |
|---|
| 33 | %prep |
|---|
| 34 | %setup -q -n %{tarball}-%{version} |
|---|
| 35 | %patch10 -p1 -b .powerpc |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | %build |
|---|
| 39 | autoreconf -f -i |
|---|
| 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.r128 |
|---|
| 59 | %{driverdir}/r128_drv.so |
|---|
| 60 | %{_datadir}/hwdata/videoaliases/r128.xinf |
|---|
| 61 | %{_mandir}/man4/r128.4* |
|---|
| 62 | |
|---|
| 63 | |
|---|
| 64 | %changelog |
|---|
| 65 | * Sun Mar 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.2-1 |
|---|
| 66 | - new upstream release |
|---|
| 67 | |
|---|
| 68 | * Wed Nov 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.1-6 |
|---|
| 69 | - rebuild with xserver-1.11.1.902 |
|---|
| 70 | |
|---|
| 71 | * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.1-5 |
|---|
| 72 | - rebuild with xserver-1.10.0 |
|---|
| 73 | |
|---|
| 74 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.1-4 |
|---|
| 75 | - rebuild with xserver-1.9.2 |
|---|
| 76 | |
|---|
| 77 | * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.1-3 |
|---|
| 78 | - rebuild with xserver-1.8rc |
|---|
| 79 | |
|---|
| 80 | * Fri Nov 20 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 6.8.1-2 |
|---|
| 81 | - add Patch10 (UseFBDev defaults to False on PowerPC) |
|---|
| 82 | this was imported from 6.8.0-3 (Vine-5.0/proposed-updates) |
|---|
| 83 | |
|---|
| 84 | * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.1-1 |
|---|
| 85 | - new upstream release |
|---|
| 86 | |
|---|
| 87 | * Mon May 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.0-2 |
|---|
| 88 | - rebuild for xserver 1.6 |
|---|
| 89 | |
|---|
| 90 | * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.0-1 |
|---|
| 91 | - initial build |
|---|
| 92 | |
|---|