libva-vl.spec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Name: libva
  2. Version: 1.0.1
  3. Release: 1%{?_dist_release}
  4. Summary: Video Acceleration (VA) API for Linux
  5. Group: System Environment/Libraries
  6. License: distributable
  7. Source0: %{name}-%{version}.tar.bz2
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  9. BuildRequires: xorg-x11-server-sdk
  10. BuildRequires: mesa-libGL-devel
  11. BuildRequires: libX11-devel
  12. BuildRequires: libXext-devel
  13. BuildRequires: libXfixes-devel
  14. %description
  15. The libva library implements the Video Acceleration (VA) API for Linux.
  16. The library loads a hardware dependendent driver.
  17. %package devel
  18. Summary: Development tools for programs which will use %{name}
  19. Group: Development/Libraries
  20. Requires: %{name} = %{version}-%{release}
  21. %description devel
  22. This package contains the development files for %{name}.
  23. %package tools
  24. Summary: Sample tools for %{name}
  25. Requires: %{name} = %{version}-%{release}
  26. %description tools
  27. This package contains sample tools for %{name}.
  28. %prep
  29. %setup -q
  30. %build
  31. ./autogen.sh
  32. %configure --enable-i965-driver --enable-dummy-driver
  33. make %{?_smp_mflags}
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make install DESTDIR=$RPM_BUILD_ROOT
  37. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la \
  38. $RPM_BUILD_ROOT%{_libdir}/dri/*.la
  39. rm -f $RPM_BUILD_ROOT%{_bindir}/test_*
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %post -p /sbin/ldconfig
  43. %postun -p /sbin/ldconfig
  44. %files
  45. %defattr(-,root,root,-)
  46. %doc COPYING
  47. %{_bindir}/vainfo
  48. %{_libdir}/lib*.so.*
  49. %{_libdir}/dri/*.so
  50. %files devel
  51. %defattr(-,root,root,-)
  52. %{_includedir}/va/*.h
  53. %{_libdir}/lib*.so
  54. %{_libdir}/pkgconfig/*
  55. %files tools
  56. %defattr(-,root,root,-)
  57. %doc COPYING
  58. %{_bindir}/*
  59. %exclude %{_bindir}/vainfo
  60. %changelog
  61. * Wed Feb 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
  62. - update to 1.0.1
  63. * Thu Jan 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.29-4
  64. - update to sds8
  65. * Sun Jan 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.29-3
  66. - add 302_vdpau_vc1.patch from sds
  67. * Fri Jan 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.29-2
  68. - add splitted desktop's patches
  69. * Thu Jan 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.29-1
  70. - initial build for Vine Linux