libvdpau-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: libvdpau
  3. Version: 0.6
  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. autoreconf -vif
  64. %build
  65. %configure --disable-static
  66. %{__make} %{?_smp_mflags}
  67. %install
  68. %{__rm} -rf $RPM_BUILD_ROOT
  69. %{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  70. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  71. %clean
  72. rm -rf $RPM_BUILD_ROOT
  73. %post -p /sbin/ldconfig
  74. %postun -p /sbin/ldconfig
  75. %files
  76. %defattr(-,root,root,-)
  77. %doc AUTHORS COPYING
  78. %{_sysconfdir}/vdpau_wrapper.cfg
  79. %{_libdir}/*.so.*
  80. %{_libdir}/vdpau/libvdpau_trace.so.*
  81. %files devel
  82. %defattr(-,root,root,-)
  83. %config %{_includedir}/vdpau/
  84. %{_libdir}/libvdpau.so
  85. %{_libdir}/vdpau/libvdpau_trace.so
  86. %{_libdir}/pkgconfig/vdpau.pc
  87. %if %{build_compat32}
  88. %files -n compat32-%{name}
  89. %defattr(-,root,root,-)
  90. %{_libdir}/*.so.*
  91. %{_libdir}/vdpau/*.so.*
  92. %files -n compat32-%{name}-devel
  93. %defattr(-,root,root,-)
  94. %{_libdir}/libvdpau.so
  95. %{_libdir}/vdpau/libvdpau_trace.so
  96. %endif
  97. %changelog
  98. * Sun May 26 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6-1
  99. - update to 0.6
  100. * Mon Oct 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5-1
  101. - new upstream release
  102. * Sat Jan 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.1-1
  103. - new upstream release
  104. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4-2
  105. - rebuild with rpm-4.8.1 for pkg-config file
  106. * Wed Feb 03 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1
  107. - new upstream release
  108. - add compat32 package
  109. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2-1
  110. - initial build for Vine Linux based of fedora development
  111. - add japanese description and summary
  112. * Thu Sep 17 2009 kwizart < kwizart at gmail.com > - 0.2-1
  113. - Update to 0.2
  114. - Disable ExclusiveArch
  115. * Mon Sep 7 2009 kwizart < kwizart at gmail.com > - 0.1-0.6.20090904git
  116. - Update to gitdate 20090904git
  117. * Wed Sep 2 2009 kwizart < kwizart at gmail.com > - 0.1-0.5git20090902
  118. - Update to gitdate 20090902 with merged patches
  119. * Mon Jun 15 2009 kwizart < kwizart at gmail.com > - 0.1-0.3git20090318
  120. - Add missing -ldl at link time
  121. * Fri Mar 22 2009 kwizart < kwizart at gmail.com > - 0.1-0.2git20090318
  122. - Backport fix thread_2
  123. * Fri Mar 6 2009 kwizart < kwizart at gmail.com > - 0.1-0.1git20090318
  124. - Initial spec file