libva-vl.spec 2.6 KB

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