1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | Name: libvdpau |
---|
4 | Version: 1.1.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.bz2 |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
14 | |
---|
15 | BuildRequires: libX11-devel |
---|
16 | BuildRequires: texlive, graphviz, doxygen |
---|
17 | |
---|
18 | Packager: kazutaka, shaolin |
---|
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 |
---|
82 | autoreconf -vif |
---|
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 {} ';' |
---|
93 | %{__rm} -rf %{buildroot}%{_docdir} |
---|
94 | mv doc/html-out html |
---|
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 |
---|
109 | %{_sysconfdir}/vdpau_wrapper.cfg |
---|
110 | %{_libdir}/*.so.* |
---|
111 | %dir %{_libdir}/vdpau |
---|
112 | %{_libdir}/vdpau/libvdpau_trace.so.* |
---|
113 | |
---|
114 | %files devel |
---|
115 | %defattr(-,root,root,-) |
---|
116 | %doc html |
---|
117 | %config %{_includedir}/vdpau/ |
---|
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 |
---|
136 | * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1 |
---|
137 | - new upstream release |
---|
138 | |
---|
139 | * Wed Jul 09 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.8-1 |
---|
140 | - new upstream release |
---|
141 | |
---|
142 | * Fri Oct 18 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.7-1 |
---|
143 | - new upstream release |
---|
144 | |
---|
145 | * Sun May 26 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6-1 |
---|
146 | - update to 0.6 |
---|
147 | |
---|
148 | * Mon Oct 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5-1 |
---|
149 | - new upstream release |
---|
150 | |
---|
151 | * Sat Jan 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.1-1 |
---|
152 | - new upstream release |
---|
153 | |
---|
154 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4-2 |
---|
155 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
156 | |
---|
157 | * Wed Feb 03 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1 |
---|
158 | - new upstream release |
---|
159 | - add compat32 package |
---|
160 | |
---|
161 | * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2-1 |
---|
162 | - initial build for Vine Linux based of fedora development |
---|
163 | - add japanese description and summary |
---|
164 | |
---|
165 | * Thu Sep 17 2009 kwizart < kwizart at gmail.com > - 0.2-1 |
---|
166 | - Update to 0.2 |
---|
167 | - Disable ExclusiveArch |
---|
168 | |
---|
169 | * Mon Sep 7 2009 kwizart < kwizart at gmail.com > - 0.1-0.6.20090904git |
---|
170 | - Update to gitdate 20090904git |
---|
171 | |
---|
172 | * Wed Sep 2 2009 kwizart < kwizart at gmail.com > - 0.1-0.5git20090902 |
---|
173 | - Update to gitdate 20090902 with merged patches |
---|
174 | |
---|
175 | * Mon Jun 15 2009 kwizart < kwizart at gmail.com > - 0.1-0.3git20090318 |
---|
176 | - Add missing -ldl at link time |
---|
177 | |
---|
178 | * Sun Mar 22 2009 kwizart < kwizart at gmail.com > - 0.1-0.2git20090318 |
---|
179 | - Backport fix thread_2 |
---|
180 | |
---|
181 | * Fri Mar 6 2009 kwizart < kwizart at gmail.com > - 0.1-0.1git20090318 |
---|
182 | - Initial spec file |
---|
183 | |
---|