[521] | 1 | %define tarball xf86-video-avivo |
---|
| 2 | %define driverdir %(pkg-config xorg-server --variable=moduledir)/drivers |
---|
| 3 | %define gitdate 20070918 |
---|
| 4 | %define gitrev be7d380aba8d1ff2272bf2c931b2c9f78a549b46 |
---|
| 5 | |
---|
| 6 | Name: xorg-x11-drv-avivo |
---|
| 7 | Version: 0.0.1 |
---|
| 8 | Release: 1%{?_dist_release} |
---|
| 9 | Summary: Xorg X11 AVIVO video driver |
---|
| 10 | Summary(ja): Xorg X11 AVIVO ビデオドライバ |
---|
| 11 | |
---|
| 12 | Group: User Interface/X Hardware Support |
---|
| 13 | License: GPLv2 and zlib |
---|
| 14 | URL: http://www.x.org/ |
---|
| 15 | # git snapshot. To recreate, run |
---|
| 16 | # % ./make-snapshot.sh %{gitrev} |
---|
| 17 | Source0: %{tarball}-%{gitdate}.tar.bz2 |
---|
| 18 | Source1: make-snapshot.sh |
---|
| 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 20 | |
---|
| 21 | BuildRequires: autoconf automake libtool pkgconfig |
---|
| 22 | BuildRequires: libpciaccess-devel |
---|
| 23 | BuildRequires: xorg-x11-server-sdk >= 1.3.0.0 |
---|
| 24 | Requires: xorg-x11-server-Xorg |
---|
| 25 | |
---|
| 26 | Patch0: x2300.patch |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | X.Org X11 video driver for ATI R500 (AVIVO) cards and newer. |
---|
| 30 | |
---|
| 31 | %prep |
---|
| 32 | %setup -q -n %{tarball}-%{gitdate} |
---|
| 33 | %patch0 -p1 -b .x2300 |
---|
| 34 | |
---|
| 35 | %build |
---|
| 36 | autoreconf -v --install |
---|
| 37 | # this is just paranoia. |
---|
| 38 | %configure --disable-pciaccess |
---|
| 39 | make %{?_smp_mflags} |
---|
| 40 | |
---|
| 41 | %install |
---|
| 42 | rm -rf $RPM_BUILD_ROOT |
---|
| 43 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 44 | rm -f $RPM_BUILD_ROOT/%{driverdir}/*.la |
---|
| 45 | |
---|
| 46 | %clean |
---|
| 47 | rm -rf $RPM_BUILD_ROOT |
---|
| 48 | |
---|
| 49 | %files |
---|
| 50 | %defattr(-,root,root,-) |
---|
| 51 | %doc COPYING STATUS |
---|
| 52 | %{_bindir}/avivotool |
---|
| 53 | %{driverdir}/avivo_drv.so |
---|
| 54 | |
---|
| 55 | %changelog |
---|
| 56 | * Sat May 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.1-1 |
---|
| 57 | - initial build for Vine Linux |
---|
| 58 | |
---|
| 59 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.0.1-7 |
---|
| 60 | - Autorebuild for GCC 4.3 |
---|
| 61 | |
---|
| 62 | * Thu Oct 4 2007 Kristian Høgsberg <krh@redhat.com> - 0.0.1-6 |
---|
| 63 | - Add patch to add X2300 PCI IDs. |
---|
| 64 | |
---|
| 65 | * Tue Sep 18 2007 Adam Jackson <ajax@redhat.com> 0.0.1-4 |
---|
| 66 | - Package review feedback (#293801) |
---|
| 67 | |
---|
| 68 | * Mon Sep 17 2007 Adam Jackson <ajax@redhat.com> 0.0.1-3 |
---|
| 69 | - Post-doc-drop git build. |
---|
| 70 | |
---|
| 71 | * Wed Jul 25 2007 Adam Jackson <ajax@redhat.com> 0.0.1-2 |
---|
| 72 | - Updated git build. |
---|
| 73 | |
---|
| 74 | * Thu Jun 14 2007 Adam Jackson <ajax@redhat.com> 0.0.1-1 |
---|
| 75 | - Initial revision. |
---|