--- /dev/null
+%define libversion 1.0.16
+
+Name: vaapi-intel-driver
+Version: 1.0.16.01.26735ff
+Release: 0
+License: MIT and EPL-1.0
+Source: %{name}-%{version}.tar.bz2
+Source1001: packaging/vaapi-intel-driver.manifest
+Group: Development/Libraries
+Summary: Intel vaapi video driver for GEN gfx
+URL: http://freedesktop.org/wiki/Software/vaapi
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+BuildRequires: pkgconfig(libdrm) >= 2.4.23
+BuildRequires: pkgconfig(libdrm_intel)
+BuildRequires: pkgconfig(libva) >= 0.34.0
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(libva-x11)
+BuildRequires: libtool
+# BuildRequires: mesa-libEGL-devel
+
+
+%description
+vaapi backend driver for Intel Gen gfx, it provies the VAAPI video acceleration
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+
+unset LD_AS_NEEDED
+%autogen
+make
+
+%install
+%make_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%manifest vaapi-intel-driver.manifest
+%defattr(-,root,root,-)
+%{_libdir}/dri/i965_drv_video.so
+