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