libvdpau-vl.spec 5.6 KB

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