summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authortroyev <troyvelius@gmail.com>2019-05-22 19:18:53 +0000
committerXinfengZhang <carl.zhang@intel.com>2019-06-13 14:47:30 +0800
commitec9536c2b1c12e43ff047ecb2ec52dea6f5b90ba (patch)
tree3aaa9532492154c755ad7123e770d9c96e58a3d3 /build
parentf2ab2d5565e5909fb3dcd4f0e93fb657e4902a7e (diff)
downloadlibva-ec9536c2b1c12e43ff047ecb2ec52dea6f5b90ba.tar.gz
Added 'make rpm' target
Diffstat (limited to 'build')
-rw-r--r--build/libva.spec39
1 files changed, 39 insertions, 0 deletions
diff --git a/build/libva.spec b/build/libva.spec
new file mode 100644
index 0000000..0a54b18
--- /dev/null
+++ b/build/libva.spec
@@ -0,0 +1,39 @@
+Name: libva
+Version: %{_version}
+Release: el7
+Summary: Intel libva
+License: MIT
+Source0: %{_sourcefile}
+
+%package devel
+Group: Development/Libraries
+Summary: Development files for libva
+
+%description devel
+Development files for libva
+
+BuildRequires: automake
+BuildRequires: autoconf
+
+%description
+Intel libva
+
+%prep
+
+%setup
+
+%build
+./autogen.sh
+make -j12
+
+%install
+make install DESTDIR=%{buildroot}
+#mkdir -p %{buildroot}/usr/bin/
+#install -m 755 hello-world.sh %{buildroot}/usr/bin/hello-world.sh
+
+%files
+/usr/local/lib/*.so*
+%files devel
+/usr/local/include/va/*.h
+/usr/local/lib/pkgconfig/*.pc
+/usr/local/lib/*.la