libva-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. Name: libva
  2. Version: 1.0.12
  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. BuildRequires: libtool, automake, autoconf
  15. %description
  16. The libva library implements the Video Acceleration (VA) API for Linux.
  17. The library loads a hardware dependendent driver.
  18. %package devel
  19. Summary: Development tools for programs which will use %{name}
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. %description devel
  23. This package contains the development files for %{name}.
  24. %package tools
  25. Summary: Sample tools for %{name}
  26. Requires: %{name} = %{version}-%{release}
  27. %description tools
  28. This package contains sample tools for %{name}.
  29. %prep
  30. %setup -q
  31. %build
  32. ./autogen.sh
  33. %configure \
  34. --enable-glx \
  35. --enable-i965-driver \
  36. --enable-dummy-driver --enable-dummy-backend
  37. make %{?_smp_mflags}
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. make install DESTDIR=$RPM_BUILD_ROOT
  41. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la \
  42. $RPM_BUILD_ROOT%{_libdir}/dri/*.la
  43. rm -f $RPM_BUILD_ROOT%{_bindir}/test_*
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %files
  49. %defattr(-,root,root,-)
  50. %doc COPYING
  51. %{_bindir}/vainfo
  52. %{_libdir}/lib*.so.*
  53. %{_libdir}/dri/*.so
  54. %files devel
  55. %defattr(-,root,root,-)
  56. %{_includedir}/va/*.h
  57. %{_libdir}/lib*.so
  58. %{_libdir}/pkgconfig/*
  59. %files tools
  60. %defattr(-,root,root,-)
  61. %doc COPYING
  62. %{_bindir}/*
  63. %exclude %{_bindir}/vainfo
  64. %changelog
  65. * Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-1
  66. - new upstream release
  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