summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Halley <halley.zhao@intel.com>2012-08-14 09:34:25 +0800
committerZhao Halley <halley.zhao@intel.com>2013-03-18 10:52:30 +0800
commitca639418a005ffcfe212530390257f5eec2b3d5f (patch)
tree49030ff064e86d905990d40a8dcfcab9c946577b
parent825c76ee544cd35cd459d86068f5301cd5319108 (diff)
downloadvaapi-intel-driver-ca639418a005ffcfe212530390257f5eec2b3d5f.tar.gz
vaapi-intel-driver-ca639418a005ffcfe212530390257f5eec2b3d5f.tar.bz2
vaapi-intel-driver-ca639418a005ffcfe212530390257f5eec2b3d5f.zip
add packaging files
-rw-r--r--packaging/vaapi-intel-driver.changes3
-rw-r--r--packaging/vaapi-intel-driver.manifest5
-rw-r--r--packaging/vaapi-intel-driver.spec51
3 files changed, 59 insertions, 0 deletions
diff --git a/packaging/vaapi-intel-driver.changes b/packaging/vaapi-intel-driver.changes
new file mode 100644
index 0000000..35e317d
--- /dev/null
+++ b/packaging/vaapi-intel-driver.changes
@@ -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
index 0000000..017d22d
--- /dev/null
+++ b/packaging/vaapi-intel-driver.manifest
@@ -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
index 0000000..5901a88
--- /dev/null
+++ b/packaging/vaapi-intel-driver.spec
@@ -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
+