libva-vl.spec 2.7 KB

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