libvdpau-vl.spec 5.5 KB

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