summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authortroyev <troyvelius@gmail.com>2019-05-23 12:26:59 +0000
committerXinfengZhang <carl.zhang@intel.com>2019-06-13 14:47:30 +0800
commit1b309dd3270ab44abf4d59b8c45c374bfcb19f86 (patch)
tree30336a8c89eefcfc076d838ee2c4dc6b8fb9c35b /build
parentec9536c2b1c12e43ff047ecb2ec52dea6f5b90ba (diff)
downloadlibva-1b309dd3270ab44abf4d59b8c45c374bfcb19f86.tar.gz
RPM build: removed git dependency and hard-coded paths
Diffstat (limited to 'build')
-rw-r--r--build/libva.spec12
1 files changed, 5 insertions, 7 deletions
diff --git a/build/libva.spec b/build/libva.spec
index 0a54b18..6a878d9 100644
--- a/build/libva.spec
+++ b/build/libva.spec
@@ -23,17 +23,15 @@ Intel libva
%setup
%build
-./autogen.sh
+./configure --prefix %{_prefix} --libdir %{_libdir}
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*
+%{_libdir}/*.so*
%files devel
-/usr/local/include/va/*.h
-/usr/local/lib/pkgconfig/*.pc
-/usr/local/lib/*.la
+%{_includedir}/va/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/*.la