summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRen Zhaohan <zhaohan.ren@intel.com>2010-10-21 17:04:30 +0800
committerRen Zhaohan <zhaohan.ren@intel.com>2010-10-21 17:04:30 +0800
commita09667fc5ed4e7555b45304682e51c5c28e813ea (patch)
tree9eaf033c53acb30793496887083d3b9a0eb82100
parent825b15b3ddd74e090a87a4f9cfe2bda499db3a4f (diff)
Update libva.spec, added missing .so, .h and binary executive files.20101020_5.3.0.0027
-rw-r--r--libva.spec46
1 files changed, 45 insertions, 1 deletions
diff --git a/libva.spec b/libva.spec
index 9a40a28..ea7a33f 100644
--- a/libva.spec
+++ b/libva.spec
@@ -1,5 +1,5 @@
#%define moduledir %(pkg-config xorg-server --variable=moduledir)
-%define driverdir %{_libdir}/dri
+%define driverdir %{_libdir}/
%define reldate 04282009
@@ -48,6 +48,33 @@ rm -rf $RPM_BUILD_ROOT
%make_install
mkdir -p $RPM_BUILD_ROOT%{driverdir}
install -m 755 ./dummy_drv_video/.libs/dummy_drv_video.so $RPM_BUILD_ROOT%{driverdir}/dummy_drv_video.so
+install -m 755 ./va/.libs/libva.so.1 $RPM_BUILD_ROOT%{driverdir}/libva.so.1
+install -m 755 ./va/.libs/libva.so.1.0.4 $RPM_BUILD_ROOT%{driverdir}/libva.so.1.0.4
+install -m 755 ./va/.libs/libva-tpi.so.1 $RPM_BUILD_ROOT%{driverdir}/libva-tpi.so.1
+install -m 755 ./va/.libs/libva-tpi.so.1.0.4 $RPM_BUILD_ROOT%{driverdir}/libva-tpi.so.1.0.4
+install -m 755 ./va/.libs/libva-x11.so.1 $RPM_BUILD_ROOT%{driverdir}/libva-x11.so.1
+install -m 755 ./va/.libs/libva-x11.so.1.0.4 $RPM_BUILD_ROOT%{driverdir}/libva-x11.so.1.0.4
+install -m 755 ./va/.libs/libva-glx.so.1 $RPM_BUILD_ROOT%{driverdir}/libva-glx.so.1
+install -m 755 ./va/.libs/libva-glx.so.1.0.4 $RPM_BUILD_ROOT%{driverdir}/libva-glx.so.1.0.4
+
+install -m 555 ./test/vainfo $RPM_BUILD_ROOT%{_bindir}/vainfo
+install -m 555 ./test/basic/test_* $RPM_BUILD_ROOT%{_bindir}/
+install -m 555 ./test/decode/mpeg2vldemo $RPM_BUILD_ROOT%{_bindir}/mpeg4vldemo
+install -m 555 ./test/encode/h264encode $RPM_BUILD_ROOT%{_bindir}/h264encode
+install -m 555 ./test/putsurface/putsurface $RPM_BUILD_ROOT%{_bindir}/putsurface
+
+install -m 666 ./va/va_tpi.h $RPM_BUILD_ROOT%{_includedir}/va/va_tpi.h
+install -m 666 ./va/va_x11.h $RPM_BUILD_ROOT%{_includedir}/va/va_x11.h
+install -m 666 ./va/va_version.h $RPM_BUILD_ROOT%{_includedir}/va/va_version.h
+install -m 666 ./va/va_backend.h $RPM_BUILD_ROOT%{_includedir}/va/va_backend.h
+install -m 666 ./va/x11/va_dri2.h $RPM_BUILD_ROOT%{_includedir}/va/x11/va_dri2.h
+install -m 666 ./va/va_dummy.h $RPM_BUILD_ROOT%{_includedir}/va/va_dummy.h
+install -m 666 ./va/va_backend_tpi.h $RPM_BUILD_ROOT%{_includedir}/va/va_backend_tpi.h
+install -m 666 ./va/va.h $RPM_BUILD_ROOT%{_includedir}/va/va.h
+install -m 666 ./va/x11/va_dricommon.h $RPM_BUILD_ROOT%{_includedir}/va/va_dricommon.h
+install -m 666 ./va/x11/va_dri.h $RPM_BUILD_ROOT%{_includedir}/va/va_dri.h
+install -m 666 ./va/glx/va_glx.h $RPM_BUILD_ROOT%{_includedir}/va/va_glx.h
+install -m 666 ./va/glx/va_backend_glx.h $RPM_BUILD_ROOT%{_includedir}/va/va_backend_glx.h
%clean
rm -rf $RPM_BUILD_ROOT
@@ -63,13 +90,29 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libva-tpi.so.1.0.4
%{_libdir}/libva-x11.so.1
%{_libdir}/libva-x11.so.1.0.4
+%{_libdir}/libva-glx.so.1
+%{_libdir}/libva-glx.so.1.0.4
%{_bindir}/vainfo
%{_bindir}/test_*
%{_bindir}/h264encode
%{_bindir}/mpeg2vldemo
%{_bindir}/putsurface
+
%{driverdir}/dummy_drv_video.so
+%{_includedir}/va/va_tpi.h
+%{_includedir}/va/va_x11.h
+%{_includedir}/va/va_version.h
+%{_includedir}/va/va_backend.h
+%{_includedir}/va/x11/va_dri2.h
+%{_includedir}/va/va_dummy.h
+%{_includedir}/va/va_backend_tpi.h
+%{_includedir}/va/va.h
+%{_includedir}/va/va_dricommon.h
+%{_includedir}/va/va_dri.h
+%{_includedir}/va/va_glx.h
+%{_includedir}/va/va_backend_glx.h
+
%files devel
%defattr(-,root,root,-)
%dir %{_includedir}/va
@@ -77,6 +120,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libva.so
%{_libdir}/libva-tpi.so
%{_libdir}/libva-x11.so
+%{_libdir}/libva-glx.so
%{_libdir}/pkgconfig/libva.pc
%{_libdir}/pkgconfig/libva-x11.pc