libvdpau-vl.spec 5.3 KB

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