wangkun | dc12095 | 2011-03-09 13:43:10 +0800 | [diff] [blame] | 1 | # |
| 2 | # Do not Edit! Generated by: |
| 3 | # spectacle version 0.16 |
| 4 | # |
| 5 | # >> macros |
| 6 | %define drimoduledir %{_libdir}/dri |
| 7 | %define fwdir /lib/firmware |
| 8 | # << macros |
Liu, Shuo | 4b5b72d | 2011-01-07 19:32:51 +0800 | [diff] [blame] | 9 | |
wangkun | dc12095 | 2011-03-09 13:43:10 +0800 | [diff] [blame] | 10 | Name: psb-video |
| 11 | Summary: mrst/mfld gfx video drivers for X11 |
| 12 | Version: 5.3.0.0035 |
| 13 | Release: 1 |
| 14 | Group: System/Libraries |
| 15 | License: Intel Proprietary |
| 16 | URL: http://freedesktop.org/wiki/Software/vaapi |
| 17 | Source0: %{name}-%{version}.tar.bz2 |
| 18 | NoSource: 0 |
| 19 | AutoReqProv: no |
| 20 | Requires: xorg-x11-server-Xorg |
| 21 | Requires(post): /sbin/ldconfig |
| 22 | Requires(postun): /sbin/ldconfig |
| 23 | BuildRequires: pkgconfig(xv) |
| 24 | BuildRequires: pkgconfig(xrandr) |
| 25 | BuildRequires: pkgconfig(xrender) |
| 26 | BuildRequires: pkgconfig(xorg-server) |
| 27 | BuildRequires: pkgconfig(libdrm) |
| 28 | BuildRequires: pkgconfig(x11) |
| 29 | BuildRequires: pkgconfig(xext) |
| 30 | BuildRequires: pkgconfig(xextproto) |
| 31 | BuildRequires: pkgconfig(xproto) |
| 32 | BuildRequires: pkgconfig(libwsbm) |
| 33 | BuildRequires: pkgconfig(libva) |
| 34 | BuildRequires: kernel-staging-drivers-headers |
| 35 | BuildRequires: libmemrar-devel |
| 36 | BuildRequires: pvr-bin-UMG pvr-bin-UMG-compatlibs |
| 37 | BuildRequires: libtool |
| 38 | Requires: pvr-bin-UMG pvr-bin-UMG-compatlibs |
Liu, Shuo | 4b5b72d | 2011-01-07 19:32:51 +0800 | [diff] [blame] | 39 | |
| 40 | %description |
wangkun | dc12095 | 2011-03-09 13:43:10 +0800 | [diff] [blame] | 41 | mrst/mfld video x11 drivers |
| 42 | |
Liu, Shuo | 4b5b72d | 2011-01-07 19:32:51 +0800 | [diff] [blame] | 43 | |
| 44 | %prep |
wangkun | dc12095 | 2011-03-09 13:43:10 +0800 | [diff] [blame] | 45 | %setup -q |
| 46 | |
| 47 | # >> setup |
| 48 | # << setup |
Liu, Shuo | 4b5b72d | 2011-01-07 19:32:51 +0800 | [diff] [blame] | 49 | |
| 50 | %build |
wangkun | dc12095 | 2011-03-09 13:43:10 +0800 | [diff] [blame] | 51 | # >> build pre |
| 52 | unset LD_AS_NEEDED |
| 53 | # << build pre |
Liu, Shuo | 4b5b72d | 2011-01-07 19:32:51 +0800 | [diff] [blame] | 54 | |
wangkun | dc12095 | 2011-03-09 13:43:10 +0800 | [diff] [blame] | 55 | ./autogen.sh |
| 56 | make %{?jobs:-j%jobs} |
| 57 | |
| 58 | # >> build post |
| 59 | # << build post |
Liu, Shuo | 4b5b72d | 2011-01-07 19:32:51 +0800 | [diff] [blame] | 60 | %install |
wangkun | dc12095 | 2011-03-09 13:43:10 +0800 | [diff] [blame] | 61 | rm -rf %{buildroot} |
| 62 | # >> install pre |
| 63 | # << install pre |
| 64 | %make_install |
Liu, Shuo | 4b5b72d | 2011-01-07 19:32:51 +0800 | [diff] [blame] | 65 | |
wangkun | dc12095 | 2011-03-09 13:43:10 +0800 | [diff] [blame] | 66 | # >> install post |
| 67 | # << install post |
Liu, Shuo | 4b5b72d | 2011-01-07 19:32:51 +0800 | [diff] [blame] | 68 | |
wangkun | dc12095 | 2011-03-09 13:43:10 +0800 | [diff] [blame] | 69 | |
| 70 | |
| 71 | %post -p /sbin/ldconfig |
| 72 | |
| 73 | %postun -p /sbin/ldconfig |
| 74 | |
| 75 | |
| 76 | |
Liu, Shuo | 4b5b72d | 2011-01-07 19:32:51 +0800 | [diff] [blame] | 77 | |
| 78 | %files |
| 79 | %defattr(-,root,root,-) |
wangkun | dc12095 | 2011-03-09 13:43:10 +0800 | [diff] [blame] | 80 | # >> files |
| 81 | %{drimoduledir}/pvr_drv_video.so |
| 82 | %{fwdir}/*.bin |
| 83 | # << files |