add packaging files accepted/2.0alpha/20121130.182406 submit/2.0alpha/20121130.011630
authorZhao Halley <halley.zhao@intel.com>
Tue, 14 Aug 2012 01:34:25 +0000 (09:34 +0800)
committerZhao Halley <halley.zhao@intel.com>
Fri, 30 Nov 2012 01:09:18 +0000 (09:09 +0800)
packaging/vaapi-intel-driver.changes [new file with mode: 0644]
packaging/vaapi-intel-driver.manifest [new file with mode: 0644]
packaging/vaapi-intel-driver.spec [new file with mode: 0644]

diff --git a/packaging/vaapi-intel-driver.changes b/packaging/vaapi-intel-driver.changes
new file mode 100644 (file)
index 0000000..35e317d
--- /dev/null
@@ -0,0 +1,3 @@
+* Fri Aug 14 2012 Halley Zhao <halley.zhao@intel.com> vaapi-intel-driver-1.0.16.01.26735ff
+- init vaapi-intel-driver from upstream staging branch, clean spec/manifest file
+
diff --git a/packaging/vaapi-intel-driver.manifest b/packaging/vaapi-intel-driver.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/vaapi-intel-driver.spec b/packaging/vaapi-intel-driver.spec
new file mode 100644 (file)
index 0000000..5901a88
--- /dev/null
@@ -0,0 +1,51 @@
+%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
+