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