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