libvdpau-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: libvdpau
  3. Version: 0.4.1
  4. Release: 1%{?_dist_release}
  5. Summary: Wrapper library for the Video Decode and Presentation API for unix
  6. Summary(ja): VDPAU (Video Decode and Presentation API for unix) 用のラッパーライブラリ
  7. Group: System Environment/Libraries
  8. License: MIT
  9. URL: http://freedesktop.org/wiki/Software/VDPAU
  10. Source0: http://people.freedesktop.org/~aplattner/vdpau/libvdpau-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  12. BuildRequires: libX11-devel
  13. Packager: kazutaka
  14. %description
  15. VDPAU is the Video Decode and Presentation API for UNIX.
  16. It provides an interface to video decode acceleration and presentation
  17. hardware present in modern GPUs.
  18. %description -l ja
  19. VDPAU は Video Decode and Presentation API for UNIX の略で、
  20. GPU が提供するハードウェアによる動画の再生支援機能を利用する
  21. ためのインターフェース (API) を提供します。
  22. %package devel
  23. Summary: Development files for %{name}
  24. Summary(ja): %{name} の開発用ファイル
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: libX11-devel
  28. Requires: pkgconfig
  29. %description devel
  30. The %{name}-devel package contains libraries and header files for
  31. developing applications that use %{name}.
  32. %description devel -l ja
  33. %{name}-devel パッケージは、%{name} を使用するアプリケーションの
  34. 開発に必要なライブラリやヘッダファイルを含んでいます。
  35. # compat32
  36. %package -n compat32-%{name}
  37. Summary: Wrapper library for the Video Decode and Presentation API for unix
  38. Summary(ja): VDPAU (Video Decode and Presentation API for unix) 用のラッパーライブラリ
  39. Group: System Environment/Libraries
  40. Requires: %{name} = %{version}-%{release}
  41. %description -n compat32-%{name}
  42. VDPAU is the Video Decode and Presentation API for UNIX.
  43. It provides an interface to video decode acceleration and presentation
  44. hardware present in modern GPUs.
  45. %description -l ja -n compat32-%{name}
  46. VDPAU は Video Decode and Presentation API for UNIX の略で、
  47. GPU が提供するハードウェアによる動画の再生支援機能を利用する
  48. ためのインターフェース (API) を提供します。
  49. %package -n compat32-%{name}-devel
  50. Summary: Development files for compat32-%{name}
  51. Summary(ja): compat32-%{name} の開発用ファイル
  52. Group: Development/Libraries
  53. Requires: compat32-%{name} = %{version}-%{release}
  54. Requires: compat32-%{name}-devel = %{version}-%{release}
  55. %description -n compat32-%{name}-devel
  56. The %{name}-devel package contains libraries and header files for
  57. developing applications that use %{name}.
  58. %description -n compat32-%{name}-devel -l ja
  59. %{name}-devel パッケージは、%{name} を使用するアプリケーションの
  60. 開発に必要なライブラリやヘッダファイルを含んでいます。
  61. %prep
  62. %setup -q
  63. %build
  64. %configure --disable-static
  65. %{__make} %{?_smp_mflags}
  66. %install
  67. %{__rm} -rf $RPM_BUILD_ROOT
  68. %{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  69. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  70. %clean
  71. rm -rf $RPM_BUILD_ROOT
  72. %post -p /sbin/ldconfig
  73. %postun -p /sbin/ldconfig
  74. %files
  75. %defattr(-,root,root,-)
  76. %doc AUTHORS COPYING
  77. %{_libdir}/*.so.*
  78. %{_libdir}/vdpau/libvdpau_trace.so.*
  79. %files devel
  80. %defattr(-,root,root,-)
  81. %{_includedir}/vdpau/
  82. %{_libdir}/libvdpau.so
  83. %{_libdir}/vdpau/libvdpau_trace.so
  84. %{_libdir}/pkgconfig/vdpau.pc
  85. %if %{build_compat32}
  86. %files -n compat32-%{name}
  87. %defattr(-,root,root,-)
  88. %{_libdir}/*.so.*
  89. %{_libdir}/vdpau/*.so.*
  90. %files -n compat32-%{name}-devel
  91. %defattr(-,root,root,-)
  92. %{_libdir}/libvdpau.so
  93. %{_libdir}/vdpau/libvdpau_trace.so
  94. %{_libdir}/pkgconfig/vdpau.pc
  95. %endif
  96. %changelog
  97. * Sat Jan 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.1-1
  98. - new upstream release
  99. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4-2
  100. - rebuild with rpm-4.8.1 for pkg-config file
  101. * Wed Feb 03 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1
  102. - new upstream release
  103. - add compat32 package
  104. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2-1
  105. - initial build for Vine Linux based of fedora development
  106. - add japanese description and summary
  107. * Thu Sep 17 2009 kwizart < kwizart at gmail.com > - 0.2-1
  108. - Update to 0.2
  109. - Disable ExclusiveArch
  110. * Mon Sep 7 2009 kwizart < kwizart at gmail.com > - 0.1-0.6.20090904git
  111. - Update to gitdate 20090904git
  112. * Wed Sep 2 2009 kwizart < kwizart at gmail.com > - 0.1-0.5git20090902
  113. - Update to gitdate 20090902 with merged patches
  114. * Mon Jun 15 2009 kwizart < kwizart at gmail.com > - 0.1-0.3git20090318
  115. - Add missing -ldl at link time
  116. * Fri Mar 22 2009 kwizart < kwizart at gmail.com > - 0.1-0.2git20090318
  117. - Backport fix thread_2
  118. * Fri Mar 6 2009 kwizart < kwizart at gmail.com > - 0.1-0.1git20090318
  119. - Initial spec file