1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | Name: libvdpau |
---|
4 | Version: 0.4.1 |
---|
5 | Release: 1%{?_dist_release} |
---|
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 |
---|
106 | %{_libdir}/*.so.* |
---|
107 | %{_libdir}/vdpau/libvdpau_trace.so.* |
---|
108 | |
---|
109 | %files devel |
---|
110 | %defattr(-,root,root,-) |
---|
111 | %{_includedir}/vdpau/ |
---|
112 | %{_libdir}/libvdpau.so |
---|
113 | %{_libdir}/vdpau/libvdpau_trace.so |
---|
114 | %{_libdir}/pkgconfig/vdpau.pc |
---|
115 | |
---|
116 | %if %{build_compat32} |
---|
117 | %files -n compat32-%{name} |
---|
118 | %defattr(-,root,root,-) |
---|
119 | %{_libdir}/*.so.* |
---|
120 | %{_libdir}/vdpau/*.so.* |
---|
121 | |
---|
122 | %files -n compat32-%{name}-devel |
---|
123 | %defattr(-,root,root,-) |
---|
124 | %{_libdir}/libvdpau.so |
---|
125 | %{_libdir}/vdpau/libvdpau_trace.so |
---|
126 | %{_libdir}/pkgconfig/vdpau.pc |
---|
127 | %endif |
---|
128 | |
---|
129 | |
---|
130 | %changelog |
---|
131 | * Sat Jan 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.1-1 |
---|
132 | - new upstream release |
---|
133 | |
---|
134 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4-2 |
---|
135 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
136 | |
---|
137 | * Wed Feb 03 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1 |
---|
138 | - new upstream release |
---|
139 | - add compat32 package |
---|
140 | |
---|
141 | * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2-1 |
---|
142 | - initial build for Vine Linux based of fedora development |
---|
143 | - add japanese description and summary |
---|
144 | |
---|
145 | * Thu Sep 17 2009 kwizart < kwizart at gmail.com > - 0.2-1 |
---|
146 | - Update to 0.2 |
---|
147 | - Disable ExclusiveArch |
---|
148 | |
---|
149 | * Mon Sep 7 2009 kwizart < kwizart at gmail.com > - 0.1-0.6.20090904git |
---|
150 | - Update to gitdate 20090904git |
---|
151 | |
---|
152 | * Wed Sep 2 2009 kwizart < kwizart at gmail.com > - 0.1-0.5git20090902 |
---|
153 | - Update to gitdate 20090902 with merged patches |
---|
154 | |
---|
155 | * Mon Jun 15 2009 kwizart < kwizart at gmail.com > - 0.1-0.3git20090318 |
---|
156 | - Add missing -ldl at link time |
---|
157 | |
---|
158 | * Fri Mar 22 2009 kwizart < kwizart at gmail.com > - 0.1-0.2git20090318 |
---|
159 | - Backport fix thread_2 |
---|
160 | |
---|
161 | * Fri Mar 6 2009 kwizart < kwizart at gmail.com > - 0.1-0.1git20090318 |
---|
162 | - Initial spec file |
---|
163 | |
---|