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